Aug
09

I’ve noticed in some RSS that they use relative URLs, it works fine for the website but it make no sense when we talk about feeds. Imagine you link “download/somefile.zip”, from a desktop feedreader you’ll get a link like this “file:///C:/…./download/somefile.zip” while it should be linked to the website.

Two cases to avoid this problem :

  • Use always absolute URLs
  • Use always relative URLs and then rewrite them feed into absolute links
  • Tags: No Tags

    3 Responses

    • Comment by betabug
      January 29th, 2007 at 11:06 am

      When you validate a feed with relative links at http://feedvalidator.org/ the feed will validate, but only with warnings. You are right, rewriting the relative URLs for the feed would be the right solution - myself I’ve been too lazy to do that till now. For the moment I try to remember to make links with absolute URLs in my posts.

    • Comment by betabug
      January 29th, 2007 at 11:09 am

      Wow, picking up the favicon.ico for comments is *way* cool! :-)

    • Comment by Hatem
      January 29th, 2007 at 11:21 am

      Welcome aboard :) I’m fan of favicons, i find it better than avatars and doesn’t need a third party to host the icons. it’s just a plugin I installed btw

    Leave a Response

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>