Last updated:
Thursday 27 October 2005 11:02.04 (BST)
About TPEG
TPEG (Transport Protocol Experts Group) is a standardised format for travel news reports, allowing incidents relating to many different modes of transport to be captured in a structured way. The BBC has been a key partner in the development of TPEG, a project led by the EBU (European Broadcasting Union). Use of TPEG industry wide will allow for the development of powerful systems to manage and display travel news; developers will be able to write systems and be confident of consistent incoming data. You can investigate the format further through the following samples and downloads.
Samples
These links point to a live TPEG test feed, and show how it appears using different language entity files. To view the files you need an XML/XSL enabled browser (such as Internet Explorer 6).
Downloads
You need three separate files to view the travel news content on your own machine.
- The TPEGml data file contains the TPEG formatted travel news data; the content itself.
- The DTD (document type definition) files ensure the data files follow the correct format; the application you use to view the data uses the DTD to validate the data file.
- The entity file contains the controlled vocabulary used in the data file. Instead of text, the data file uses a code for each word or phrase used to build a travel news story. This means that we can replace the code with words from any language. Download the data dictionary, split for convenience into words dealing with location, road transport and public transport, to see how the controlled vocabulary works.
Finally, you may want to download the images used to mark incident severities; these are, however, optional.
To download the files right click on the link and select "save as". Save the unzipped DTD's, entity file of your choice and TPEGml data file in the same folder. To view the associated images unzip them into a folder called 'images' on the same level as the folder holding the other files.