cc-devel AT lists.ibiblio.org
Subject: Developer discussion for Creative Commons technology and tools
List archive
Re: [cc-devel] Using ccREL with individual media elements on a page
- From: Dan Mills <dan AT creativecommons.org>
- To: Nathan Yergler <nathan AT yergler.net>
- Cc: "cc-devel AT lists.ibiblio.org" <cc-devel AT lists.ibiblio.org>
- Subject: Re: [cc-devel] Using ccREL with individual media elements on a page
- Date: Mon, 15 Apr 2013 14:30:17 -0700
Hi all,
Thanks for jumping in, my ccREL-fu is rather low.
Anhad, I think the key is to understand the 'about' property: ccREL statements on a page can be 'about' any URI. See:
http://www.w3.org/Submission/ccREL/#SECTION00031000000000000000
And search for 'about=' a few times so you can see some examples. That allows you to put the attribution where it makes most sense and style it as needed, the structure is not rigid.
Dan
On Monday, April 15, 2013 at 10:53 AM, Nathan Yergler wrote:
Hi Anhad,It's been a while since I looked at those examples, but I suspect theeasiest approach would be to move the <img> tag outside of the <div>in the example, and use CSS as you suggested to prevent it from beingdisplayed.Cheers,NRYOn Sat, Apr 13, 2013 at 5:38 PM, Anhad Jai Singh <ffledgling AT gmail.com> wrote:Hi,During a recent discussion with Dan about using ccREL to display licensinginformation 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 associatelicensing information to a specific file/piece of media on the page, but donot 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 <spanproperty="dct:title">Sharing Creative Works</span>, by <ahref="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 guidelicensing information explicitly on the page and if one were to hide theparts 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 thelicensing meta-data with the image in a invisible form. Something that ispresent in the DOM of the page but is not visible to the user (This can beused by other scripts, plugins etc running in the background). One obviousway to do it would be to simply wrap the license text in another <div> tagand edit the CSS properties of the page to hide the contents of the tag, butI am hoping there is a better way to go about this.Is anyone aware of alternate representations or any solutions that wouldwork in such a scenario?--Regrads,Anhad Jai Singh (:ffledgling)_______________________________________________cc-devel mailing list_______________________________________________cc-devel mailing list
-
[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.