stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


XML-RSS-Parser-1.02







XML-RSS-Parser-1.02

XML-RSS-Parser-1.02 01/03/2004 07:27 PM




This is a GrokNews Entry: (what is grok?)





Similar Items

XML-RSS-Parser-1.02

Grok Headline matches for XML-RSS-Parser-1.02

Java Parser/Parser Generator 3.01


Java Parser/Parser Generator 3.01 04/22/2004 02:21 AM
A Java-based parser and parser generator package/utility.

XML-RSS-Parser-1


XML-RSS-Parser-1 12/30/2003 11:19 PM

SML-Parser-0.11


SML-Parser-0.11 05/28/2004 11:14 AM

MP3-M3U-Parser-2.01


MP3-M3U-Parser-2.01 07/26/2004 05:47 PM

MP3-M3U-Parser-2.0


MP3-M3U-Parser-2.0 07/23/2004 06:06 PM

D Parser 1.7


D Parser 1.7 11/04/2003 05:20 AM
A scannerless GLR parser.

D Parser 1.12


D Parser 1.12 09/03/2004 06:23 PM
A scannerless GLR parser.

MP3-M3U-Parser-2.1


MP3-M3U-Parser-2.1 09/14/2004 06:39 PM

CQL-Parser-0.2


CQL-Parser-0.2 09/15/2004 12:14 AM

CQL-Parser-0.8


CQL-Parser-0.8 04/07/2005 12:31 PM

XML-RSS-Parser-1.01


XML-RSS-Parser-1.01 01/02/2004 04:43 AM

XML-RSS-Parser-2.15


XML-RSS-Parser-2.15 05/03/2004 05:26 AM

D Parser 1.8


D Parser 1.8 01/03/2004 03:19 PM
A scannerless GLR parser.

Best RSS Parser Yet


Best RSS Parser Yet 01/06/2003 12:21 AM
The newest version of my RSS Parser is now available for download. I am really happy about this release. It fixed a lot of things previous versions were lacking. It now has clean error handling, optional caching, and more efficient code. Also, the function can now be called as many times as necessary on the same page. Previously, the function would break when called more than once on the same page. You can download this new version here. I will update my RSS Parser article tomorrow to reflect this update. As usual, please e-mail me any questions, comments, or suggestions you may have.

D Parser 1.10


D Parser 1.10 06/10/2004 02:54 PM
A scannerless GLR parser.

NB Parser Libraries


NB Parser Libraries 06/11/2004 09:55 AM
Project started

Parsifal XML Parser 0.8.1


Parsifal XML Parser 0.8.1 06/13/2004 03:03 PM
A minimal non-validating XML parser.

NAMD Log Parser 1.0


NAMD Log Parser 1.0 06/11/2004 03:13 AM
A utility to extract energy information from an NAMD log file.

Nessus .NBE log parser 0.9


Nessus .NBE log parser 0.9 06/10/2004 04:14 PM
A log parser for Nessus .nbe logs.

Parsifal XML Parser 0.8.2


Parsifal XML Parser 0.8.2 07/01/2004 06:52 PM
A minimal non-validating XML parser.

Mail-Box-Parser-C-3.005


Mail-Box-Parser-C-3.005 05/31/2004 05:02 PM

Nmap-Parser-0.77


Nmap-Parser-0.77 05/19/2004 11:55 PM

Tree-Parser-0.01


Tree-Parser-0.01 05/04/2004 04:43 PM

Tree-Parser-0.02


Tree-Parser-0.02 05/05/2004 05:05 PM

Tree-Parser-0.03


Tree-Parser-0.03 05/06/2004 05:47 AM

Parser benchmarks


Parser benchmarks 05/14/2004 03:25 PM

And finally I end this marathon blogging session with another one of our PeepAgg team members - Chris Schmidt.

Chris did the FOAF module for LiveJournal and is now working on getting PeepAgg into Drupal.

:-)

Here's his post....

ApacheBe nch testing of XML Parsing. So, I've been working on a project called PeopleAggregator, and we've been talking about integrating with a lot of different platforms, among them Drupal. (For the record, this is completely unrelated to the MT stuff that went on today. I may write on that later, but really, everyone else has said what I would in a million different ways.) Anyway, we were talking about RAP and how it's too bulky and slow to work for what we need.

So, we got a guy on the team - Joel De Gan, who's working on the PeoplesDNS project for us, and he offered to write us a parser. This is going to be a replacement for RAP, for those of us who can't deal with the slowness of RAP.

Now, I don't know much about RAP. And I don't know much about PHP, or parsing XML, or really anything - I pick up the bits I need to know as I go along. So I'm just kind of standing on the sidelines, but today, I got a demo of what Joel's parser can do.

LiveJournal FOAF files are typically big. Mine is no exception - over 100 friends, random contact data, etc. All in all, a 40KB document about me. I want to parse this data. So I attempt to using both RAP and Joel's parser.

To alleviate network traffic conditions, I copy the file I want locally. To simulate the action of opening a file and reading it, I did keep it on the webserver, so I will admit there may be some kind of bias in that, but I used the exact same method to open the file in both cases (fopen) so I don't think that's an issue that would cause any major difference. I also disabled all printed output.

Anyway, I used this file to check the parsers. Using ab (apache benchmarking utility - fetches a page a bunch of times and tells you how long it took). Using a 50 request check, I got averages on the two parsing utilities:

Joel De Gan's XML parser, parses data into a multileveled array as displayed at http://crschmidt.net/parse/ parse.php (source available):

Requests per second: 11.25 [#/sec] (mean)
Time per request: 88.92 [ms] (mean)
Time per request: 88.92 [ms] (mean, across all concurrent requests)

(Full Stats)

RAP, parses into RDF models. (source, + RAP. The parser isn't actually here):

Requests per second: 1.35 [#/sec] (mean)
Time per request: 739.82 [ms] (mean)
Time per request: 739.82 [ms] (mean, across all concurrent requests)

(Full Stats)

So, we've got a parser that to a guy like me seems simpler to use (advanced data structures are part of the limited experience I did get from LiveJournal), is lightweight (one file, as opposed to 256 in RAP), and faster by an order of magnitude.

That, to me, sounds like a winner. Props to Joel for his great work. His next step is to implement OWL capabilities into RDF parsing, and that's going to kick even more ass. As Eric said at one point about this: "Be still my beating heart." By crschmidt@livejournal.com. [Christopher Schmidt]


Tree-Parser-0.04


Tree-Parser-0.04 05/17/2004 06:04 PM

Tree-Parser-0.05


Tree-Parser-0.05 05/18/2004 10:16 AM

Tree-Parser-0.06


Tree-Parser-0.06 05/18/2004 11:55 PM

Tree-Parser-0.006


Tree-Parser-0.006 05/18/2004 11:55 PM

HTML Parser 1.41


HTML Parser 1.41 05/23/2004 01:40 PM
A Java HTML parser library.

NAMD Log Parser


NAMD Log Parser 04/26/2004 02:41 PM
Initial Release (v0.9)

Regexp-Parser-0.02


Regexp-Parser-0.02 07/01/2004 11:40 PM

Regexp-Parser-0.021


Regexp-Parser-0.021 07/03/2004 04:29 PM

CGI Input Parser


CGI Input Parser 08/18/2004 05:19 AM
Initial release!

Nmap-Parser-0.78


Nmap-Parser-0.78 08/29/2004 12:23 AM

Nmap Parser 0.78


Nmap Parser 0.78 08/29/2004 03:47 AM
A parser for XML nmap scan data.

Tree-Parser-0.07


Tree-Parser-0.07 08/31/2004 05:19 PM

Mail-Box-Parser-C-3.006


Mail-Box-Parser-C-3.006 09/22/2004 10:17 AM

Grok Description matches for XML-RSS-Parser-1.02
GrokA matches for XML-RSS-Parser-1.02

XML-RSS-Parser-1.02

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Down and Out in the
Magic Kingdom

Tronkito 1.0
obliquid 0.8.0
(Beta)

Bluewall GNU/Linux
1.0 (Stable)

A history of the
Iraq war, told
entirely in lies

StarDust Captures
Star Dust!

Sparkpod
The Impact of Text
vs. Graphics

Can't take it
anymore? Let Clippy
Help:

Let Me Stand Next to
your F.I.R.E.

Shoe leather for the
Gov

Heading South
Fuzzy sets for Ada
3.4

Gammu 0.92
shn2make 2.5
Cycling 0.3.1
(Unstable)

BEJY 1.3.1.51
Highlight 2.0-15
RNV 1.3
MyCD 0.2a
Debt Minder 1.9.4
SIP 0.43
Colourfull Creations
releases Simple
Weather update

Colourfull Creations
releases Maxi Bidder
update

VLC Media Player
Updated to v0.7

phpChrystal - An
Open Intranet System

Gold Parser .NET
Automagic
No-Fly-Zone
Enforcement

THG Debuts
Networking Guide

Today is a very good
day

Lieberman Referer
Spam

Elementary, my dear
Euclid

Broog reviews the
easily-crushed
cultural offerings
of Earth Cinema

Bomb Kills Two U.S
Soldiers in Iraq

Brockovich Firm
Again Sues Beverly
Hills

Utah Bill Would Ban
Firing Squads

Guerrilla Attacks
Kill Three U.S.
Soldiers in Iraq

Man Suspected in
Bank Robberies
Arrested

Google-fame Rajeev
Motwani on talent
hunt in India

MC to computerise
birth, death
registration

States Outlaw
Digital Taping in
Cinemas

Vivisimo Helps
Narrow Internet
Searches

RSS Bandwidth and
Gzip compression

That's how it is
SKForum 1.1
Buffalo Linux
1.1.0rc3

ski 6.2
Big Brother Lite 1.0
ViewKlass 0.7.0
Evolution 1.5.1 (GTK
2)

what is grok?