This is a discussion on RSS Parsers within the PHP Language forums, part of the PHP Programming Forums category; Folks, A quick opinion poll: I'm looking to write an RSS Aggregator. None of the PHP-based aggregators out ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Folks,
A quick opinion poll: I'm looking to write an RSS Aggregator. None of the PHP-based aggregators out there do exactly what I like, but it wouldn't be difficult at all to homebrew one. However, I don't feel like writing my own parser. I've looked at Magpie and Onyx, but haven't yet tested either. If any of you out there use an RSS parser, what do you use? |
|
|||
|
Joshua Ghiloni wrote on Friday 25 July 2003 07:48:
> Folks, > > A quick opinion poll: I'm looking to write an RSS Aggregator. None of > the PHP-based aggregators out there do exactly what I like, but it > wouldn't be difficult at all to homebrew one. However, I don't feel like > writing my own parser. I've looked at Magpie and Onyx, but haven't yet > tested either. If any of you out there use an RSS parser, what do you use? If you don't feel like working on an RSS class at all, then search for one on phpclasses.org if you haven't done already, there should be quite a few there. If you do feel like making one your way without a lot of effort, then may I recommend RSS class based on ActiveLink XML Package. If you get the package from: http://www.active-link.com/intranet/software.php http://freshmeat.net/projects/php-xml/ it will include a very simple RSS class. I haven't had much time to work on adding functionality to it, but if you are interested, please do so. Currently, it parses the RSS document (done by underlying XML and Tag classes) and has a method for returning a formatted HTML for each item. It should make it much easier that all the parsing, tags, XML tree structure, etc. are being taken care of by the underlying XML, XMLDocument, and related classes; the work that needs to be added is purely RSS-related and you can add methods, properties, etc. however you feel they should be. Disclaimer: I am the author of ActiveLink XML Package. It is implemented purely in PHP and does not use or require *any* PHP XML libraries. It is available under LGPL. -- Business Web Solutions ActiveLink, LLC www.active-link.com/intranet/ |