Fw: CPAN Upload: T/TO/TOBYINK/RDF-RDFa-Parser-1.09_11.tar.gz
Toby Inkster
mail at tobyinkster.co.uk
Wed Jun 16 18:36:28 CEST 2010
Just uploaded RDF-RDFa-Parser-1.09_11.tar.gz.
Biggest change is that support for OpenDocument Format 1.2 is included.
OpenDocument 1.2 files are essentially ZIP files that contain a
collection of XML files (each of which may contain OpenDocument's own
unique flavour of RDFa) and RDF/XML files. RDF::RDFa::Parser provides
transparent support for it, so you don't need to worry about extracting
archives, etc. Assuming your server sends the correct media type, it's
as simple as:
my $model = RDF::RDFa::Parser
->new_from_url('http://example.com/foo.odt')
->graph;
The model will actually contain quads, so that you can track which XML
or RDF/XML file inside the ZIP was the source for each statement.
OpenDocument 1.2 is still a draft, and not yet fully utilised by
OpenOffice.org (the flagship OpenDocument software), so for now you're
unlikely to see much RDFa-in-OpenDocument content in the wild.
The release also includes various bugfixes and cleanups too boring to
list here.
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the Dev
mailing list