rel-license: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (s/<source>/<syntaxhighlight>/)
 
(27 intermediate revisions by 14 users not shown)
Line 1: Line 1:
= rel="license" =
{{DISPLAYTITLE:rel="license"}}


Rel-License is a simple, open, format for indicating content licenses which is  embedable in (X)HTML, Atom, RSS, and arbitrary XML. Rel-License is one of several [[microformats|microformat]] open standards.
<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 ==
 
== Draft Specification 2005-02-06 ==
=== Author ===
=== Author ===
[http://tantek.com/ Tantek Çelik], [http://technorati.com Technorati, Inc.] (formerly of [http://microsoft.com/ Microsoft Corporation])
[http://tantek.com/ Tantek Çelik] ([http://technorati.com Technorati, Inc.], formerly of [http://microsoft.com/ Microsoft Corporation])


=== Copyright ===
=== Copyright ===
{{MicroFormatCopyrightStatement2004}}
Per the public domain release on [[User:Tantek|my user page]], this specification is released into the public domain.
 
{{MicroFormatPublicDomainContributionStatement}}


=== Patents ===
=== Patents ===
Line 16: Line 16:


== Abstract ==
== Abstract ==
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 license for the current page. E.g. with the following hyperlink:
<syntaxhighlight lang="html">
 
<pre><nowiki>
<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 28: 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 ==
<pre><nowiki>
The following is an [http://gmpg.org/xmdp/ XMDP] profile for the [[rel-license]] specification.
 
=== URLs ===
This profile is hosted as a separate XMDP file on microformats.org:
* http://microformats.org/profile/rel-license
* shortURL: http://ufs.cc/x/rel-license
 
=== Usage ===
Profiles are referenced in (X)HTML files in the &lt;HEAD&gt; tag, e.g.:
<syntaxhighlight lang="html">
<head profile='http://microformats.org/profile/rel-license'>
</syntaxhighlight>
 
=== Profile ===
<syntaxhighlight lang="html">
<dl class="profile">
<dl class="profile">
  <dt id="rel">rel</dt>
  <dt id="rel">rel</dt>
Line 38: Line 51:
   <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel">
   <a rel="help" href="http://www.w3.org/TR/html401/struct/links.html#adef-rel">
     HTML4 definition of the 'rel' attribute.</a>   
     HTML4 definition of the 'rel' attribute.</a>   
   Here is an additional value.</p>
   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>
   <dl>
   <dt id="license">license</dt>
   <dt id="license">license</dt>
Line 45: Line 61:
  </dd>
  </dd>
</dl>
</dl>
</nowiki></pre>
</syntaxhighlight>


== Implementations ==
== Implementations ==
Line 51: Line 67:
* [http://placenamehere.com/TXP/pnh_mf/ pnh_mf] is a plugin for [http://textpattern.com/ Textpattern] that supports embedding rel license and other microformats in templates and blog posts. Written by [http://placenamehere.com/ Chris Casciano].
* [http://placenamehere.com/TXP/pnh_mf/ pnh_mf] is a plugin for [http://textpattern.com/ Textpattern] that supports embedding rel license and other microformats in templates and blog posts. Written by [http://placenamehere.com/ Chris Casciano].
* [http://creativecommons.org/license/ Creative Commons (cc) license chooser]
* [http://creativecommons.org/license/ Creative Commons (cc) license chooser]
* [http://search.yahoo.com/cc Yahoo! (cc) search]
* [http://search.yahoo.com/cc Yahoo! (cc) search] (appears to pick up link-rel in a but not link elements)
* [http://www.google.com/support/bin/answer.py?answer=29508 Google "Usage Rights" search]
* [http://www.google.com/support/bin/answer.py?answer=29508 Google "Usage Rights" search] (also appears to pick up link-rel in a but not link elements)
 
== List of Licenses ==
* [http://creativecommons.org CC]
* [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 59: 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]


== see also ==
== see also ==
* See [[rellicense-issues]] for issues which have been raised with this [[microformat]].
* [[rel-license-issues]] - issues which have been raised with this microformat.
* [[rel-faq]]
 
[[Category:Specifications]]
[[Category:rel-license]]

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