- From: Toby Inkster <tai@g5n.co.uk>
- Date: Mon, 18 Jan 2010 23:19:00 +0000
- To: public-rdfa <public-rdfa@w3.org>
The RDF::RDFa::Parser Perl RDFa parser now supports DataRSS (i.e. RDFa in Atom). -------- Forwarded Message -------- From: Toby Inkster <mail@tobyinkster.co.uk> To: dev@lists.perlrdf.org Subject: ANN: RDF::RDFa::Parser 0.30 and XML::Atom::OWL 0.01 Date: Mon, 18 Jan 2010 23:06:06 +0000 There are three major improvements in RDF::RDFa::Parser 0.30: 1. It installs the XHTML+RDFa DTD and associated modules on your filesystem (probably in a directory named something like "/usr/lib/perl5/site_perl/5.10.1/auto/share/dist/RDF-RDFa-Parser/"). This allows libxml to parse XHTML+RDFa files much more quickly. 2. It has a better callback system. In particular, Gregory Williams will be interested in the callback event called "ontriple". Hooking a function onto that allows it to be passed an RDF::Trine::Statement object as soon as it's parsed. Something similar was previously possible, but the callback function would only be passed strings - not a fully-ready statement. 3. It supports RDFa found in Atom feeds. It does some special magic to allow <feed> and <entry> elements to automatically set a new subject for triples. XML::Atom::OWL is a brand new module that parses Atom feeds into RDF::Trine models using Henry Story's AtomOWL vocabulary. RDF::RDFa::Parser (if called with the 'atom_parser' option enabled) will delegate Atom parsing to XML::Atom::OWL, allowing you to create a combined graph of Atom+RDFa documents. Atom+RDFa has been marketed by Yahoo under the name "DataRSS" and is potentially a very nice format. Lastly, RDF::RDFa::Parser::Redland 0.30 has been released, catching it up with changes in the underlying RDF::RDFa::Parser. All have been uploaded and should appear on CPAN mirrors soon. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Monday, 18 January 2010 23:19:40 UTC