This publication was withdrawn on
Transport Direct closed on 30 September 2014.
Information about Transport Direct's intelligent links.
MS Excel Spreadsheet, 1.76MB
This file may not be suitable for users of assistive technology. Request an accessible format.
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email email@example.com. Please tell us what format you need. It will help us if you say what assistive technology you use.
You can use intelligent links on your website to give directions to any number of destinations of your choosing. Intelligent links open Transport Direct’s journey planning input page with your destination pre-set, like this: get directions
Here are 2 examples:
- Corfe Castle: how to get here (below map, under ‘Plan your visit’)
- Lower Red Lion, St Albans (click Transport Direct logo in ‘How to get there’ section)
Creating an intelligent link is easy. If you have several destinations and want to create a link for each, download the Excel link generator which automates the process.
For just 1 link, use this template link and follow the 2 steps described below:
- change 526594,179632 to the X,Y co-ordinates of your destination (you can convert a postcode into co-ordinates with websites such as Streetmap)
- change Royal+Albert+Hall to the name of your destination. You can also change the text “get directions” to anything you like, if you wish.
In HTML, the link would look something like this:
<a href=”http://www.transportdirect.info/web2/journeyplanning/jpLandingPage.aspx?&id=bg2012&d=526594,179632&dn=Royal+Albert+Hall” target=_blank>Get directions </a>
(The target=_blank command will make Transport Direct open in a new browser window, so that your visitor doesn’t ‘lose’ the page they were looking at).
For more ways to add Transport Direct functionality to your website, download our zip file of PDF helpsheets (ZIP, 781KB).
Published: 12 July 2007
From: Department for Transport