November 9, 2007

If nobody can find your RSS feed, is it still there?

Filed under: Blog Design,Web Design,WordPress — HDW @ 10:58 am

The answer is probably yes, but I’ll come back to that in a moment.

There is a lot of confusion over what exactly an RSS feed is, and how it’s made available. An RSS feed is a simple XML file. As a blogger, you don’t need to know that. They come in one of several (7?) formats. You don’t need to know that either. The benefit of RSS feeds, is that they allow people to subscribe top your content. In other words, it lets people know that you have fresh content, and brings them back to your site. That’s the point you need to know.

Back to the original question. If people can’t find your RSS feed, is it still there? WordPress and other blogging platforms create and update RSS feeds automatically. Most blog themes have the feeds linked in the header in such a way as to notify browsers and feed readers of their presence. If you were to remove those links, intentionally or by accident, your site would appear to viewers as if it had no RSS feeds. The RSS feeds however, are still there. So if your RSS feeds aren’t visible to site visitors, check the header to see if they’re linked properly. It should look something like this:

<link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”(your URL)/feed” />

There may be several of these, and the type and file name might vary, but that’s because most blogging platforms offer several kinds of feeds. If you’re looking at your theme files, you might see some PHP in there, so it would look like:

<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />

For a good example of an unlinked feed, look at the comment feed in WordPress blogs. It is part of the basic WordPress template, but isn’t linked to the header. So in effect, it exists, but nobody can see it. You want a comment feed on your WordPress blog? Link it to the header, and it will appear to feed readers. There may be a little variation in your WordPress installation, but the feed should be at:

<link rel=“alternate” type=“text/xml” title=“Comments” href=“(your URL)/wp-commentsrss2.php” />

Add that to your header, with your correct URL of course, and it should work.

Why would you want to remove access to your feeds? FeedBurner would be one example. By removing access to the normal feeds, and installing a FeedBurner feed, you direct all subscription traffic to FeedBurner. This allows you to track subscription statistics more carefully.

Feeds, no feeds, lots of feeds, or just one? That’s a question I’ll leave for another day. Until then though, at least you’ll know why they’re visible on your site, or why they aren’t.

3 Comments »

  1. Hi HDW!

    I have been wanting to ask you about RSS feeds for a while now.

    Are the feeds to a regular Website written in the same way as one of these feeds or another way? And how about the little sign that shows you have RSS feeds? How do you get that on your website?

    Comment by Sage's Unicorn! — November 28, 2007 @ 2:40 pm

  2. A lot of different software packages like WordPress, MovingType, etc. produce this type of file as part of their normal function. It is also possible to produce this sort of thing by hand,and I know at least a couple instances of that.

    The icon that appears on the navigation bar of your browser is put there if a feed is correctly linked to your page. Put a valid feed link in the header as I described in this post, and that icon will appear when the page is loaded. If it doesn’t appear, there is no valid feed link. That also means that browser based feed readers will have trouble finding the feed.

    If you’re talking about the icons people put on their page, then that’s either put there manually by someone, or by using supplied code from some sort of service, like FeedBurner.

    Comment by HDW — November 28, 2007 @ 2:54 pm

  3. Thank you very much!

    Comment by Sage's Unicorn! — November 28, 2007 @ 3:08 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Comments will be sent to the moderation queue.