For more single-file and XMLTV downloads of this data please see /tv/data/listings.
This data is available for reuse. However if you are reusing it please let me know <email@example.com> and consider joining the development list. See http://www.bleb.org/tv/ for details.
The directories -1 to 6 contain listings for each day as an offset from today, ie. "-1" is yesterday, "0" is today etc.
Within these directories are a set of XML files named shortname.xml, where "shortname" is directly converted into the displayed name (see the source code for details).
The format of the XML files can be seen in this mailing list posting, with the exception that the last programme on each day will not have an end time or duration.
PLEASE NOTE, FAILING TO FOLLOW THESE RULES MAY GET YOUR IP/APPLICATION BANNED. THEY AREN'T DRACONIAN BUT ARE TO ALLOW TRACKING OF EXACTLY WHO/WHAT IS USING THE DATA.