Friday, March 06, 2009

Not All Web Services Accept Redirected Feeds

This blog is The Real Blogger Status, and it's published to "blogging.nitecruzr.net". The native (classic) Atom newsfeed for this blog has a URL of "blogging.nitecruzr.net/atom.xml". Since I have a FeedBurner feed for this blog, if you click on a feed link in the blog, you should get redirected to the FeedBurner feed, "feeds2.feedburner.com/Nitecruzr-Blogging".

Some services on the Internet, like the Google Sitemap wizard, won't accept a redirected feed like "feeds2.feedburner.com/Nitecruzr-Blogging". For those services, we specify the URL of the native feed, appended with the no redirect modifier, "?redirect=false" or "&redirect=false".

The non redirected (classic) Atom posts feed URL for this blog is, then, "blogging.nitecruzr.net/atom.xml?redirect=false". You can verify these feed URLs in your browser, if you wish.

Here are the standard 5 feed URLs, for the posts feed, published by this blog.
http://blogging.nitecruzr.net/atom.xml
http://blogging.nitecruzr.net/rss.xml
http://blogging.nitecruzr.net/feeds/posts/default
http://blogging.nitecruzr.net/feeds/posts/default?alt=atom
http://blogging.nitecruzr.net/feeds/posts/default?alt=rss
Here are the non redirected 5 feed URLs, for the posts feed, published by this blog.
http://blogging.nitecruzr.net/atom.xml?redirect=false
http://blogging.nitecruzr.net/rss.xml?redirect=false
http://blogging.nitecruzr.net/feeds/posts/default?redirect=false
http://blogging.nitecruzr.net/feeds/posts/default?alt=atom&redirect=false
http://blogging.nitecruzr.net/feeds/posts/default?alt=rss&redirect=false
Comments and label feeds will be similarly modified.

>> Top

3 comments:

Marf said...

Indeed, then you have the issue of only the last 25 posts showing in the feed, if I remembered the number correctly.

You can correct that by specifying an additional modifier: &max-results=100

So now your feed looks like this: blogging.nitecruzr.net/atom.xml?redirect=false&max-results=100

Some say you can go up to 500 with the max-results modifier, others say it's only reliable up to 100 for a Google Webmaster sitemap.

Never fear, however, as you can add an additional modifier: &start-index=1

So let's say you had between 200 and 300 posts total. You'd submit multiple sitemaps that would look like this:

blogging.nitecruzr.net/atom.xml?redirect=false&start-index=1&max-results=100
blogging.nitecruzr.net/atom.xml?redirect=false&start-index=101&max-results=100
blogging.nitecruzr.net/atom.xml?redirect=false&start-index=201&max-results=100

Notice the changes in the start index for each entry. I'm doing this with my blog, and I'm up to start-index=401 and they're all working great.

Each sitemap submitted this way will list 101 URLs submitted: posts 1-100 (or 201-300; whatever your start index is) and the blog's root address. Obviously the last one in your list won't be full, so it won't show 101 URLs submitted.

nrk said...

Oh thank you! Thank you! You have no idea how much this helped.

Erika said...

This site is the best. I never realized just how much I'd need to know to make a blog but anytime I need help, this site answers all my questions. Thanks!