Difference between revisions of "Web Integration/RDFaExample"

From Creative Commons
Jump to: navigation, search
(Created page with 'Example of the benefit of using this metadata in your webpage: File:Metadata scrapper example.png')
 
Line 1: Line 1:
Example of the benefit of using this metadata in your webpage:
+
Using [[RDFa]] to add metadata about your Creative Commons licensed works will enable machines (search engines, web browsers, etc) to learn more about your work.  To learn more about what RDFa does and how, see [[RDFa]].
 +
 
 +
The advantages of doing this include being indexed by new search capabilities, such as from Yahoo! or Google, to limit image results to only images licensed under a specific CC license.
 +
 
 +
Another advantage of using this metadata is that when someone clicks on the license text/button on your site and is brought to the CC license deed, the [[Metadata Scraper]] will parse the original page and display added personalized info to the deed.  See in the below image that the name of the author is shown along with copyable text to attribute the work:
  
 
[[File:Metadata scrapper example.png]]
 
[[File:Metadata scrapper example.png]]
 +
 +
The copyable text is:
 +
: <div xmlns:cc="http://creativecommons.org/ns#" about="http://grossmeier.net/"><a rel="cc:attributionURL" property="cc:attributionName" href="http://grossmeier.net">Greg Grossmeier</a> / <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a></div>
 +
 +
This produces text that looks to the viewer as simply "Greg Grossmeier / CC BY-SA 3.0" where the name is linked to the original work (http://grossmeier.net) and the license name is linked to the actual license (http://creativecommons.org/licenses/by-sa/3.0/).  The added metadata also tells machines what those links mean and who the author is.

Revision as of 23:00, 30 July 2009

Using RDFa to add metadata about your Creative Commons licensed works will enable machines (search engines, web browsers, etc) to learn more about your work. To learn more about what RDFa does and how, see RDFa.

The advantages of doing this include being indexed by new search capabilities, such as from Yahoo! or Google, to limit image results to only images licensed under a specific CC license.

Another advantage of using this metadata is that when someone clicks on the license text/button on your site and is brought to the CC license deed, the Metadata Scraper will parse the original page and display added personalized info to the deed. See in the below image that the name of the author is shown along with copyable text to attribute the work:

Metadata scrapper example.png

The copyable text is:

<a rel="cc:attributionURL" property="cc:attributionName" href="http://grossmeier.net">Greg Grossmeier</a> / <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">CC BY-SA 3.0</a>

This produces text that looks to the viewer as simply "Greg Grossmeier / CC BY-SA 3.0" where the name is linked to the original work (http://grossmeier.net) and the license name is linked to the actual license (http://creativecommons.org/licenses/by-sa/3.0/). The added metadata also tells machines what those links mean and who the author is.