rel-license: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (→‎Profile: closetag typo)
m (s/<source>/<syntaxhighlight>/)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<entry-title>rel="license"</entry-title>
{{DISPLAYTITLE:rel="license"}}


<p class="entry-summary">Rel-License is a simple, open, format for indicating content licenses which is  embedable in HTML or XHTML, Atom, RSS, and arbitrary XML. Rel-License is one of several [[microformats|microformat]] open standards.</p>
<p class="entry-summary">Rel-License is a simple, open, format for indicating content licenses which is  embedable in HTML or XHTML, Atom, RSS, and arbitrary XML. Rel-License is one of several [[microformats|microformat]] open standards.</p>
__TOC__


== Specification 2005-02-06 ==
== Specification 2005-02-06 ==
Line 20: Line 18:
Rel-License is one of several microformats.  By adding <code>rel="license"</code> to a hyperlink, a page indicates that the destination of that hyperlink is a license for the current page. E.g. with the following hyperlink:
Rel-License is one of several microformats.  By adding <code>rel="license"</code> to a hyperlink, a page indicates that the destination of that hyperlink is a license for the current page. E.g. with the following hyperlink:


<pre><nowiki>
<syntaxhighlight lang="html">
<a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>
<a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>
</nowiki></pre>
</syntaxhighlight>


the author indicates that the page is licensed under a Creative Commons 2.0 Attribution Required license.
the author indicates that the page is licensed under a Creative Commons 2.0 Attribution Required license.
Line 29: Line 27:
Multiple such rel="license" hyperlinks indicate that the page is available under any of the referred licenses.  E.g. the following hyperlinks could be used to declare that a page is available under either a Creative Commons 2.0 Attribution Required license or the Apache 2.0 license:
Multiple such rel="license" hyperlinks indicate that the page is available under any of the referred licenses.  E.g. the following hyperlinks could be used to declare that a page is available under either a Creative Commons 2.0 Attribution Required license or the Apache 2.0 license:


<pre><nowiki><a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>
<syntaxhighlight lang="html"><a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>
<a href="http://www.apache.org/licenses/LICENSE-2.0" rel="license">Apache 2.0</a></nowiki></pre>
<a href="http://www.apache.org/licenses/LICENSE-2.0" rel="license">Apache 2.0</a></syntaxhighlight>


== XMDP profile ==
== XMDP profile ==
Line 42: Line 40:
=== Usage ===
=== Usage ===
Profiles are referenced in (X)HTML files in the &lt;HEAD&gt; tag, e.g.:
Profiles are referenced in (X)HTML files in the &lt;HEAD&gt; tag, e.g.:
<source lang=html4strict>
<syntaxhighlight lang="html">
<head profile='http://microformats.org/profile/rel-license'>
<head profile='http://microformats.org/profile/rel-license'>
</source>
</syntaxhighlight>


=== Profile ===
=== Profile ===
<source lang=html4strict>
<syntaxhighlight lang="html">
<dl class="profile">
<dl class="profile">
  <dt id="rel">rel</dt>
  <dt id="rel">rel</dt>
Line 63: Line 61:
  </dd>
  </dd>
</dl>
</dl>
</source>
</syntaxhighlight>


== Implementations ==
== Implementations ==
Line 73: Line 71:


== List of Licenses ==
== List of Licenses ==
* [http://creativecommons.org CC]
* [http://creativecommons.org CC]
* [http://www.opensource.org/licenses/ Open Source Initiative] licenses -- mostly software-focused
* [http://www.opensource.org/licenses/ Open Source Initiative] licenses -- mostly software-focused
== Articles ==
This section is '''informative'''.
Articles about rel-license, most recent first. When this section gets too big, we can move it to [[rel-license-articles]].
* (undated) [http://reference.sitepoint.com/html/rel-mf#rel__license SitePoint reference: rel- Microformats / license] by Ian Lloyd


== References ==
== References ==
Line 82: Line 85:


=== Informative References ===
=== Informative References ===
* 20040211 rel="license" first proposed in presentation [http://tantek.com/presentations/2004etech/realworldsemanticspres.html real world semantics] at 2004 O'Reilly Emerging Technologies Conference, San Diego, CA, USA.
* 2004-02-11 rel="license" first proposed in presentation [http://tantek.com/presentations/2004etech/realworldsemanticspres.html real world semantics] at 2004 O'Reilly Emerging Technologies Conference, San Diego, CA, USA.
* 20040225 [http://tantek.com/log/2004/02.html#d25t1805 Thorough discussion of rel="license"] including advantages and presentation possibilities.  
* 2004-02-25 [http://tantek.com/log/2004/02.html#d25t1805 Thorough discussion of rel="license"] including advantages and presentation possibilities.  
* [http://creativecommons.org/licenses/by/2.0/ Creative Commons 2.0 By (Attribution Required) license]
* [http://creativecommons.org/licenses/by/2.0/ Creative Commons 2.0 By (Attribution Required) license]
* [http://www.apache.org/licenses/LICENSE-2.0 Apache 2.0 license]
* [http://www.apache.org/licenses/LICENSE-2.0 Apache 2.0 license]
* Contributed from http://developers.technorati.com/wiki/RelLicense
* Contributed from <nowiki>http://developers.technorati.com/wiki/RelLicense</nowiki> ([https://web.archive.org/web/20050321015449/http://developers.technorati.com/wiki/RelLicense 2005-03-21 Internet Archive version])
* [http://microformatique.com/?p=60 Know your rel-license at Microformatique]
* [http://microformatique.com/?p=60 Know your rel-license at Microformatique]



Latest revision as of 21:35, 26 July 2023


Rel-License is a simple, open, format for indicating content licenses which is embedable in HTML or XHTML, Atom, RSS, and arbitrary XML. Rel-License is one of several microformat open standards.

Specification 2005-02-06

Author

Tantek Çelik (Technorati, Inc., formerly of Microsoft Corporation)

Copyright

Per the public domain release on my user page, this specification is released into the public domain.

Public Domain Contribution Requirement. Since the author(s) released this work into the public domain, in order to maintain this work's public domain status, all contributors to this page agree to release their contributions to this page to the public domain as well. Contributors may indicate their agreement by adding the public domain release template to their user page per the Voluntary Public Domain Declarations instructions. Unreleased contributions may be reverted/removed.

Patents

This specification is subject to a royalty free patent policy, e.g. per the W3C Patent Policy, and IETF RFC3667 & RFC3668.

Abstract

Rel-License is one of several microformats. By adding rel="license" to a hyperlink, a page indicates that the destination of that hyperlink is a license for the current page. E.g. with the following hyperlink:

<a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>

the author indicates that the page is licensed under a Creative Commons 2.0 Attribution Required license.

Multiple Licenses

Multiple such rel="license" hyperlinks indicate that the page is available under any of the referred licenses. E.g. the following hyperlinks could be used to declare that a page is available under either a Creative Commons 2.0 Attribution Required license or the Apache 2.0 license:

<a href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by 2.0</a>
<a href="http://www.apache.org/licenses/LICENSE-2.0" rel="license">Apache 2.0</a>

XMDP profile

The following is an XMDP profile for the rel-license specification.

URLs

This profile is hosted as a separate XMDP file on microformats.org:

Usage

Profiles are referenced in (X)HTML files in the <HEAD> tag, e.g.:

<head profile='http://microformats.org/profile/rel-license'>

Profile

<dl class="profile">
 <dt id="rel">rel</dt>
 <dd><p>
   <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel">
     HTML4 definition of the 'rel' attribute.</a>  
   Here is an additional value as defined in the
   <a rel="help start" href="http://microformats.org/wiki/rel-license">
   rel-license specification</a> 
   .</p>
  <dl>
   <dt id="license">license</dt>
   <dd>Indicates that the referred resource is a license for the referring page.</dd>
  </dl>
 </dd>
</dl>

Implementations

List of Licenses

Articles

This section is informative.

Articles about rel-license, most recent first. When this section gets too big, we can move it to rel-license-articles.

References

Normative References

Informative References

see also