If outputting *all* variations of the same feed is important, would it be worthwhile exploring a patch to add_theme_support( &#39;automatic-feed-links&#39; )?<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( &#39;automatic-feed-links&#39;, array( &#39;rdf&#39;, &#39;rss&#39;, &#39;rss2&#39;, &#39;atom&#39; ) )</div></blockquote><div><br></div><div>I wouldn&#39;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">&lt;<a href="mailto:zamoose@gmail.com">zamoose@gmail.com</a>&gt;</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&#39;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 &lt;<a href="mailto:chip@chipbennett.net">chip@chipbennett.net</a>&gt; wrote:<br>
&gt; That&#39;s the very purpose of add_theme_support( &#39;automatic-feed-links&#39; ). So,<br>
&gt; no: those feed links should NOT be hard-coded in the document head.<br>
&gt; Chip<br>
&gt;<br>
&gt; On Wed, May 4, 2011 at 6:52 AM, Jason Gottschalk &lt;<a href="mailto:jason@gottschalk.ca">jason@gottschalk.ca</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Is the following ok to include feeds in header.php or are they required to<br>
&gt;&gt; be called using add_theme_support( &#39;automatic-feed-links&#39; ) in<br>
&gt;&gt; functions.php?<br>
&gt;&gt; &lt;link rel=&quot;alternate&quot; type=&quot;text/xml&quot; title=&quot;RSS .92&quot; href=&quot;&lt;?php<br>
&gt;&gt; bloginfo(&#39;rss_url&#39;); ?&gt;&quot; /&gt;<br>
&gt;&gt; &lt;link rel=&quot;alternate&quot; type=&quot;application/atom+xml&quot; title=&quot;Atom 0.3&quot;<br>
&gt;&gt; href=&quot;&lt;?php bloginfo(&#39;atom_url&#39;); ?&gt;&quot;<br>
&gt;&gt; Thanks<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; theme-reviewers mailing list<br>
&gt;&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt;&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
&gt;<br>
&gt;<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>