If outputting *all* variations of the same feed is important, would it be worthwhile exploring a patch to add_theme_support( 'automatic-feed-links' )?<div><br></div><div>Something like:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div>add_theme_support( 'automatic-feed-links', array( 'rdf', 'rss', 'rss2', 'atom' ) )</div></blockquote><div><br></div><div>I wouldn't mind trying to write such a patch, and see if it files?</div>
<div><br></div><div>Chip<br><br><div class="gmail_quote">On Wed, May 4, 2011 at 8:00 AM, Doug Stewart <span dir="ltr"><<a href="mailto:zamoose@gmail.com">zamoose@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Except Atom and earlier RSS aren't output by automatic-feed-links.<br>
<div><div></div><div class="h5"><br>
On Wed, May 4, 2011 at 8:22 AM, Chip Bennett <<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>> wrote:<br>
> That's the very purpose of add_theme_support( 'automatic-feed-links' ). So,<br>
> no: those feed links should NOT be hard-coded in the document head.<br>
> Chip<br>
><br>
> On Wed, May 4, 2011 at 6:52 AM, Jason Gottschalk <<a href="mailto:jason@gottschalk.ca">jason@gottschalk.ca</a>><br>
> wrote:<br>
>><br>
>> Is the following ok to include feeds in header.php or are they required to<br>
>> be called using add_theme_support( 'automatic-feed-links' ) in<br>
>> functions.php?<br>
>> <link rel="alternate" type="text/xml" title="RSS .92" href="<?php<br>
>> bloginfo('rss_url'); ?>" /><br>
>> <link rel="alternate" type="application/atom+xml" title="Atom 0.3"<br>
>> href="<?php bloginfo('atom_url'); ?>"<br>
>> Thanks<br>
>> _______________________________________________<br>
>> theme-reviewers mailing list<br>
>> <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
>> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> theme-reviewers mailing list<br>
> <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">-Doug<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br></div>