Getting the Safari RSS icon to appear


Safari version 2.0

I've written a script that creates an XML news feed. Safari properly reads the xml file and displays the news need correctly.

However, there is usually an RSS icon in the browser url window when Safari finds a site that has an RSS feed. I'm not seeing it .....any suggestions ?

Have you added either of these to your HTML file's <head> section, depending on what format you're using:

<link rel="alternate" type="application/atom+xml" title="Atom" href="" />

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://yourdomain.comt/rss.xml" />

... ?
Hi ...thanks for replying.

As far as I know, there is no <head>section in an .xml file? ...unless I am misunderstanding what you're saying.
He means the main page of the website in question, the HTML file...not the XML feed file. Those links are what tell Safari's RSS feature that a newsfeed is available. Without them, no RSS icon. View the source for this page and you'll get a better idea of the what/where to put them.