Name
mod_DCTerms
Synopsis
Once Dublin Core metadata has sunk
its I-must-add-metadata-to-everything addictive nature into your very
soul, you soon realize that the core terms are lacking in depth. For
example,
dc:relation means
“is related to,” but in what way?
We don’t know, unless we use
mod_DCTerms.
mod_DCTerms introduces 28 new subelements to
channel
, item,
image, and textinput, as
appropriate. These subelements are related, within Dublin Core, to
the core elements found within mod_dublincore, but
mod_DCTerms does not express this relationship.
For example, dcterms:created is actually a
refinement of dc:date.
Namespace
mod_DCTerms
takes the namespace prefix
dcterms: and is identified by the URI
http://purl.org/dc/terms/. So, the root element
looks like this:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:dcterms="http://purl.org/dc/terms/"
>Elements
You have a lot to choose from with this
module. As we’ve said, the elements can be
subelements of channel, item,
image, or textinput. Apply
liberally and with gusto.
-
dcterms:alternative An alternative title for the item. For example:
<title>Programming Perl</title> <dc:title>Programming Perl</dc:title> <dcterms:alternative>The Camel Book</dcterms:alternative>
-
dcterms:created The date the object was created, in W3CDTF standard (
YYYY-MM-DDTHH:MM:SS).-
dcterms:issued The date the object was first made available. This should be used, for backward compatibility, with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access