iView home page
iView Multimedia Forum Index

FAQ FAQ     SearchSearch     MemberlistMemberlist     UsergroupsUsergroups    RegisterRegister  
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding Creative Commons License to select imges - not to all

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    iView Multimedia Forum Index -> HTML galleries
View previous topic :: View next topic  
Author Message
snah



Joined: 19 Apr 2005
Posts: 69
Location: Switzerland

PostPosted: Mon Sep 24, 2007 11:17 pm    Post subject: Adding Creative Commons License to select imges - not to all Reply with quote

Hello,
I am looking for a way to apply various CC-Licenses to various images using the HTML-Engine from iVMP.

In iView I would assign a certain CC-License to certain image and another CC-License to another image and so on.

As there are various types of licenses I am now looking for a way to tell the HTML-Engine to create different HTML-code, depending on the type of CC-License selected. In iView I would select a field to store that data.

The objective could be achieved by a script that just adds that text and icons for each image - at least for the viewer of the Gallery.
But the great thing about a CC-License is that one such license comes in 3 versions that is:
- human readable and understandable text
- lawyer readable and understandable text
- machine readable and understandable text (RDF/XML)

In this post the RDF/XML part is of interest. This XHTML code includes metadata that enables the work to be found via Creative Commons-enabled search engines.

What I am trying to do is to include the RDF/XML-code into the generated HTML code for the media-HTML. The difficulty is that RDF/XML Code varies for each Image.

So the HTML-engine needs to check each image and get the specific RDF/XML code of the corresponding image and insert(add) it to the HTML-Code from the media.html.

It seems difficult to me to achieve this.

Is there a way to tell the HTML-Engine to accomplish this?
Does anybody have an idea if this can be accomplished at all from within the iView HTML-Engine?
Would anybody have a great suggestion to reach this goal?

Thank you for your attention.
Your feedback is highly appreciated.

Below is a code sample of CC-License by-nc-nd (Attribution-Noncommercial-No Derivative Works)
Code:
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/ch/">
<img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-nc-nd/2.5/ch/88x31.png" /></a>
<br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/ch/">
Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 Switzerland License</a>

Information about CC-Licenses can be found here:
http://creativecommons.org/license/
_________________
Dig-it-all

iVMP v3.1.3 / PS CS2 / Windows XP Prof. / plenty of CPU power, RAM and Diskspace
Back to top
View user's profile Send private message Visit poster's website
johnbeardy



Joined: 22 Nov 2004
Posts: 1137
Location: Dulwich, South ("Sarf") London

PostPosted: Tue Sep 25, 2007 5:55 am    Post subject: Reply with quote

So, depending on a choice in iView, you want to vary a url and alt tag? Is that right?

What precisely do you do in iView? Are you entering a value in a custom field?

Have you thought of using a JavaScript to do the work client side? This is an example.

John
_________________
PC and Mac too
iView scripts & utilities
Back to top
View user's profile Send private message Visit poster's website
snah



Joined: 19 Apr 2005
Posts: 69
Location: Switzerland

PostPosted: Tue Sep 25, 2007 9:34 am    Post subject: Reply with quote

Hi John,

thanks for your reply.
(couldn't find your example)
Anyhow let me elaborate a bit more and answer your questions.

iView is my DAM, so I'd like to enter all image specific data only in iView (and nowhere else).

To add the CC-License information for a specific image, I imagine to use a field for flagging, depending on what license is used. This could well be the field 'Rights Usage Terms' (or a custom field). The information entered can be a value that later references to the specific license.

Java certainly is an option - why not.

The key issue (and difficulty) is that the HTML-engine produces the output (from media.html) and that the generated HTML-code includes the RDF/XML data that varies for each image.

For each image the URL varies. The alt-Tag as well, but that alt-Tag is populated with image describitve data and not with license specific data.

The conventional way of creating a template does not apply to obtain the RDF/XML license specific code that varies. This because the HTML-engine reads data from iView and simply inserts this data into the generated output (->media.html).

So I could imagine something like a JAVA-script that is embedded in media.html. This script must be processed for each image upon running the HTML-engine creating the gallery.

I don't know if the HTML-engine supports and executes embedded scripts upon the gallery creation process.

Hope this helps a step further.
Looking forward to receiving suggestion(s) from you or whoever wishes to contribute in finding a solution.

Hans
_________________
Dig-it-all

iVMP v3.1.3 / PS CS2 / Windows XP Prof. / plenty of CPU power, RAM and Diskspace
Back to top
View user's profile Send private message Visit poster's website
johnbeardy



Joined: 22 Nov 2004
Posts: 1137
Location: Dulwich, South ("Sarf") London

PostPosted: Tue Sep 25, 2007 10:23 am    Post subject: Reply with quote

OK, Hans, I did understand and that link helps (hover the cursor over the word "here" above).

Essentially what I'm doing there is (during iView's gallery generation) write a script into the HTML output. In my case that script says "calculate characters 7-13 from the filename and write them into the HTML on the browser". The script on each HTML page is different because I use iView:filename to hard code the filename into the script.

You could do the same with a custom field. It would say something like "if custom field value is x, write bla bla into the page, if...."

It isn't processed "upon running the HTML-engine creating the gallery." It is later, upon the web page being called up by the browser (you can also do a PHP server side solution).

John
_________________
PC and Mac too
iView scripts & utilities
Back to top
View user's profile Send private message Visit poster's website
snah



Joined: 19 Apr 2005
Posts: 69
Location: Switzerland

PostPosted: Tue Sep 25, 2007 11:55 am    Post subject: Reply with quote

Hi John,

ok. got your URL.
Yes that's an option. An automated entering of information upon a WEB-page is called by a user. Be this by means of JAVA or PHP.

Though the thing is that pages 'generated' that way are not especially search-engine-friendly. Hence search-engines providing selection criteria for CC-licenses like google, yahoo, flickr etc. cannot distinguish.

The basic idea of RDF/XML is to provide metadata (data describing data).
In my understanding the metadata must reside on servers in conjunction with the relevant data. Bringing that information together upon the display process is half the story. (Hope I got this right about the Search-Engines behaviour. Please correct me when I am wrong).

I normally use LYNX to analyse a WEB-page like a spider does. The result viewing 'generated' WEB-pages is just not quite the same as when a browser calls the same page (browsers are rather forgiving).
http://www.onepax.com/info/category/internet/search-engine-optimization/
_________________
Dig-it-all

iVMP v3.1.3 / PS CS2 / Windows XP Prof. / plenty of CPU power, RAM and Diskspace
Back to top
View user's profile Send private message Visit poster's website
johnbeardy



Joined: 22 Nov 2004
Posts: 1137
Location: Dulwich, South ("Sarf") London

PostPosted: Tue Sep 25, 2007 11:58 am    Post subject: Reply with quote

Accept what you say about JS, but PHP or another server side script would be searchable.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    iView Multimedia Forum Index -> HTML galleries All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



  © iView Multimedia Ltd. | All Rights Reserved Privacy Policy | Copyright | Site Map