Re: @html5, 07/06/2012 20:06

On Fri, Jun 8, 2012 at 5:51 AM, Dan Brickley <danbri@danbri.org> wrote:

> *html5 (@html5 <https://twitter.com/html5>)*
> 07/06/2012 20:06 <https://twitter.com/html5/status/210930871472107520>
> Along with Opera, Firefox Nightly now has Microdata DOM API support.
> How-to: whatwg.org/specs/web-apps… <http://t.co/lrtPSb7s> Tests:
> w3c-test.org/html/tests/sub… <http://t.co/N9FgnMNz>
>
>
>
> No rest for the wicked :) how are we doing on the api front?
>

I demoed the RDFa API during the Drupal tutorial on Monday at SemTech using
Alex's Green Turtle lib [1]... I was able to grab particular elements from
the DOM matching schema:ScholarlyArticle for example:
document.getElementsByType('http://schema.org/ScholarlyArticle');

and enrich them with related data from a third party service using JSON-LD.

So from that point of view the RDFa API is useful.

Steph.

[1] http://code.google.com/p/green-turtle/


>
> Dan
>
>

Received on Friday, 8 June 2012 13:44:01 UTC