-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry I took a while to respond, but I was a bit busy.
On January 29, 2004 05:14 am, Peter Svensson wrote:
> OK. here's the perl app and the resulting TV.xml.
> Some notes;
>
> The xmltv module used is (it says) compatible with MythTV, but only if
> "recode latin1..utf-8 /tmp/TV.xml" is used. Possibly one could add some
> xmltv tag to make it parse anyway, I dunno. I use recode to get freevo to
> swallow it as well.
You don't need recode at all. The proper fix is to define the character set. I
also recommend the XMLTV metadata::
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv date="20040302000000 -0300"
source-info-url="http://source_website"
source-info-name="Source Name"
generator-info-name="tvguide"
generator-info-url="http://generator_website">
If, after doing this, a parser chokes, there is a bug in the parser.
You'll also find that Freevo and MythTV will handle the data fine after
defining the character set as above. (I only tested Freevo, though) The Expat
parser used by xmltv.py performs minimal validation while parsing and will
stop if it finds an error.
Hope that helps,
- --
James Oakley
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAH0RsKtn0F7+/lLMRAusnAJoCoup24k1spQ3YSbBEif/pJILT7wCcDz72
1ldZ71XM7MtNQdGZEN1WRM0=
=zoqT
-----END PGP SIGNATURE-----
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel