zipp Posted October 12, 2009 Share Posted October 12, 2009 I wrote a script to generate the xml in this format: <rss> <channel> <title></title> <link></link> <description></description> <pubDate></pubDate> <item> <title></title> <link></link> <description></description> <pubDate></pubDate> </item> <item> <title></title> <link></link> <description></description> <pubDate></pubDate> </item> ... </channel> </rss> There is roughly 50 items total. However, only the first 4 show up when the file is accessed in firefox, and Windows Live Mail says it is not a proper rss feed (my guess is because it is running on localhost). When you view the source of the xml file, all the items are there. Does anyone have any ideas? Link to comment https://forums.phpfreaks.com/topic/177392-solved-php-generated-xml-problems/ Share on other sites More sharing options...
ILMV Posted October 12, 2009 Share Posted October 12, 2009 Can you post the output XML code here, using the [ code ] tags. Link to comment https://forums.phpfreaks.com/topic/177392-solved-php-generated-xml-problems/#findComment-935312 Share on other sites More sharing options...
zipp Posted October 12, 2009 Author Share Posted October 12, 2009 **edit** I think I figured it out. I'm pretty sure the script was just timing out when displaying (to many items maybe). I'll limit it to something like 20 or so, just to keep it small. <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title>**</title> <link>**</link> <description>**</description> <language>en-us</language> <pubDate>2009-10-12 07:57:54</pubDate> <lastBuildDate>2009-10-12 07:57:54</lastBuildDate> <item> <title>**</title> <author>**</author> <link>**</link> <description>**</description> <pubDate>**</pubDate> </item> <item> <title>**</title> <author>**</author> <link>**1</link> <description>**</description> <pubDate>**</pubDate> </item> (...this continues for 50+ items...) </channel> </rss> title: plaintext author: plaintext link: url, plaintext (no html) description: html (ex: check out this link: <a href="http://www.somesite.com">somesite.com</a>) pubDate: 2009-10-12 07:57:54 Link to comment https://forums.phpfreaks.com/topic/177392-solved-php-generated-xml-problems/#findComment-935319 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.