XMLTV Format?
jcanistrum <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <CAGf4ZZvts4hGLpZP3QmvWijsdqLsnwE9_GbSZDADLpkvfUwHYg@mail.gmail.com> |
Hi, I´m not sure it is the right place to post this question, if not, I apologize for the inconvenience. I'm working with a comprehensive list of tv programming that include not only each program but also each advertisement or advertising call. Each list contains programming a month and can contain up to 40,000 rows and in general only 1,000 unique programs. As far as I understand the XMLTV format contains a header to describe the channels and later their referenced by their unique codes, but wouldn´t it be more efficient and produce much smaller files if we could have a XML group to describe the program and another to describe the schedule using just program codes? Something that would resembles the example below. <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE tv SYSTEM "xmltv.dtd"> > > >> <tv source-info-url="http://www.schedulesdirect.org/" >> source-info-name="Schedules Direct" generator-info-name="XMLTV/$Id: >> tv_grab_na_dd.in,v 1.70 2008/03/03 15:21:41 rmeden Exp $" >> generator-info-url="http://www.xmltv.org/"> > > <channel id="I10436.labs.zap2it.com"> > > <display-name>13 KERA</display-name> > > <display-name>13 KERA TX42822:-</display-name> > > <display-name>13</display-name> > > <display-name>13 KERA fcc</display-name> > > <display-name>KERA</display-name> > > <display-name>KERA</display-name> > > <display-name>PBS Affiliate</display-name> > > <icon src="file://C:\Perl\site/share/xmltv/icons/KERA.gif" /> > > </channel> > > <channel id="I10759.labs.zap2it.com"> > > <display-name>11 KTVT</display-name> > > <display-name>11 KTVT TX42822:-</display-name> > > <display-name>11</display-name> > > <display-name>11 KTVT fcc</display-name> > > <display-name>KTVT</display-name> > > <display-name>KTVT</display-name> > > <display-name>CBS Affiliate</display-name> > > <icon src="file://C:\Perl\site/share/xmltv/icons/KTVT.gif" /> > > </channel> > > > <programme id="1111111111"> > > <title lang="en">NOW on PBS</title> > > <desc lang="en">Jordan's Queen Rania has made job creation a priority >> to help curb the staggering unemployment rates among youths in the Middle >> East.</desc> > > <date>20080711</date> > > <category lang="en">Newsmagazine</category> > > <category lang="en">Interview</category> > > <category lang="en">Public affairs</category> > > <category lang="en">Series</category> > > <episode-num system="dd_progid">EP01006886.0028</episode-num> > > <episode-num system="onscreen">427</episode-num> > > <audio> > > <stereo>stereo</stereo> > > </audio> > > <previously-shown start="20080711000000" /> > > <subtitles type="teletext" /> > > </programme> > > <programme id="22222222"> > > <title lang="en">Mystery!</title> > > <sub-title lang="en">Foyle's War, Series IV: Bleak >> Midwinter</sub-title> > > <desc lang="en">Foyle investigates an explosion at a munitions >> factory, which he comes to believe may have been premeditated.</desc> > > <date>20070701</date> > > <category lang="en">Anthology</category> > > <category lang="en">Mystery</category> > > <category lang="en">Series</category> > > <episode-num system="dd_progid">EP00003026.0665</episode-num> > > <episode-num system="onscreen">2705</episode-num> > > <audio> > > <stereo>stereo</stereo> > > </audio> > > <previously-shown start="20070701000000" /> > > <subtitles type="teletext" /> > > </programme> > > > <programmeTime start="20080715023000 -0600" stop="20080715040000 -0600" >> channel="I10436.labs.zap2it.com"> > > <programme id>22222222</id> > > </programmeTime> > > <programmeTime start="20080715040000 -0600" stop="20080715043000 -0600" >> channel="I10436.labs.zap2it.com"> > > <programme id>111111111</id> > > </programmeTime> > > </tv> > > Regards, Joao Carlos ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ xmltv-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xmltv-users