Jump to content

RSS


gevans

Recommended Posts

Hey, I've just been researching rss feeds and have written the following code as a test;

 

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>Surf Club Test</title>
<description>Testing rss feed for www.uopsc.com</description>
<language>en-uk</language>
<copyright>Copyright &copy;2007 uopsc.com</copyright>
<link>http://www.uopsc.com/</link>
<author>[email protected]</author>
<pubDate>Wed, 04 Apr 2007 12:41:00 GMT</pubDate>

<image>
<url>http://www.uopsc.com/logo/logo_shore.jpg</url>
<title>Shore Logo</title>
<link>http://www.uopsc.com</link>
<width></width>
<height></height>
</image>

<item>
<title>Surf Club rss test 1</title>
<link>http://www.uopsc.com</link>
<description>Description of the first test feed</description>
<category>uopsc trips</category>
<pubDate>Wed, 04 Apr 2007 12:42:08 GMT</pubDate>
</item>

<item>
<title>Surf Club rss test 2</title>
<link>http://www.uopsc.com</link>
<description>Description of the second test feed</description>
<category>uopsc socials</category>
<pubDate>Wed, 04 Apr 2007 12:42:43 GMT</pubDate>
</item>

</channel>
</rss>

 

This works perfectly untill I subscribe to the feed using IE, after donig this it only ever shows 1 item.

Link to comment
https://forums.phpfreaks.com/topic/45544-rss/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.