How to add an autodiscovery feed url to your header


Post Views for Mar : 4
andy
I am the creator of CommentLuv Premium
andy
andy
You can get your own content published on this site as long as you have CommentLuv installed on your site.

Doing so means you get exposure to thousands and thousands of other CommentLuv users and your posts get sent out to the massive subscriber list.

Google loves this site and indexes it multiple times per day and posts always get lots of comments so you can be sure of some excellent exposure.

See the Write For Us page for more details

btw.. you can get this author box here


One thing that can scupper CommentLuv users is when their theme has no autodiscovery feed url entered into their sites header. They have a subscribe to feed by email box and a big ass RSS feed button on the sidebar but those are no good to a robot computer script. All it knows is that your header is bare and there’s no feed there!.

The autodiscovery code

To best ensure that your sites feed is visible to all, especially CommentLuv when it comes calling, you need to insert a bit of code to your sites header. You can tell if it’s there or not by viewing your blog in Firefox browser and looking for the rss icon in the address bar (top image). If it’s there then you have nothing to worry about, if not, just follow the instructions below

This is for adding any feed to your header if you know the url:

WordPress Blogs Default RSS feed

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

Any Blogs FeedBurner Feed

<link rel="alternate" type="application/rss+xml" title="Feedburner Feed" href="http://feeds.feedburner.com/yourfeedburnerid" />

For blogpsot blogs

<link rel="alternate" type="application/rss+xml" title="My blogspot posts Feed" href="http://mysite.blogspot.com/feeds/posts/default" />

WordPress 3.0 and up
This is for adding your default feed (the one you get automatically with your wordpress blog)

Open up your themes functions.php and add this code :

<br />
// wordpress 3.0 and up<br />
add_theme_support( 'automatic-feed-links' );<br />

(thanks to @frumph for pointing this out