Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed on RDF and Thanks
Feb 28, 2002 @ 13:52:56

DevShed has a new article on something that I just got finished working on for my own personal enjoyment - Plugging RDF Content Into Your Web Site With PHP. There's all sorts of websites out there that provide their content in the RDF format (an RSS file, 'RDF Site Summary') for you to parse and enjoy to your heart's content. This article steps you through the process of making an RDF parser with PHP, giving you several different sites to look at and parse (Slashdot, Freshmeat, and Melonfire). They use the built-in XML parsing functions for PHP to get the info out of the remote file and parse it into something you can use. If you'd like to take a look at my tiny little RDF parser (only tested on Slashdot), check out slashdot_parser.phps. Update: this now works with Freshmeat too.

And, last, but definitely not least, many thanks to MarkL for helping keep me and you guys up to date about the patches and fixes for this bug. It's always nice when the patch itself is buggy too (heh)...thanks again MarkL

tagged:

Link:


Trending Topics: