09-14-2006 Update: XMLTraffic_V1.1_beta.rar
The plugin is now configurable. Examples are provided in the download for dutch and usa traffic. Read the readme.txt for details.
I have developed a plugin for RR that will show information on traffic jams. The plugin is getting this information from a XML, HTML or text file in the plugin directory. The file can be downloaded from the internet using a supplied script. I'm using the AutoNetDetect tools myself so that whenever a internet connection becomes available the traffic information is downloaded in the plugin directory. Because no standard is defined for traffic info message in XML format (at least not to my knowledge, please proof me wrong) I have to change the function to extract the data from the text or XML file per internetsite the imformation is coming from. Currently if have made this work for The Netherlands but if you supply me the location of the traffic information for your region I will see what I can do. So, I'm calling upon my fellow dutch-people to test this and let me know the results.
XMLTraffic plugin how-to
Extract the attached rar file in the (new to create) plugin\XMLTraffic directory in the RR Path.
If you are using a plugin for the first time, please copy the wait.jpg and wait.skin to your RR skin directory if it does not already exist.
In my skin's ExecTbl.ini I added the following line:
"TRAFFIC","PLUGIN;XMLTraffic;C:\Program Files\Road Runner\Plugins\XMLTraffic\XMLTraffic.exe"
I can now call the traffic info page using a button with the command "TRAFFIC"
A sample XML is supplied in the RAR so you will see the dutch traffic info of the 26th of august at 23:30.
XMLTraffic skining how-to
If have created the following labels and buttons in the XMLTraffic plugin (see sample XMLTraffic.skin)
TRAFFIC_ROAD Name of the highway, road
TRAFFIC_LOCATION Location between which cities or places the traffic jam is
TRAFFIC_DESC More detailed info about the traffic jam
TRAFFIC_LENGTH The length of the traffic jam
TRAFFIC_LON Longitude info of the traffic info
TRAFFIC_LAT Latitude of the traffic info
For the above labels: the Tooltip property of the label is used to identify the number of the label. This means you can add the same labels in screen to create a list of traffic info. Max number of the tooltip will set the "page size" used to calculate the number of traffic info pages.
TRAFFIC_TOTAL Number of traffic jams found in the XML, HTML or txt file
TRAFFIC_TOTAL_LENGTH Total Length of traffic jams
TRAFFIC_UPDATED Time the information was last updated
TRAFFIC_PAGE Current page of info being looked at
TRAFFIC_PAGES Number of traffic info pages
TRAFFIC_PREV Go one page back
TRAFFIC_NEXT Go to the next page (if available)
RELOAD_TRAFFIC Reload the traffic info (after the XMl, HTML or text file was updated)
I'm thinking of adding another screen with mobile speed camera info.