cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
[cc-devel] Using ccREL with individual media elements on a page
- From: Anhad Jai Singh <ffledgling AT gmail.com>
- To: cc-devel AT lists.ibiblio.org
- Subject: [cc-devel] Using ccREL with individual media elements on a page
- Date: Sun, 14 Apr 2013 06:08:59 +0530
Hi,
During a recent discussion with Dan about using ccREL to display licensing information on a page we found ourselves in a bit of a quandary.
During a recent discussion with Dan about using ccREL to display licensing information on a page we found ourselves in a bit of a quandary.
I want to embed the licensing information for media in a page and associate licensing information to a specific file/piece of media on the page, but do not want this information to be part of the visible HTML.
<div about="CC_image.png" xmlns:dct="http://purl.org/dc/terms/" xmlns:cc="http://creativecommons.org/ns#"> <img src=""CC_image.png"" height="200px" /> <br /> This image, entitled <span property="dct:title">Sharing Creative Works</span>, by <a href=""http://creativecommons.org/" property="cc:attributionName" rel="cc:attributionURL dct:creator">Creative Commons</a> is licensed under a <a rel="license" href=""http://creativecommons.org/licenses/by/3.0/"> Creative Commons Attribution 3.0 Unported License</a>. </div>
The example(above) from the ccREL by Example guide (http://labs.creativecommons.org/2011/ccrel-guide/#Images) displays licensing information explicitly on the page and if one were to hide the parts of the text outside of the tags, then the license would be incomplete. I was wondering if there was an alternate way to represent/associate the licensing meta-data with the image in a invisible form. Something that is present in the DOM of the page but is not visible to the user (This can be used by other scripts, plugins etc running in the background). One obvious way to do it would be to simply wrap the license text in another <div> tag and edit the CSS properties of the page to hide the contents of the tag, but I am hoping there is a better way to go about this.
Is anyone aware of alternate representations or any solutions that would work in such a scenario?
--
<div about="CC_image.png" xmlns:dct="http://purl.org/dc/terms/" xmlns:cc="http://creativecommons.org/ns#"> <img src=""CC_image.png"" height="200px" /> <br /> This image, entitled <span property="dct:title">Sharing Creative Works</span>, by <a href=""http://creativecommons.org/" property="cc:attributionName" rel="cc:attributionURL dct:creator">Creative Commons</a> is licensed under a <a rel="license" href=""http://creativecommons.org/licenses/by/3.0/"> Creative Commons Attribution 3.0 Unported License</a>. </div>
The example(above) from the ccREL by Example guide (http://labs.creativecommons.org/2011/ccrel-guide/#Images) displays licensing information explicitly on the page and if one were to hide the parts of the text outside of the tags, then the license would be incomplete. I was wondering if there was an alternate way to represent/associate the licensing meta-data with the image in a invisible form. Something that is present in the DOM of the page but is not visible to the user (This can be used by other scripts, plugins etc running in the background). One obvious way to do it would be to simply wrap the license text in another <div> tag and edit the CSS properties of the page to hide the contents of the tag, but I am hoping there is a better way to go about this.
Is anyone aware of alternate representations or any solutions that would work in such a scenario?
Regrads,
Anhad Jai Singh (:ffledgling)
Anhad Jai Singh (:ffledgling)
-
[cc-devel] Using ccREL with individual media elements on a page,
Anhad Jai Singh, 04/13/2013
- Re: [cc-devel] Using ccREL with individual media elements on a page, Jonas Öberg, 04/15/2013
-
Re: [cc-devel] Using ccREL with individual media elements on a page,
Nathan Yergler, 04/15/2013
- Re: [cc-devel] Using ccREL with individual media elements on a page, Dan Mills, 04/15/2013
Archive powered by MHonArc 2.6.24.