Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

inkdroid (3294)

inkdroid
  (email not shown publicly)
http://www.inkdroid.org/
AOL IM: inkdroid (Add Buddy, Send Message)
Yahoo! ID: summe_e (Add User, Send Message)
Jabber: inkdroid

inkdroid is a person, not a robot. however, inkdroid likes ink. inkdroid likes perl too.

Journal of inkdroid (3294)

Monday February 02, 2004
01:13 PM

Open Archives

[ #17152 ]
Ariadne just went live with my article about using the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH) from Perl using Net::OAI::Harvester. OAI-PMH is basically a protocol for sharing metadata using HTTP/XML. Net::OAI::Harvester aims to be LWP::UserAgent for the OAI-PMH. The module was fun to write since I got to know XML::SAX better, started to grok how SAX filters work, and spent some time coming up with a class hierarchy that mirrors the protocol. Another fun part was finding a way to provide iterators that return objects based on parts of the potentially huge XML documents. At first I serialized objects on disk while SAX parsing, but used YAML, but in the end went with Storable since UTF8 support still isn't there for YAML.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.