This article describes best practices for marking works licensed with a Creative Commons license or dedicated to the public domain with both human readable and machine readable notices, on the web and otherwise.
Although the importance of human-visible attribution and notice is stressed, this primary focus of this article is machine-readable metadata. Best practice for presentation of human-visible attribution and notice in various formats (apart from collocation with machine-readable equivalents) is currently beyond the scope of this article and will be presented elsewhere. An index of specific technical recommendations, organized by file type, is available.
A web page is the preferred venue for published copyright notices. Notices published elsewhere should refer to an equivalent notice published on the web.
This text is licensed to the public under the <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution 4.0 License</a>.
That HTML snippet says that the current document is licensed under CC Attribution 4.0. The current document is the default subject,
rel="license" sets the predicate or verb, the URL in the
href value sets the object.
For detailed background on the web metadata model and syntax being used, see RDFa.
This use follows the aforementioned principles:
licensepredicate can take any license that has a URI as its object, not only a Creative Commons license.
Now we will see how to use the model to further annotate works with licensing-relevant metadata.
A licensor can specify how they wish to be attributed for use of their work (see, for example, § 4(b) of https://creativecommons.org/licenses/by/4.0/legalcode). This includes:
Ideally this information would also be available as machine-readable metadata. As an example, this could be encoded in the following triples (assuming the work in question is the current document):
Why the new properties?
Fortunately RDFa allows us to annotate human readable notices and include both the custom properties needed for attribution as well as additional useful properties, e.g.
<a rel="cc:attributionURL" href="http://example.org/crobp.html" property="dc:title">Compact Representation of Blank Pages</a> by <a rel="dc:creator" href="http://example.org/jr.html" property="cc:attributionName">James Roberts</a>, a <a rel="dc:source" href="http://example.org/bps.html">translation of 'Paginas Blancos Si!'</a>, is licensed to the public under the <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 License</a>.
This produces the triples above plus these:
Objects included in web pages, such as images, should be annotated as above within their "host" web pages. Ideally all included objects should also embed object format native notice and metadata as described below, but this is only crucial for objects where the publisher intends for or is concerned about distribution outside the context of the "host" web page.
Metadata about include objects that have their own URIs should be qualified with
rel="license" without an
about attribute makes a statement about the current document (which is the "host" web page). Example:
Photo licensed under <a about="http://example.com/some-image.png" rel="license" href="https://creativecommons.org/licenses/by/4.0/">cc by 4.0</a>.
See the RDFa Primer on beyond the current document for additional examples.
A page may provide any sort of metadata for itself and its included components. The following example has some obviously useful statements:
<span rel="dc:type" href="http://purl.org/dc/dcmitype/Sound"/>Audio</span> <a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/">(cc)</a> <span property="dc:date">2006</span>. See <a rel="cc:morePermissions" href="http://johnsmith.com/store">my store</a> to obtain permissions not granted by the CC license, signed CDs, and concert tickets.
In addition to the familiar
license statement and
dc:type from Dublin Core we have
cc:morePermissions. The intention of
cc:morePermissions is to point to a URL at which one can discover permissions outside the scope of those granted to the public by the licensor via a CC license.
See CCPlus for more information on specifying
RDF/XML is another RDF serialization that can be used to make any statement that can be made with RDFa. RDF/XML may be
<link>ed in the
<head> of a web page or included in HTML comments, as the deprecated CC recommendation advocated.
RDF/XML is perfectly interoperable with RDFa, but the latter is preferred as it is collocated with human-visible content.
Use cases for licensing and related metadata as microformats may be found at on the microformats wiki; they remain hypothetical as microformats, but generalize to use cases for Creative Commons web metadata.
RSS 1.0, RSS 2.0, and Atom 1.0 syndication formats each may include license annotations. These should also be reflected on web pages referenced by feed items.
Objects not native to the web should adhere to the following principles regarding license notice and metadata.
We will now apply these principles to a variety of content formats, after describing two building blocks for Non-Web metadata -- web statement metadata and XMP.
The web page that provides licensing notice equivalent to any included in the object itself may be only human readable. Ideally the web page will publish metadata that is explicitly associated with the object in question. To do this the object must be identified, ideally with a content-derived identifier, such that a client may verify that the web page metadata concerns precisely the object in question. An example of a content-derived identifier is a content hash.
Following is an example of RDFa describing a resource indentified by a hash:
<span about="urn:sha1:DATAG7ENBVHFNQPM4W626VDVK25RYECI"> 'Good Dream' is licensed under <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">CC BY</a>. </span>
Produces the following triple:
<urn:sha1:DATAG7ENBVHFNQPM4W626VDVK25RYECI> license <https://creativecommons.org/licenses/by/4.0/> .
XMP has the broadest support of any embedded metadata format (perhaps it is the only such format with anything approaching broad support) across many different media formats. With the exception of media formats where a workable embedded metadata format is already ubiquitous, Creative Commons recommends adopting XMP as an embedded metadata standard and use of the following two fields in particluar:
Human visible metadata is not possible, and audio notice is not acceptable in most music contexts. With the exception of MP3 and OGG below, XMP embedded metadata is recommended.
MP3 is the primary exception to the XMP recommendation above, as ID3 is widely supported. The following two fields are recommended:
WOAF("official audio file" URL)
"Vorbis Comments" are widely supported for OGG files. The following two fields are recommended:
Note that OGG is a container format that also supports video.
Although possible, visible attribution and copyright notice generally either does not fit in an image due to size or aesthetic limitations. Even where possible human-visible notice will not be collocated with machine-readable metadata (for bitmap formats currently in use).
For embedded metadata XMP is recommended.
Visible attribution and copyright notice is generally provided in video frames (e.g., credit roll) or overlays.
Preferably relevant regions of the video will be clickable or otherwise interactively linked with web pages.
There are many video formats, each with its own ill-supported embedded metadata specification (if any). Creative Commons recommends adopting XMP across video formats, with the possible exception of OGG (see audio above).
"Document" formats meaning word processor, presentation and spreadsheet document files or their output formats such as PDF.
All of these formats are intended for human consumption and all modern versions support web links, so visibility is easy -- the license and web reference should be noted in thee document text wherever common use dictates a copyright notice would appear. Looks like we just took care of the other principles as well.
Many document formats support some form of embedded metadata that can be accessed, e.g., by selecting
File|Document Properties from a menu. Where such metadata includes licensing or copyright-relevant fields, these should be populated with first priority to the web reference and second priority to the URL of the license the document in question is under.
Ideally these metadata fields should be used to directly populate the human-visible parts of the document, e.g., via a document field, as is typically used to automatically place page numbers and document titles throughout such documents. This gives us the best of both worlds -- any software that indexes embedded metadata can easily find license information, and that information is perfectly reflected in notices humans see.
Details of how metadata may be embedded in specific file formats is available here.