TPEG Parser Update

I have finally this evening got the tpeg DOM parser working correctly. This has taken an inordinately long time to figure out mostly due to the limitations of the minidom python module. I have had to resort to the inelegant solution of parsing the XML entity file first and then doing a string replace on the contents of the target file to get things like ‘severity’ resolved.

There is no point submitting this to the BBC backstage site unless I include some real examples so I am now working on this. I have put together a simple RSS 2.o example and I think I should put some sort of html table thing together as well. This should form enough examples for anyone with enough Python skills to ‘roll their own’.

My hope is that others might use this to embed the BBC traffic data into their own projects.

Comments

Leave a Reply