ROADSUsing ROADS for Web-site Metadata Management |
A similar system, based around SOIF records, is currently in use at UKOLN to embed metadata into Ariadne articles for the NewsAgent project. That system was described in some detail in Metadata Management in Ariadne Issue 10. It uses a Microsoft Access based front-end to create the SOIF records that are stored next to HTML or other resources in the Web-site file system.
As with other ROADS templates, each DUBLINCORE record contains a 'Handle' that uniquely identifies that record.
A Perl script is available, roads2metadc.pl, that reads a ROADS DUBLINCORE template and converts it to HTML <META> tags.
The script can also be used as an SSI script. However, when it is used in this way it must have some method of determining which ROADS template to convert for a particular HTML page. Two ways of doing this are proposed:
885679460-360might be used to form a new PURL:
http://purl.ukoln.ac.uk/885679460-360or DOI:
10.1352/885679460-360The new identifier would be stored in a second 'Identifier' attribute, along-side the URL.
Identifiers held in a ROADS database in this way could be used as the basis for the data loaded into a PURL server or sent to the DOI Agency.
Template-Type: DUBLINCORE Handle: 885679460-360 Template-Version: 1 Title: UKOLN Metadata Title-Alternative-v1: Title-Alternative-v2: Creator-v1: Andy Powell Creator-v2: Michael Day Creator-Address-v1: a.powell@ukoln.ac.uk Creator-Address-v2: m.day@ukoln.ac.uk Creator-PersonalName-v1: Creator-PersonalName-v2: Creator-CorporateName-v1: Creator-CorporateName-v2: Creator-PersonalName-Address-v1: Creator-PersonalName-Address-v2: Creator-CorporateName-Address-v1: Creator-CorporateName-Address-v2: Subject-v1: metadata, BIBLINK, DESIRE,NewsAgent, ROADS, Dublin Core, DC, Z39.50, Whois++, RDF, XML, CDF Subject-v2: Subject-Scheme-v1: Subject-Scheme-v2: Description-v1: Description-v2: Publisher-v1: UKOLN, University of Bath Publisher-v2: Publisher-Address-v1: Publisher-Address-v2: Publisher-PersonalName-v1: Publisher-PersonalName-v2: Publisher-CorporateName-v1: Publisher-CorporateName-v2: Publisher-PersonalName-Address-v1: Publisher-PersonalName-Address-v2: Publisher-CorporateName-Address-v1: Publisher-CorporateName-Address-v2: Contributor-v1: Contributor-v2: Contributor-Address-v1: Contributor-Address-v2: Contributor-PersonalName-v1: Contributor-PersonalName-v2: Contributor-CorporateName-v1: Contributor-CorporateName-v2: Contributor-PersonalName-Address-v1: Contributor-PersonalName-Address-v2: Contributor-CorporateName-Address-v1: Contributor-CorporateName-Address-v2: Date-v1: Date-v2: Date-CreationIntellectualContent-v1: Date-CreationIntellectualContent-v2: Date-CreationModificationPresentForm-v1: Date-CreationModificationPresentForm-v2: Date-Available-v1: Date-Available-v2: Date-Valid-v1: Date-Valid-v2: Date-Acquisition-v1: Date-Acquisition-v2: Date-Accepted-v1: Date-Accepted-v2: Date-DataGathering-v1: Date-DataGathering-v2: Type-v1: Text.Homepage Type-v2: Format-v1: text/html Format-v2: Identifier-v1: http://www.ukoln.ac.uk/metadata/ Identifier-v2: Identifier-Scheme-v1: Identifier-Scheme-v2: Source-v1: Source-v2: Source-Scheme-v1: Source-Scheme-v2: Language-v1: en-uk Language-v2: Language-Scheme-v1: Language-Scheme-v2: Relation-v1: Relation-v2: Relation-Scheme-v1: Relation-Scheme-v2: Coverage-v1: Coverage-v2: Coverage-PeriodName-v1: Coverage-PeriodName-v2: Coverage-PlaceName-v1: Coverage-PlaceName-v2: Coverage-T-v1: Coverage-T-v2: Coverage-X-v1: Coverage-X-v2: Coverage-Y-v1: Coverage-Y-v2: Coverage-Z-v1: Coverage-Z-v2: Coverage-Polygon-v1: Coverage-Polygon-v2: Coverage-Line-v1: Coverage-Line-v2: Coverage-ThreeD-v1: Coverage-ThreeD-v2: Rights-v1: Rights-v2: Rights-Scheme-v1: Rights-Scheme-v2: To-Be-Reviewed-Date: Record-Last-Verified-Email: Record-Last-Verified-Date: Comments: Destination: Record-Last-Modified-Date: Sat, 24 Jan 1998 22:08:17 +0000 Record-Last-Modified-Email: unknown@ppp12-annex.bath.ac.uk Record-Created-Date: Sat, 24 Jan 1998 22:08:17 +0000 Record-Created-Email: unknown@ppp12-annex.bath.ac.ukThe HTML source for the UKOLN metadata home page contains the line
<!--#exec cmd="/opt/metadata/roads/ukoln/bin/roads2metadc.pl 885679460-360" -->somewhere in the HEAD section of the page. This tells the UKOLN Apache Web server to run
/opt/metadata/roads/ukoln/bin/roads2metadc.pl 885679460-360when the page is served. roads2metadc.pl produces
<!-- Start of roads2metadc metadata --> <META NAME="DC.Identifier" CONTENT="http://www.ukoln.ac.uk/metadata/"> <META NAME="DC.Publisher" CONTENT="UKOLN, University of Bath"> <META NAME="DC.Title" CONTENT="UKOLN Metadata"> <META NAME="DC.Subject" CONTENT="metadata, BIBLINK, DESIRE,NewsAgent, ROADS, Dublin Core, DC, Z39.50, Whois++, RDF, XML, CDF"> <META NAME="DC.Creator" CONTENT="Andy Powell"> <META NAME="DC.Creator" CONTENT="Michael Day"> <META NAME="DC.Type" CONTENT="Text.Homepage"> <META NAME="DC.Creator.Address" CONTENT="a.powell@ukoln.ac.uk"> <META NAME="DC.Language" CONTENT="en-uk"> <META NAME="DC.Creator.Address" CONTENT="m.day@ukoln.ac.uk"> <META NAME="DC.Format" CONTENT="text/html"> <!-- End of roads2metadc metadata -->which is then embedded into the page.
/opt/metadata/roads/ukoln/bin/roads2metadc.pl -r 885679460-360we get
<?xml:namespace href="http://purl.org/RDF/" as="RDF"?> <?xml:namespace href="http://purl.org/RDF/DC/" as="DC"?> <RDF:RDF> <RDF:Description RDF:HREF="http://www.ukoln.ac.uk/metadata/"> <DC:Identifier>http://www.ukoln.ac.uk/metadata/</DC:Identifier> <DC:Publisher>UKOLN, University of Bath</DC:Publisher> <DC:Title>UKOLN Metadata</DC:Title> <DC:Subject> metadata, BIBLINK, DESIRE,NewsAgent, ROADS, Dublin Core, DC, Z39.50, Whois++, RDF, XML, CDF </DC:Subject> <DC:Creator>Andy Powell</DC:Creator> <DC:Creator>Michael Day</DC:Creator> <DC:Type>Text.Homepage</DC:Type> <DC:Language>en-uk</DC:Language> <DC:Format>text/html</DC:Format> </RDF:Description> </RDF:RDF>Note that this is of no practical value! RDF is still under development so this representation is likely to be completely wrong! It is offered here for example purposes only. Furthermore, the RDF shown here is a simplified view of the metadata in the original ROADS record. More work is needed on RDF generation.
Maintained by: Andy Powell
Last updated: 10-Jun-1998