Error-Free Feed-Validation Links for Feedburner-Redirected Feeds

Just a quick tip on how to create error-free links to feed validation services for feeds that are redirected through Feedburner. For example, let’s say our site’s main feed is originally located at:

http://domain.tld/feed/

If we wanted to provide our visitors with a link that would enable them to automatically validate our feed using a free service such as feedvalidator.org 1, we would create the link as follows:

<a href="http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fdomain.tld%2Ffeed">Validate our Feed</a>

..which would do the job nicely. However, if we are redirecting our feed through Feedburner, the previous link will return an error, as the feed URL now registers as the following:

http://feeds.feedburner.com/myfeedname

..depending on the Feedburner name we choose to give it (“myfeedname” in this example). Therefore, in order to link to a feed validation service, we need to write our link as follows:

<a href="http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmyfeedname">Validate our Feed</a>

Using this link, users will be able to validate (or invalidate, as the case may be) our Feedburner-redirected feed at the click of a button! Oh joy ;)

Update: As Louis points out, it is no longer necessary to link to either validation service using the Feedburner version of your feed URL. However, this was not always the case — roughly several months ago, it was necessary to link to either service using the Feedburner-redirected URL because the original feed URL would return an error. I swear I’m not lying about this! ;) Apparently, at some point along the way, both validation services mentioned in this article have resolved this issue. So feel free to link to either service using either version of your URL! Great news indeed! — Thanks, Louis, for slapping me down pointing this out! ;)

FootNotes

  • 1 Another free feed validation service is provided by w3.org. To use this service, our link would use the following URL: http://validator.w3.org/feed/check.cgi?url= http%3A%2F%2Ffeeds.feedburner.com%2Fmyfeedname