On 2/25/06, Gorka Olaizola <[EMAIL PROTECTED]> wrote:
On Sat, Feb 25, 2006 at 03:35:08AM +0000, Justin Wetherell wrote:
> I found an AUDIO_SUFFIX in my local_conf and it also exists in
> freevo_conf
>
I don't have it but I found references to it in the freevo code.
I have added it to my config
I found more bugs in the creation of the fxd
The feed is:
http://feeds.feedburner.com/MetalInjectionGuerillaRadio
The traceback:
fxd file /mnt/datos/media/rss/audio/MSRcast_episode_14.fxd corrupt
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/freevo/fxditem.py", line 129, in
parse
parser = util.fxdparser.FXD(fxd_file)
File "/usr/lib/python2.3/site-packages/freevo/util/fxdparser.py", line
181, in __init__
self.tree = FXDtree(filename)
File "/usr/lib/python2.3/site-packages/freevo/util/fxdparser.py", line 92,
in __init__
self.tree = self.parse(f)
File "/usr/lib/python2.3/site-packages/_xmlplus/utils/qp_xml.py", line
134, in parse
p.Parse('', 1)
ExpatError: unclosed CDATA section: line 11, column 0
And the fxd:
<freevo>
<movie title="MSRcast Episode 14: Raise Your Swords">
<video>
<file
id="f1">/mnt/datos/media/rss/audioMSRcast_episode_14.mp3</file>
</video>
<info>
<plot><![CDATA[ Prepare to raise Thy swords. </plot>
</info>
</movie>
</freevo>
It seems that the CDATA is not closed properly. The feed has more text than
only a line.
In this address there is a Python rss parser that uses pyXML. It seem that it
doesn't support rss2.0 but maybe it is useful for the simple parsing you are
doing
http://www.mnot.net/python/RSS.py
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFEAEaIAJWwPWWa2yoRAq4yAJwNY8OvopLOZBs7Oa6dzKVk7QhxiwCfZ2vf
zRx+h0GeH7twGOVGTnxRqdU=
=OTq5
-----END PGP SIGNATURE-----