I was wondering if there is a good tutorial or tutorials on how to build good RSS 2.0 and ATOM feeds?
+1
A:
Use header() to set the mime type to XML/atom/etc. Use print to form the output of your feed. Or you can use an rss class from PEAR/etc
http://www.webreference.com/authoring/languages/xml/rss/custom_feeds/
ryan
2010-07-24 17:23:59
+1
A:
Instead of writing RSS manually you can consider using pre-build classes. There are many PHP libraries (simple and complex) to deal with RSS and ATOM feeds.
http://www.phpclasses.org/package/560-PHP-XML-RSS-feed-generator-for-content-syndication-.html
Ankit Jain
2010-07-24 17:26:03