Re: New Perl RDFa Parser

On 13/1/09 17:30, Toby A Inkster wrote:
>
> Someone asked on IRC today about using Swignition as an RDFa parser in a
> tool they were building. I suggested that SPREAD might be a better idea
> as it probably has fewer external dependencies, while Swignition has a
> lot of dependencies as it does a lot more than just parsing RDFa.
> However, neither of us could find any source code for SPREAD online, so
> I spent the best part of my lunch hour forking Swignition's RDFa module
> so that it can run outside of the rest of the project.
>
> The result is here:
> http://cognition-parser.googlecode.com/svn/trunk/swignition/extras/RDF-RDFa-Parser/lib/RDF/RDFa/Parser.pm

Great :)

Does it have the same behaviours as 
http://buzzword.org.uk/swignition/rdfa ? I don't entirely like having my 
RDF rewritten to include un-intended references to 
http://thing-described-by.org/ - although I can see value in having this 
as an opt-in feature.

Ah, I see

			'tdb'     => 1,  # Switch to 0 to turn off t-d-b.org feature.

... can I suggest the default be for usage to require explicit opt-in?

Context - I'm looking at XML Signature for RDFa currently, and I need 
RDFa parsers that emit the graph that the signed document encodes. While 
thing-described-by is a cool idea, I can't find a privacy policy for the 
site. I'd prefer to know whether it keeps HTTP logs before using it in 
real apps.

Back re RDFa parsing --- does the new Perl code pass all the tests? And 
will it be in CPAN soon? :)

cheers,

Dan

--
http://danbri.org/

Received on Tuesday, 13 January 2009 16:51:03 UTC