Skip to Content.
Sympa Menu

cc-metadata - Re: Verify 1.0

cc-metadata AT lists.ibiblio.org

Subject: discussion of the Creative Commons Metadata work

List archive

Chronological Thread  
  • From: Lisa Rein <lisarein AT finetuning.com>
  • To: Chris Karr <br284 AT aetherial.net>
  • Cc: cc-metadata AT lists.ibiblio.org
  • Subject: Re: Verify 1.0
  • Date: Sun, 21 Sep 2003 16:24:52 -0700

isn't the parser skipping it because it's commented out?

you'll need to aggregate the pages and then strip out the rdf and create "real" xml files (with declarations and things), and then it should parse, right?

just a guess at what the problem might be. Comments are the same in XML as HTML, so the parser is working correctly.

lisa


On Sunday, September 21, 2003, at 08:08 AM, Chris Karr wrote:

Hello all. I'm the Oyez technical lead who has been responsible for putting online and tagging the Oyez MP3s using the CC metadata scheme. (Keep your eyes open, as we sill be releasing a lot of audio this week.) Mike Linksvayer and I were discussing the metadata scheme and I got the crazy idea to create a program that crawls the filesystem and checks whether one's MP3 files had verified licenses. This program is called "Verify" and is available for MacOS X at http://aetherial.net/Verify/ . The 1.0 release came out this week and I'm interested in any comments people on this list may have about the application. It is open source and the code is available on the site above. So, take a look and if you have any comments or bugs, please let me know.

There are still a few issues with the program. First of all, it does not verify Ogg files quite yet. This should be arriving shortly in a later version. A larger issue is that it does not support reading commented RDF from HTML files Such as the example below:

<!-- Creative Commons License -->
<a href="http://creativecommons.org/ {license URL} ">
<img alt="Creative Commons License" border="0"
src="http://creativecommons.org/images/public/somerights"; /></a>
<br />
This work is licensed under a
<a href="http://creativecommons.org/ {license URL} ">Creative Commons License</a>.
<!-- /Creative Commons License -->
<!--
<rdf:RDF xmlns="http://web.resource.org/cc/";
xmlns:dc="http://purl.org/dc/elements/1.1/";

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
<Work rdf:about="">
<license rdf:resource="http://creativecommons.org/ {license URL} " />
</Work>
</rdf:RDF>
-->

The problem I have is that I'm using an XML parser to go through the documents linked in the tags, and it will completely skip past the RDF file above. Perhaps I need to implement screenscraping to get the XML out of the HTML page, but I have to think that there is a better solution. One idea that I had would be to make the rdf:RDF elements children of the head node in an HTML document. However this assumes that the rest of the HTML is proper XML -- which it probably isn't and inclusion of these extra elements may conflict with XHTML standards.

I guess another question I have is what is the justification of allowing the RDF files to live in the HTML documents? Is it so difficult to have the users create a single XML file with all the licenses of the content they are distributing, or have them use single files per work? (I can see how this would get messy quick though...)

Just some thoughts from an app programmer. Any answers?

-Chris

PS. Verify is written in Java using Apple's Java and Cocoa development tools.

_______________________________________________
cc-metadata mailing list
metadata AT creativecommons.org
http://lists.ibiblio.org/mailman/listinfo/cc-metadata





Archive powered by MHonArc 2.6.24.

Top of Page