[Phpwm] RSS Feeds
Alastair Battrick
al at aj8.org
Fri Feb 1 15:27:20 GMT 2008
pete graham wrote:
> Does a rss feed need to be in a certain place on a site so rss readers
> (such as google reader) will find it if a users only provides the
> sites domain as the feed location?
>
> Or do I need to add markup to the index.php pages header such as this:
> <link rel="alternate" type="application/rss+xml" title="RSS 2.0"
> href="http://<?php echo $_SERVER['SERVER_NAME']?>/rss/index.php" />
I use this (in the HTML head section), I do not think there is a
standard location for a RSS file for it to be recognised automatically.
<link rel="alternate" type="application/rss+xml" title="RSS"
href="http://www.pitchcare.com/rss/articles" />
--
Alastair Battrick
http://www.aj8.org
More information about the Phpwm
mailing list