item-license

From Microformats Wiki
Revision as of 01:02, 1 March 2010 by Tantek (talk | contribs) (moved from Licensing Brainstorming and updated per brainstorming with Mike Linksvayer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<entry-title>item-license</entry-title>

item-license is one of several Licensing brainstorm proposals, per the microformats The microformats process towards developing a licensing microformat for authors to indicate licenses to portions of pages or external resources like images.

summary

This proposal (re-)uses the containing/root class "item" (see also hReview 0.4 (in progress), hListing draft, hProduct) to indicate the scope of the thing that is being licensed, rel="item-license" to indicate the specific license(s), "item-url" to license one or external resources like images, and "attribution" to indicate attribution information.

to do

  • add embedded/linked image to brainstorm with Mike Linksvayer on whiteboard, 2010-055 at Creative Commons offices.

content portion licensing

Here is an example of a chunk of hypertext content that is being licensed:

<div class="item">
  <p>... blog post or article text content ...</p>
  <p>This is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license</a>.
  </p>
</div>

external resource licensing

To specify a license on an external resource like a photograph, we can use a new class name "item-url" to identify the external resource as being the actual item:

<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph</a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
</div>

item-url details

  • Authors should provide one "item-url" for an external resource that is being licensed.
  • If more than one "item-url" is provided, they are assumed to be copies/mirrors/versions (perhaps different resolutions or formats) of the same item, and all have the same license(s) and attribution terms (if any) applied to them.

multiple resolutions licensing

E.g. a link to the photo and embedding a thumbnail or small version of the photo:
<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph:
   <img class="item-url" href="smallphoto.jpg" alt="small version of a photograph" />
  </a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
</div>

attribution

Attribution information is indicated with the class name 'attribution':

attribution example to an author

<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph</a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
  Please attribute the photo to <span class="attribution">Mary Smith</span>
</div>

with hCard 1.0 for the author:

<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph</a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
  Please attribute the photo to 
  <span class="attribution vcard">
    <span class="fn">Mary Smith</span>
  </span>
</div>

with hyperlinked hCard 1.0 for the author:

<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph</a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
  Please attribute the photo to 
  <span class="attribution vcard">
    <a class=" fn url" href="http://mary.example.com/">Mary Smith</a>
  </span>
</div>

attribution example to original and author

<div class="item">
  This 
  <a class="item-url" href="photo.jpg">photograph</a>
  is licensed under a
  <a rel="item-license" href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">
   Creative Commons attribution non-commercial 2.0 license
  </a>.
  Please attribute the photo to 
  <span class="attribution vcard">
    <a class=" fn url" href="http://mary.example.com/">Mary Smith</a>
  </span>
  and link to 
  <a class="attribution" href="http://mary.example.com/photo123/">the original photo page</a>.
</div>

attribution details

class name "attribution"

  1. if on a hyperlink (<a href>), the "href" indicates the suggested link to the original item that is being licensed and contains copyright information for the item being licensed.
  2. if on an hCard, the "fn" of the hCard indicates the name of an author/creator of the work, and the "url" indicates the URL that is suggested for linking to their name (prefer the first "url" with "uid" if any, otherwise the first "url" if the hCard has more than one).
  3. if not on a hyperlink nor an hCard, then the element indicates the name of an author/creator of the work.

see also