On 3 Lis, 02:33, "duane.lor...@gmail.com" <duane.lor...@gmail.com>
wrote:
Quote:
For the most part. I like PHP 5's SimpleXML parser, see my post herehttp://groups.google.com/group/comp.lang.php/browse_thread/thread/cca...
>
as you can see I'm having difficulties with it getting a value from a
particular type of overstuffed tag, and I know that is possible with
SimpleXML, just don't know how yet, but if you'll be parsing straight
laced XML, SimpleXML should do the trick
>
On Nov 2, 4:48 pm, Aleksander <Aleksander.W...@gmail.comwrote:
>
Quote:
Which XML parser would be best for building an on-line RSS/Atom
reader? [AJAX interface, PHP processing]
>
Quote:
I know for starters there's PHP's DOMDocument and SimpleXML, then
there's XMLReader and PEAR's XML_Feed_Parser, and then there is also
some standalone stuff like Zend_Feed of the Zend Framework or Magpie
RSS. *So there's really a lot of solutions and some help on deciding
which one to pick would be really appreciated.
>
Quote:
Ideally, the parsing tool should be easy to use - to get going quickly
with a very simple RSS reader - but also comprehensive and logical -
so it won't turn into a disaster as my feed reader gets sophisticated
(i.e. reads and analyzes all kinds of fields/properties; downloads a
gazzilion feeds at a time, etc.)
>
>
>
Duane, thanks for your reply.
Unfortunately I need to be prepared to parse any feed in the world as
I intend to use my RSS reader rather extensively. Actually this is
the reason I'm writing it in the first place - current RSS readers
make it pretty hard to manage a large number of feed sources, since
they present them (the sources and their posts) in a purely linear
manner - with a two-level tree view being the biggest innovation in
this domain. (Yes, that means mine will be very non-linear ;)
So while SimpleXML sounds like something really nice and simple (hint
in the name ;) but I must also be able to read any RSS or Atom feed
without wasting a lot of time to make it work. Still, maybe this is a
good starting point, and later when things get complicated I shall
switch to something more sophisticated....
If anyone has any experience with more other RSS parsers, comments are
very welcome.