Getting the Safari RSS icon to appear

mgm_03

Registered
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 ?

TIA.
 

Timmargh

Wheelchair hoodlum
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="http://yourdomain.com/atom.xml" />

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


... ?
 

mgm_03

Registered
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.
 

mdnky

[Bobs/Prog/Design:~] mod%
Staff member
Mod
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.
 
Top