Shrunken URLs for Air Canada Flight Status

Air Canada doesn’t make it easy to link directly to flight status information on their website, hiding the information in a pop-up window behind a complex URL that looks like this:

http://book.aircanada.com/pl/AConline/en/OverrideServlet
?USERID=GUEST
&EXTERNAL_ID=GUEST
&EMBEDDED_TRANSACTION=FlifoInfoServlet
&SO_SITE_OFFICE_ID=YULAC18AB
&LANGUAGE=US
&COUNTRY=CA
&SITE=SAADSAAD
&TRIP_FLOW=YES
&BOOKING_FLOW=NONE
&PRIVATE_LABEL=ACO_AC_AIR
&MARKET=CA
&AIRLINE_CODE=AC
&FLIGHT_NUMBER=7489
&B_DATE=200703180900

To avoid either having to visit the Air Canada website or entering a long URL like this, I hacked together a little PHP redirecting magic to enable the following:

  • http://ruk.ca/ac
  • http://ruk.ca/ac/FLIGHTNUMBER
  • http://ruk.ca/ac/FLIGHTNUMBER/DATE

The default date, if you don’t specify, is the current one; otherwise use YYYYMMDD. For example, to get the status of today’s flight 7489 from Charlottetown to Halifax:

Or to get the status of flight 861 on March 27th:

Omit both the date and the flight number, and you’ll get a form where you can fill both in. You’re welcome to use this for your own personal convenience (with the proviso that it make break or disappear at some future date).

Comments

Nathan's picture
Nathan on March 23, 2007 - 03:05

flightview.com has a similar form interface and can show you the actual location of the plane.

SUMERA SAJJAD's picture
SUMERA SAJJAD on December 17, 2007 - 04:24

alloy

Add new comment