Jump to content

PHP/RSS Help


therealwesfoster

Recommended Posts

Not sure where else to post this since it's for RSS. But I'm developing the feed with PHP so I guess this forum is fine :)

 

This is giving me a correct RSS looking page, but none of the "items" are showing up. Why not?

 

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
	<channel>
		<title>site.com</title> 
		<webMaster>[email protected]</webMaster>
		<link>http://site.com/</link>
		<description>site desc.</description>

		<language>en-us</language>

		<item>
			<title>How often should I change my pants?</title>
			<pubDate>31/01/2009</pubDate>
			<link>http://site.com/qd.php?questionid=How often should I change my pants?</link>
			<guid>http://site.com/qd.php?questionid=How often should I change my pants?</guid>

			<description>My pants are starting to get big holes in them. How often should I change them?</description>
		</item>

		<item>
			<title>Do you like the poll feature?</title>
			<pubDate>31/01/2009</pubDate>
			<link>http://site.com/qd.php?questionid=Do you like the poll feature?</link>
			<guid>http://site.com/qd.php?questionid=Do you like the poll feature?</guid>

			<description>Do you think I should upload it?</description>
		</item>

	</channel>
</rss>

 

Wes

Link to comment
https://forums.phpfreaks.com/topic/143554-phprss-help/
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.