I presume that they will help a bit further ... but if not ...
a bit of digging around shows ...
http://ontv.nzoom.com/channel_schedule
is a way in - with a list of available channels ... encoded as ...
<option>Select Channel</option>
<option value="allchannels">All Channels</option>
<option
value="http://ontv.nzoom.com/channel_schedule/0,1591,Saturday--1,00.html"
>TV ONE</option><option
value="http://ontv.nzoom.com/channel_schedule/0,1591,Saturday--2,00.html"
>TV2</option><option
value="http://ontv.nzoom.com/channel_schedule/0,1591,Saturday--3,00.html"
>TV3</option><option
value="http://ontv.nzoom.com/channel_schedule/0,1591,Saturday--4,00.html"
>TV4</option><option
value="http://ontv.nzoom.com/channel_schedule/0,1591,Saturday--9,00.html"
>PRIME</option> </select>
This leads to a textual list of channel names ...
TV ONE
TV2
TV3
TV4
PRIME
If you replace all spaces with "_" (i.e. TV ONE becomes TV_ONE) then you can
plug it into the URL from below as the channelDesc parameter
http://knossos.tvnz.co.nz/xml/output_pigml/1,,channelDesc=tv_one&amount=14,0
0.xml
(case of channel name not important)
amount=nn is the number of days to grab starting from local midnight
"today".
and it looks like all date/times are local NZ.
No end time for shows.
TV4 appears to be a part-time channel - with no formal indication of off-air
times.
Can also use a slightly different syntax for the URL to specify exact start
date ...
http://knossos.tvnz.co.nz/xml/output_pigml/1,,channelDesc=tv_one&date=150720
03&amount=1&unit=days,00.xml
(can also have:
- unit=programmes for an "amount" of programmes
- startinghour=nn
I guess for their own What's on now/next function
Paul
> -----Original Message-----
> From: xmltv-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:xmltv-devel-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ed Avis
> Sent: 12 July 2003 15:33
> To: Renaud, Andre
> Cc: xmltv-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xmltv-devel] RE: tv_grab_nz site change
>
>
> On Mon, 7 Jul 2003, Ed Avis wrote:
>
> >>I have been
> >>contacted by some of the web people at nzoom.com who pointed me to
> >>the location of one of their backend servers.
>
> >>http://knossos.tvnz.co.nz/xml/output_pigml/1,,channelDesc=tv_one
> &amount=14,00.xml
> >
> >Arg, another new grabber to write.
>
> Do you have any documentation on the file format and how to grab
> different channels or get a list of all channels?
>
> >>I've written the start of a new grabber which was supposed to be a
> >>lot cleaner,
>
> >>I've attached the partial grabber if anyone is interested.
> >
> >Thanks, I'll have a look.
>
> I haven't been able to get it working because Red Hat 6.2 includes
> only Python 1.5.2. Getting the current time is a problem. But I will
> try again on a newer system.
>
> The grabber can be downloaded from
> <http://attachments.gmane.org/bin13051.bin.att>.
>
> --
> Ed Avis <ed@xxxxxxxxxxx>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> Xmltv-devel mailing list
> Xmltv-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xmltv-devel
>
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
|