[cc-metadata] data: URLs -- yet another sick hack for stuffing RDF into (X)HTML documents
Evan Prodromou
evan at prodromou.name
Wed May 24 01:11:56 EDT 2006
On Wed, 2006-24-05 at 00:42 -0400, Evan Prodromou wrote:
> > While documenting things is always a good idea, it should also be noted
> > on the page that this is *not* a supported method for embedding -- I
> > don't see tools like MozCC adding support for it any time soon.
>
> That's too bad. It seems like a special case of the <link> method, and
> it'd be really easy to implement. Considering that Mozilla and Firefox
> support data: URLs internally (see
> http://www.mozilla.org/quality/networking/docs/aboutdata.html), it might
> already work! I'm going to do some testing and see.
Well, MozCC will recognize the contents of a data: URL as RDF (and
display the icons), if you navigate to the URL. But it doesn't seem to
recognize data: URLs in <link> elements, which is quite a shame.
You can see an example with an <a> anchor here:
http://evan.prodromou.name/datalink.xhtml
I've tried it with a <link> element in the <head>, but strangely enough
the MozCC detection of the RDF doesn't work if you've got the <link> in
there.
~Evan
________________________________________________________________________
Evan Prodromou <evan at prodromou.name>
http://evan.prodromou.name/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/cc-metadata/attachments/20060524/7f9a1ede/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.ibiblio.org/pipermail/cc-metadata/attachments/20060524/7f9a1ede/attachment.bin
More information about the cc-metadata
mailing list