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

Re: Highlight RDFa with CSS

From: Niklas Lindström <lindstream@gmail.com>
Date: Mon, 28 May 2012 11:46:03 +0200
Message-ID: <CADjV5jfoHYgaKv=+cHERi=BaYvMBddt7QfBAVDyzGZNhso7wdQ@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
Cc: public-rdfa-wg <public-rdfa-wg@w3.org>
 Gregg, Manu,

Thanks! I'll take a look at how we can work it into the playground (as
soon as I can).

I improved a little bit on it last week. To see it in full action, I
recommend to apply the bookmarklet on certain pages, e.g. the RDFa 1.1
version of Ivan's FOAF page [1], and the experimental Schema.org as
RDFa [2].

(For instance, it now displays the use of @property on links without
@typeof to indicate that @property "detaches" the subject in that case
(i.e. the nested content still applies to the subject "above", not to
the link).)


Best regards,
Niklas

[1]: http://www.ivan-herman.net/foaf-rdfa-1.1/foaf.html
[2]: http://schema.rdfs.org/sandbox/schema-org-nav/rdfa.html


On Wed, May 23, 2012 at 7:16 PM, Manu Sporny <msporny@digitalbazaar.com> wrote:
> On 05/20/2012 06:16 PM, Niklas Lindström wrote:
>>
>> You can also go to the RDFa playground [1] and paste:
>>
>> <link rel="stylesheet"
>> href="http://niklasl.github.com/rdfa-lab/css/rdfa.css" />
>> <style>head{display:none}body{width:auto}</style>
>>
>> into an example there. (The added style is to adjust a bit for the
>> small frame.)
>>
>> [1]: http://rdfa.info/play/
>
>
> Niklas,
>
> This is really awesome! Great work - we'll have to integrate it into the
> tool at some point (as a toggle-able code-view or something).
>
> -- manu
>
> --
> Manu Sporny (skype: msporny, twitter: manusporny)
> Founder/CEO - Digital Bazaar, Inc.
> blog: PaySwarm Website for Developers Launched
> http://digitalbazaar.com/2012/02/22/new-payswarm-alpha/
>
Received on Monday, 28 May 2012 09:47:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 28 May 2012 09:47:05 GMT