gevans Posted April 4, 2007 Share Posted April 4, 2007 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 ©2007 uopsc.com</copyright> <link>http://www.uopsc.com/</link> <author>admin@uopsc.com</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. Quote Link to comment https://forums.phpfreaks.com/topic/45544-rss/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.