Quoth Paul Walsh, Segala at 2006-06-04 06:34...
<snip/>
> I look forward to the day when tools such as search engines and browsers
> make use of more meaningful metadata in the future.
Oh boy, yes! I have been going to great pains to get my
content-creation software to include metadata, against such a time. For
instance, I have written a light-weight alternative to Perl's mod_cgi:
HTML::XHTML::Lite - specifically designed to get metadata and links to
metadata into document heads.
My next step is to try to get inline metadata documents, but am so far
being beaten by the W3C validator choking on the import of another
namespace:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xml:lang="en" lang="en">
Looks like I'm going to have to use something like:
<a href="meta.rdf" rel="meta" type="application/rdf+xml" title="metadata
about foo bar">meta</a>
...to get anything like inline. Dragging an external document into the
equation may not be as bad as I thought because, after all, we do link
to CSS style sheets.
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.)
Cheers
M
--
Matthew Smith
IT Consultancy & Web Application Development
http://www.kbc.net.au
|