Official FSAirlines Integration Pack: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<p>Your browser does not support iframes.</p> | <p>Your browser does not support iframes.</p> | ||
</iframe></pre> | </iframe></pre> | ||
The ''src="..."'' part determines which data is shown. Just copy the required url from the list of [[#Pages|pages]]. There are several [[# | The ''src="..."'' part determines which data is shown. Just copy the required url from the list of [[#Pages|pages]]. There are several [[#Parameters|parameters]] which can be added to the url. These can be used to change for example the language or the color of the included page. The ''rvi=xxxx'' parameter is mandatory and has to be changed to the [[Virtual Airline Overview|ID]] of your own Virtual Airline. All other parameters have to be added with a leading '&' just like the '&title=off' in the example. | ||
==For developers== | ==For developers== | ||
== | ==Parameters== | ||
Here is a list of all the parameters which are currently supported. | Here is a list of all the parameters which are currently supported. | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 23:25, 8 September 2010
The official Integration Pack
How to use
The Integration Pack has been designed for easy integration into any website. There are no special requirements to the webserver. The easiest way to get the data into your own website is by using the <iframe> HTML-Tag. Here's an example HTML-code:
<iframe width="600" height="500" src="http://remote.fsairlines.net/beta/roster.php?rvi=368&title=off"> <p>Your browser does not support iframes.</p> </iframe>
The src="..." part determines which data is shown. Just copy the required url from the list of pages. There are several parameters which can be added to the url. These can be used to change for example the language or the color of the included page. The rvi=xxxx parameter is mandatory and has to be changed to the ID of your own Virtual Airline. All other parameters have to be added with a leading '&' just like the '&title=off' in the example.
For developers
Parameters
Here is a list of all the parameters which are currently supported.
rvi=XXX | Virtual Airline ID number (mandatory) |
lng=XX | Language translation (Coming Soon) |
title=off | Hide the title of the pages |
hub=XXXX | Four letter ICAO code, used by Timetable to show flights to and from the selected airport |
cli=XXXXXX | Link Color, Six letter HTML Color code |
clv=XXXXXX | Visited Link Color, Six letter HTML Color code |
clh=XXXXXX | Hover Link Color, Six letter HTML Color code |
textcol=XXXXXX | Text Color, Six letter HTML Color code |
tblcol=XXXXXX | Table Heading Background Color, Six letter HTML Color code |
tbltextcol=XXXXXX | Table Heading Text Color, Six letter HTML Color code |
row1=XXXXXX | Data Row 1 Color, Six letter HTML Color code |
row2=XXXXXX | Data Row 2 Color, Six letter HTML Color code |
Pages
The following table shows all the pages which you can include in your own VA website.
Demos
Here can have a look at how the pages of the Integration Pack look like.
Basic VA data
<anyweb>http://remote.fsairlines.net/beta/roster.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/roster_2.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/fleet.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/fleet_2.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/timetable.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/timetable_2.php?rvi=7&title=off</anyweb>
Reports
<anyweb>http://remote.fsairlines.net/beta/pireps.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/finance.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/reliability.php?rvi=7&title=off</anyweb>
Statistics
<anyweb>http://remote.fsairlines.net/beta/pilotstats.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/mpilotstats.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/fleetstats.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/mfleetstats.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/countrystats.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/infobox.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/infobox2.php?rvi=7&title=off</anyweb>
Interactive
<anyweb>http://remote.fsairlines.net/beta/dispatch.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/application.php?rvi=7&title=off</anyweb>
Flights
<anyweb>http://remote.fsairlines.net/beta/flights_booked.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/flights_active.php?rvi=7&title=off</anyweb>
<anyweb>http://remote.fsairlines.net/beta/lastflights.php?rvi=7&title=off</anyweb>