[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TV] Transcoding (to XMLTV) and bulk downloads now available [beta]



Hi Andrew

Looking good! For the XMLTV stuff run a sample output through tv_cat for 
validation. It is quite pedantic, but I think it sticks strictly to the DTD.

The children elements of <programme> need to be in the following order:
  title
  sub-title
  desc
  category

I tried it out and it is really quick, good work Andrew.

John

On Saturday 07 February 2004 16:06, you wrote:
> Hi,
>
> As promised here:
>
>      http://www.bleb.org/tv/maillist/msg00077.html
>
> ...there are is now a bulk-download and transcoding to XMLTV interface
> available. This is still very beta, but seems to work OK.
>
>               *** COMMENTS/TESTING DEFINITELY REQUIRED ***
>
> In time this may become the preferred/only way of downloading the data.
> The seperate files are available at http://www.bleb.org/tv/data/listings/
> and the new transcoding interface can be seen at:
>
>     http://www.bleb.org/tv/data/listings?help
>
> eg. in shell script:
>
>     # Get yesterday's, today's and tomorrow's listings in XMLTV format
>     #
>     BASE_URL='http://bleb.org/tv/data/listings'
>     DAYS=-1,1,1
>     FORMAT=XMLTV
>     FILE=BZIP2
>     CHANNELS=bbc1,bbc2,itv1,ch4,five
>
>     wget -U 'My TV Fetching application (andrew@xxxxxxxx)' \
>          -O 'bleb-xmltv.bz2' \
>         
> "$BASE_URL?days=$DAYS&format=$FORMAT&file=$FILE&channels=$CHANNELS"
>
> Thanks to:
> ~~~~~~~~~~
>     * John Knottenbelt and Chris Moore for their XSLT work
>       (see http://www.bleb.org/tv/data/bleb2xmltv.xsl)
>
>     * Jonathan Gorham for suggestions and helpful code.
>
> If anyone's got a way of testing this with XMLTV applications (whether
> that's MythTV or some viewer), I'd be very interested to hear about it
> via the mailing list.
>
> Cheers,
>
> Andrew