The UTR-Online flash applet (furtheron called "UTR-Online", not to be confused with the website url!) is an online flash applet which displays the .utr files which are also used by the UTR.
The UTR-Online looks a lot like the Realtime NG, but it does nothing with the IVAO or VATSIM network.
The only thing the UTR-Online does, is displaying a timetable of a virtual airline.
A .utr file (klm.utr or baw.utr) is required to use the UTR-Online on your website, but there are a few small differences between how the desktop version of the UTR reads the files and how the UTR-Online does read them:
- Does not have a map mode.
- Does not do anything with the validity period.
- Does only display flights which arrive today (with the margin at 0000UTC time).
- Is able to show all arriving/departing flights regardless of the reference airport.
It should for example be used by VA's on their website to display departing flights to site visitors. For pilots this could be handy too, they can see the next flight to depart in a blink of an eye.
Embed the UTR Online in your website!
Instructions:
- Make a utr file using the UTR SDK.
- Upload the utr file to your domain.
- Download the crossdomain.xml file, see description below.
- Use the customizing tools below to customize your UTR-Online applet.
- Copy and paste the code at the bottom of this page into your HTML.
The "crossdomain.xml" file
Because of security reasons, a flash applet cannot download a file from another domain directly. It first needs access from the domain where it is downloading from.
Therefore you need to put a "crossdomain.xml" file on the same domain as your .utr file.
This means if I put "dfl.utr" on the URL "http://www.utr-online.com/dfl.utr", a crossdomain.xml file must be valid on the addres "http://www.utr-online.com/crossdomain.xml".
See this site for more detailed information about crossdomain.xml files.
Download the needed crossdomain.xml HERE (rightclick, Save as...) and put it on your domain as described.
Important notice: The uploaded file which the UTR-Online will use does not need to have a .utr extenstion (like klm.utr), it can also have a normal extension like .txt (like klm.txt). Microsoft ISS even sometimes blocks .utr file, so it is actually BETTER to use the .txt extension.
The customizing tools:
|