Dublin Core
From Wiki
This article is a stub. You can help us by expanding it.
Related Resources: Dublin Core Reference, RDFa and XHTML
The usual namespaces names are:
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"
Embedding Dublin Core in XHTML (not recommended)
Metadata should be embedded into the <head> section of an XHTML Web page using the <meta> and <link> elements, as described here.
<meta name="DC.subject" xml:lang="en-GB" content="seafood" /> <meta name="DC.subject" xml:lang="fr" content="fruits de mer" /> <link rel="DC.relation" hreflang="en" href="http://www.example.org/en/" /> <link rel="DC.relation" hreflang="de" href="http://www.example.org/de/" />
Embedding Dublin Core in XHTML+RDFa
Using XHTML+RDFa 1.0 profile for XHTML you can use the property attribute to encode Dublin Core properties:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" > <head> <title>Embedding Dublin Core in XHTML+RDFa</title> <meta about="http://www.informatik.tu-cottbus.de/~agiurca/" content="My Web page"/> <meta property="dc:creator" content="http://www.informatik.tu-cottbus.de/~agiurca/"/> <meta property="dc:language" content="en-US"/> </head> <body> </body> </html>
References
- The Dublin Core Metadata Initiative, http://dublincore.org/

