Thursday, November 19, 2009

How the "rss feed" icon works in Firefox?

how does firefox know that a web site has an rss feed, so that firefox





will display the "rss feed" icon for that web site?

How the "rss feed" icon works in Firefox?
Firefox looks for a rss url on the page and displays the icon if found.
Reply:Firefox knows that a website has an RSS feed by detecting a piece of





code in the script of the site. The way this works is very similar to





how a search engine knows what the site is about (by looking at





specific tags in the %26lt;head%26gt; section of the script).











%26lt;link rel="alternate" type="application/rss+xml" title="{YOUR SITE





NAME}" href="{LINK TO YOUR RSS FILE}" /%26gt;











If you simply place the above %26lt;link%26gt; code in the %26lt;head%26gt; area of your





webpage Firefox will display the icon for your site. (Simply change





the information enclosed by { }.)


No comments:

Post a Comment