Which XML parser would be best for building an on-line RSS/Atom
reader? [AJAX interface, PHP processing]
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.
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.)
Thanks! 3 3617
For the most part. I like PHP 5's SimpleXML parser, see my post here http://groups.google.com/group/comp....ac037975c822c3
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.comwrot e:
Which XML parser would be best for building an on-line RSS/Atom
reader? [AJAX interface, PHP processing]
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.
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.)
Thanks!
On 3 Lis, 02:33, "duane.lor...@g mail.com" <duane.lor...@g mail.com>
wrote:
For the most part. I like PHP 5's SimpleXML parser, see my post herehttp://groups.google.c om/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.comwrot e:
Which XML parser would be best for building an on-line RSS/Atom
reader? [AJAX interface, PHP processing]
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.
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.)
Thanks!
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.
On Nov 3, 7:16 am, Aleksander <Aleksander.W.. .@gmail.comwrot e:
On 3 Lis, 02:33, "duane.lor...@g mail.com" <duane.lor...@g mail.com>
wrote:
For the most part. I like PHP 5's SimpleXML parser, see my post herehttp://groups.google.c om/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.comwrot e:
Which XML parser would be best for building an on-line RSS/Atom
reader? [AJAX interface, PHP processing]
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.
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.)
Thanks!
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.
Greetings,
I have had a great deal of success with Magpie.
Magpie allows a loop through urls and pick out content related
headlines.
Very nice tool magpie.
$0.02 ;)
(My 2 cents) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: maRIO5 |
last post by:
What it means parsing?
Can you give me a practical example.
--
dk
|
by: Willem Ligtenberg |
last post by:
I want to parse a very large (2.4 gig) XML file (bioinformatics ofcourse :))
But I have no clue how to do that. Most things I see read the entire xml
file at once. That isn't going to work here ofcourse.
So I would like to parse a XML file one record at a time and then be able
to store the information in another object.
How should I do that?
Thanks in advance,
|
by: Andy Dingley |
last post by:
I'm just building my first Atom feeds
(at http://gamesradar.com/rss/ps2/ should you care )
One of the requirements here is to include lots of rich media
(screenshots) with each entry. There could be a dozen in each, and
there may be a thumbnail/full-size pair too. Maybe even video clips.
Size is _not_ an issue here, as the feed is intended for transferring
content to partners who really do want it all, not just casual readers
looking...
|
by: Arthur J. O'Dwyer |
last post by:
Well, I'm trying to write that program that was requested
a few weeks back, the one that could take struct definitions
and create portable functions to read and write those
structs. Hence the 'savestruct' in the subject line.
I cannot for the life of me figure out how to parse C
declarations correctly! I've come up with an intermediate
format that I'd really like to keep, if at all possible,
which involves making a linked list (or...
|
by: banjolibrarian |
last post by:
I have been setting up RSS and Atom feeds for our library's podcasts.
The RSS feed works fine, but when I subscribe to the Atom feed (via
Bloglines), the link to the file itself defaults to blogspot.com. Any
help would be appreciated. The full contents of southlakelibrary.atom
are listed below:
<atom:feed xmlns:atom="http://www.w3.org/2005/Atom">
<atom:id>http://www.cityofsouthlake.com/library/podcasts.asp</atom:id>
| |
by: Brady Love |
last post by:
I am currently working an an app that will post and edit blogs on
blogger. Right now I have it so I can recive a list of the blogs and
the content of those blogs using Atomizer. This is my first program
where I am accessing data over the net.When I go to retrieve the list
of blogs my program acts like it is locked up/frozen for a few seconds
and then when it is done it goes back to normal. Does anyone know how I
would get rid of the...
|
by: emf |
last post by:
Dearest mail manipulating macaques and perambulating python
prestidigitators,
I have been blessed by the grace of Google and so am working full-time
on improving Mailman's web UI:
http://wiki.list.org/display/DEV/Summer+of+Code
In order to provide interfaces to archives, I believe I must perform
some intermediary manipulation; my goal is to get the information
|
by: aplonis |
last post by:
I have an XML (Atom) doc at this URL...
Atom
...which displays as HTML using any one of three XSLT
stylesheets, the principal one being at this URL...
XSLT
...with two daughter-XSLT's, both very short, and employing
|
by: chixor1 |
last post by:
I have been charged with Parsing the data from many Abstract files, and then inputing this information into a SQL Database.
The file format is rather unusual and certainly not delimited in any reasonable fashion.
I was wondering if anyone would be able to assist or provide an idea of how I may go about parsing this data for insertion.
The plan is to write a small application in VB that will allow me to run through each text file, and then...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |