Here's the validator response - the second error on line 4: http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.golfhomeconnect.com%2Frss%2Frss.xml Thanks a lot. Here's the php XML generation code: $strBody="<?xml version=\"1.0\" encoding=\"US-ASCII\"?> <rss version=\"2.0\"> <channel> <title>Golf Communities & Golf Homes - GolfHomeConnect</title> <description>Discover golf course communities & golf homes at GolfHomeConnect</description> <link>http://www.golfhomeconnect.com/</link> <language>en-us</language> <copyright> Copyright 2005 by HomeConnect, LLC.</copyright>"; PHP:
Thanks, I figured out how to convert characters with htmlspecialchars () after some investigation. Is there an easy way to convert the date to rfc 822 format?
Thanks, but I'm a php idiot .... and any other coding for that matter. This is the date call <pubDate>".($row['dtAdded'])."</pubDate> How do I integrate the : strftime("%a, %d %b %Y %H:%M:%S %z") Thanks
What does that part output right now? I ask so I can determine the format of the date you are already working with, then we can convert it over to the format you need.
Thanks for the help Seriph I think this is the standard sql format straight from the db. <pubDate>2006-03-01</pubDate>
Try this... "<pubDate>".strftime("%a, %d %b %Y %H:%M:%S %z", strtotime($row['dtAdded']))."</pubDate>" PHP: