logo       

Re: Re: rfe: tb_grab_hu/tv_sort (fwd): msg#00183

tv.xmltv.devel

Subject: Re: Re: rfe: tb_grab_hu/tv_sort (fwd)

Ziegler Gábor <ziegler@xxxxxxxxxxxxxxxxx> writes:
> Stefan Siegl írta:
>>It'd be nice if you could give it a try and test whether it's output
>> is okay.
>>
> Now testing, will take some time port.hu listings are slow.

ACK

>>Comparing the website to the output is a little bit painful
>>
> I use to do this with tvime and a web browser :-))

hmm, but this doesn't make it a nicer job. Whether I compare from
out of emacs or tvtime doesn't matter I think ;-)

>>Since the grabber's sources provide three days of data per page I
>>furthermore changed it to increase by three days in the bumping
>> function nextday().
>>
> Seems suspicious to me.
> The URL-s used are the follwoings. e.g. for station "mtv" on today [...]
> http://www.port.hu/pls/tv/tv.prog?i_days=1&i_ch_nr=1&i_ch=1

The grabber uses
http://www.$d/pls/tv/tv.channel?i_ch=$ch_port_id&i_days=$interval
as it's source. Specifying i_ch_nr variable is possible. However I
didn't know that i_ch_nr works. Due to speed reasons I think not
specifying it (thus sticking to grabbing three days per shot) is
more clever.

> i_days is the day offset from current date, current day has an offset
> 1 (one), beware, the page always shows ONE DAY

it's the offset, that's correct. Whether it displays one day or
several depends on i_ch_nr ...

> i_ch is the channel identifier

ACK

> i_ch_nr is number of channels per page. It is used for customizable

ACK for /tv.prog

NACK for /tv.channel, here it specifies how many days into the future
shall be written out (of the same channel).

best regards,
Stef@n

--
Folks, I do hate private homepages, since they mostly don't have
anything to say. Here's mine: http://home.vr-web.de/~stefan-siegl/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise