Skip to Content.
Sympa Menu

cc-metadata - Fwd: Multiple encodings & ccvalidator

cc-metadata AT lists.ibiblio.org

Subject: discussion of the Creative Commons Metadata work

List archive

Chronological Thread  
  • From: "Sylvain ZIMMER" <sylvinus AT lynucs.org>
  • To: cc-metadata AT lists.ibiblio.org
  • Subject: Fwd: Multiple encodings & ccvalidator
  • Date: Sun, 3 Oct 2004 13:20:42 +0200 (CEST)

Hello !

I'm going to implement CC RDF metadata in my music albums page.

The problem is that I have multiple encodings of my files (MP3, OGG q4,
OGG q7, ...) , so what about the <Work> tag ? The urn:sha1 will differ in
the different encodings...

If I got it, if I only put the SHA1 of my MP3 files, the CCTAG validation
will fail on the OGG files, right ?

So is having multiple <Work> tags for a track the only solution ? That
wouldn't be great at all... what if we want to encode on the fly (like
allofmp3.com), and we have tons of sha1's for only one track ?

Thanks in advance for your help !!



Second minor problem : the
http://validator.creativecommons.org/validate.py fails for me. I get this
error :

RDF segment found.
Segment 0 [show raw RDF]
--> -->


UnicodeDecodeError Python 2.3.3: /usr/local/python233/bin/python
Sun Oct 3 05:57:00 2004

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

/web/validator/www/validate.py
227
228 if __name__ == '__main__':
229 displayValidation()
230
231
displayValidation = <function displayValidation>

/web/validator/www/validate.py in displayValidation()
125 style='display:none;')
126 output._('<pre>%s</pre>' %
unicode((support.html_quote(rdf)), 127
output.getEncoding() ) , 128 magnetize=False,
autolink=False)
129 output.endBlock()
global output = <module 'output' from '/web/validator/www/output.py'>,
output.getEncoding = <function getEncoding>

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 949:
ordinal not in range(128)
args = ('ascii', '&lt;rdf:RDF
xmlns=&quot;http://web.resource.org/...rks&quot; /&gt;
&lt;/License&gt;&lt;/rdf:RDF&gt;', 949, 950, 'ordinal not in
range(128)')
encoding = 'ascii'
end = 950
object = '&lt;rdf:RDF
xmlns=&quot;http://web.resource.org/...rks&quot; /&gt;
&lt;/License&gt;&lt;/rdf:RDF&gt;'
reason = 'ordinal not in range(128)'
start = 949









Archive powered by MHonArc 2.6.24.

Top of Page