Hi Anhad, this should *definitely* be validated by a semantic web guru, but I'd think you could specify this as metadata in a way similar to the below. You don't need to have it as part of the content and having it as part of the content is actually only one of the ways mentioned in the XHTML specification (section 24.3 - Metadata as content, available here http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-metaAttributes.html)
<img src="CC_image.png" height="200px" xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"> <meta property="dct:title">Sharing Creative Works</meta> <meta property="cc:attributionName">Creative Commons</meta> <link rel="cc:attributionURL dct:creator" href="http://creativecommons.org/" /> <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> </img> Sincerely, Jonas On Sun, Apr 14, 2013 at 2:38 AM, Anhad Jai Singh <[email protected]>wrote: > 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. > > 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? > > -- > Regrads, > Anhad Jai Singh (:ffledgling) > > _______________________________________________ > cc-devel mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/cc-devel > >
_______________________________________________ cc-devel mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/cc-devel
