> You may be interested in this tool that pulls out metadata
> from the document head for at-a-glance access:
> http://www.smiffysplace.com/sourcebrowse.pl
> (Source available, only 261 lines.)
Matthew,
minor nit-pick. The DC metadata that you put at the top of your tool's
XHTML output needs some minor revision. You have
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<meta name="DC.language" scheme="RFC1766" content="en" />
<meta name="DC.type" scheme="DCMIType" content="Text" />
<meta name="DC.format" content="text/html; charset=UTF-8" />
<meta name="DC.title" lang="en" content="Smiffy's HTML Source Browser"
/>
<meta name="DC.description" lang="en" content="Programme to retrieve and
display raw HTML" />
<meta name="DC.creator" content="Matthew S. Smith" />
<meta name="DC.identifier"
content="http://www.smiffysplace.com/sourcebrowse.pl" />
<meta name="DC.subject" lang="en" content="html; raw; source;" />
<meta name="DC.rights" content="(C) Copyright 2005 Matthew S. Smith" />
<meta name="DC.date.created" scheme="ISO8601" content="2005-12-13" />
<meta name="DC.date.modified" scheme="ISO8601" content="2006-03-12" />
which should really be
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
<meta name="DC.language" scheme="DCTERMS.RFC1766" content="en" />
<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
<meta name="DC.format" scheme="DCTERMS.IMT" content="text/html;
charset=UTF-8" />
<meta name="DC.title" lang="en" content="Smiffy's HTML Source Browser"
/>
<meta name="DC.description" lang="en" content="Programme to retrieve and
display raw HTML" />
<meta name="DC.creator" content="Matthew S. Smith" />
<meta name="DC.identifier"
content="http://www.smiffysplace.com/sourcebrowse.pl" />
<meta name="DC.subject" lang="en" content="html; raw; source;" />
<meta name="DC.rights" content="(C) Copyright 2005 Matthew S. Smith" />
<meta name="DCTERMS.created" scheme="DCTERMS.W3CDTF"
content="2005-12-13" />
<meta name="DCTERMS.modified" scheme="DCTERMS.W3CDTF"
content="2006-03-12" />
In particular, dotted constructs like "DC.date.created" are no longer
recognised by DCMI. I tell you this not to find fault, but because it
may indicate that the way your code parses other people's XHTML looking
for embedded DC metadata may also need some revision? And because this
is still a very commonly held mis-conception about how to encode DC
metadata in XHTML.
Andy
--
Head of Development, Eduserv Foundation
http://www.eduserv.org.uk/foundation/
[log in to unmask]
+44 (0)1225 474319
|