[whatwg] RDFa

Kristof Zelechovski giecrilj at stegny.2a.pl
Sat Aug 23 04:56:04 PDT 2008


Mission accepted.  My shot:

<span class="attributed.creative-commons.org" 
><object type="image/jpeg" data="image.jpg" ></object > 
<small 
>by <span class="creator.creative-commons.org" >Ben Adida</span ></small 
></object ></span >

(Note that you could rather put such information into EXIF comment for the
image).
Chris

-----Original Message-----
From: Ben Adida [mailto:ben at adida.net] 
Sent: Saturday, August 23, 2008 1:43 AM
To: Ian Hickson
Cc: Dan Brickley; Kristof Zelechovski; Tab Atkins Jr.; Bonner, Matt; Henri
Sivonen; whatwg at whatwg.org
Subject: Re: [whatwg] RDFa

Ian Hickson wrote:
> It's not entirely clear to me what the 
> requirements are here, but if one wanted to be able to give verb-object 
> pairs for a remote page, then one could do something like this:
> 
>   <span class="annotation.example.org">
>    <a href="ball.html">My Favorite Ball</a>
>    by <span class="author.example.com">Dewey</span>,
>    published by <span class="publisher.example.com">Dog Books</span>
>   </span>

This is quite contrived, precludes naturally written HTML, and is good
only for a small subset of use cases.

How would you point to the creator of an image? Likely again with some
ad-hoc structure that wouldn't be the same parsing model as the example
you give above.






More information about the whatwg mailing list