HTML To XMLTV

Discussion of Version 3 and developing lua grabbers
Post Reply
remlap
Posts: 15
Joined: Fri Dec 19, 2008 1:43 pm

HTML To XMLTV

Post by remlap » Wed Feb 18, 2009 12:52 am

Hi I was wondering how I could convert:

http://www.orbit.net/Set/WeeklySchedule.aspx?CH=MT&s=1 - it will ask you to print click no.

To xmltv.

Thanks

alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: HTML To XMLTV

Post by alanbirtles » Wed Feb 18, 2009 8:49 am

you would have to write a parser in lua. The page appears to be valid xml so it should be possible to use the lua sax parsers to do this (or use lib\xml_to_table.lua see http://www.birtles.org.uk/xmltv/wiki/in ... l_to_table)

remlap
Posts: 15
Joined: Fri Dec 19, 2008 1:43 pm

Re: HTML To XMLTV

Post by remlap » Tue Feb 24, 2009 2:28 pm

Out of my league I think.

Cheers

Post Reply