Hi Dischi,

Thank you! The fix worked, of course ;-)

> But why are you modifing the tree? Why not just parse and the the
> stuff to kaa.epg.db (I guess that is what you are doing). No need for
> creating a xml file.
> 

I used xmltv.py as an example, so everything is very similar to xmltv.py.

This is what I am trying to do:
1.) get the include.zip file and the epg files from epgdata.com with 
wget and then unzip them (this takes most time in the whole business)
2.) link all channel*.xml, the genre.xml, the category.xml and the 
*de_qe.xml files together in one tree.
3.) put that tree and some other infos to the UpdateInfo class
all this is done in the _update_parse_xml_thread() function
4.) parse the tree in _update_process_step()

Unfortunately at the moment it seems to stop after parsing the channel 
elements, althought the tree looks fine...

> One other note: your original parser used SAX and kaa.xml does not
> support this. This is only a limitation of kaa.xml, libxml2 can handle
> this. So you could either add SAX support to kaa.xml or use libxml2
> directly and I will add the needed stuff when you send the parser to
> me. 

No need for that, I used SAX just because I found a good tutorial for it 
and it seems to be simple ;-)

Greetings
Tanja


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to