W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2012

Re: Experimental RDFa extractor in JS

From: Niklas Lindström <lindstream@gmail.com>
Date: Fri, 20 Apr 2012 12:56:45 +0200
Message-ID: <CADjV5jePxvLqZL2__o97iCH7dEdA3c=rExZ64tO4k40d-Z3TsQ@mail.gmail.com>
To: Henri Bergius <henri.bergius@iki.fi>
Cc: public-rdfa-wg <public-rdfa-wg@w3.org>
Hi Henri,

2012/4/20 Henri Bergius <henri.bergius@iki.fi>:
> Hi,
>
> On Apr 20, 2012 1:59 AM, "Niklas Lindström" <lindstream@gmail.com> wrote:
>> The last couple of days I've been experimenting with a different kind
>> of approach to implementing an RDFa extractor. The result so far is a
>> draft with admittedly rather partial coverage. However, I hope some
>> aspects of it will be of interest even at this stage:
>>
>> 1. It is implemented in pure Javascript. (Well, actually, in some 170
>> lines of CoffeeScript, but the generated result is the same.)
>> 2. It runs both in the browser and on Node (used with jsdom).
>> 3. It does not produce triples. It directly creates a JSON-LD extract
>> (corresponding in shape to the RDFa). This is the difference, and the
>> fun part.
>
> Looks very promising. It might be interesting to collaborate on this to have
> a RDFa parser that VIE could use, but which would also work without VIE's
> entity management and other facilities.

Thanks! Yes, that's a good idea. Let's investigate this further. (As
mentioned, my time is rather limited, but I'll do my best to respond
to any feedback or ideas you come up with.)

> However, I don't see a license in the repository. VIE is MIT-licensed, so
> that would be the best option for code-sharing.

Ah, yes, I must add a license (I usually go with a BSD-style one, if
that'd work).

Best regards,
Niklas

> http://viejs.org
Received on Friday, 20 April 2012 10:57:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:20 GMT