W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > May 2006

Re: RDFa and GRDDL and Drupal

From: Ben Adida <ben@mit.edu>
Date: Tue, 30 May 2006 07:23:33 -0400
Message-Id: <7F875D6F-F423-40A4-9952-A22B646F2F03@mit.edu>
Cc: Dan Connolly <connolly@w3.org>, public-rdf-in-xhtml task force <public-rdf-in-xhtml-tf@w3.org>
To: Ian Davis <iand@internetalchemy.org>



On May 30, 2006, at 6:30 AM, Ian Davis wrote:

> I'd just like to point out that eRDF can express metadata about  
> embedded objects and fragments, so this fragment:
>
> <div id="ian"><span class="foaf-name">Ian Davis</span></div>
>
> embeds the following triple:
>
> <#ian> foaf:name "Ian Davis" .

Cool, thanks for pointing this out. How does this let one make a  
statement about an embedded image? Or is it that you wrap a DIV  
around the image and then make a statement about that DIV?

> I'm also curious about what you regard as copy-and-paste metadata  
> and why eRDF doesn't support it.

Yes, I need to be clearer about this. Benjamin Nowack also asks the  
same question [1].

Clearly, you can't copy and paste just any piece of HTML w/ RDFa, as  
you and Benjamin point out. But you *can* do what CC needs to do:  
prepare a self-contained small chunk of HTML w/ RDFa that *is* copy- 
and-paste-able. This is because you can declare schemas right there,  
not just in the head of the document. So, in fact, I'm not sure that  
most documents will declare namespaces in the head. I foresee a bunch  
of "wizards" like the CC one for generating chunks of HTML with self- 
contained RDFa metadata.

In other words, the point is not that you can adversarially choose  
any subcomponent of the HTML and copy and paste it, of course. The  
point is hat, if you're a bit careful, you can create a self- 
contained chunk of HTML that is copy-and-pasteable.

That's important for more than just wizards, by the way. It's  
important when you want to aggregate a number of content components  
into a single page. Or when you write a single blog entry at  
something like blogspot but you want to add your own namespaces (and  
you have no control over the head). In a number of cases, users only  
control a small chunk of HTML on a given page. It's important that  
this chunk can be self-contained with all of its metadata.

-Ben

[1] http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/ 
2006May/0048
Received on Tuesday, 30 May 2006 11:23:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:02 GMT