Changing the Aircraft Details popup window

User-created resources that can help you get more out of your BaseStation software.

Moderators: admin, chrisg0wtz, KineticDavid, Moderators

Postby SabreJV » January 9th, 2007, 3:32 pm

If you try

http://www.aeroseek.com/webtrax/fboweb. ... t_id=BAW54

nothing happens yet inputting the flight number by hand in the box will pull back the flight. Its therefore a case of finding the correct syntax for the a url to pull data from the site without going through the popup box.

Unfortunately a quick look I cannot discover what that is or how its been done, maybe it gets encoded is not possible.

Good Luck
Sabrejv
SabreJV
 
Posts: 2805
Joined: February 7th, 2006, 4:53 am
Location: London

Postby MikeC » January 9th, 2007, 3:41 pm

SabreJV wrote:If you try

http://www.aeroseek.com/webtrax/fboweb. ... t_id=BAW54

nothing happens yet inputting the flight number by hand in the box will pull back the flight. Its therefore a case of finding the correct syntax for the a url to pull data from the site without going through the popup box.

Unfortunately a quick look I cannot discover what that is or how its been done, maybe it gets encoded is not possible.

Good Luck
Sabrejv
Hi Sabre

Yes, I've managed to get this far. I can't fathom the syntax to populate the flight box and get a search result.

If I manage to get it sorted I'll let everyone know!

MikeC
User avatar
MikeC
 
Posts: 801
Joined: September 17th, 2005, 1:43 pm
Location: Peterborough, UK

Postby SabreJV » January 9th, 2007, 3:47 pm

I probably did not explain things clearly the other links that have been published do not use any boxes to fill data in, you need to discover away to bypass the page with the fill-in box and access the looked up page directly this could be a totally different address. I've looked again and to get the details for BAW54 it needs this as an example....

http://www.fboweb.com/30/f/it.aspx?f=11917623

but how that number relates to BAW54 is their secret, so maybe a direct input is not possible on this site.

cheers
Sabrejv
SabreJV
 
Posts: 2805
Joined: February 7th, 2006, 4:53 am
Location: London

Postby bones » January 26th, 2007, 5:20 pm

Another small update.

As being discussed on the thread at http://www.kinetic-avionics.co.uk/forums/viewtopic.php?t=3278 it is now possible to add the airline logo to the Aircraft Details window like this:

Image

To do this I created a Logos folder and into this have put several hundred airline logo bitmaps. The filenames have to be correct for the airline using the three letter ICAO designator so that BAW.bmp or SHT.bmp will be triggered by a SHT or BAW callsign in SBS.

Logo bitmaps can be grabbed from several sources. I "borrowed" the logo folder from the ServInfo program (see the other thread for a link) but have supplemented this with bitmaps from:

http://www.airlinelogos.net/index.php
http://en.wikipedia.org/wiki/Category:Airline_logos
http://www.aerosite.net/content/section/4/41/
but there are several others too.
Last edited by bones on July 8th, 2007, 4:42 am, edited 3 times in total.
User avatar
bones
 
Posts: 8403
Joined: August 8th, 2005, 4:44 am
Location: Isle of Man

Postby ewsdriver » January 26th, 2007, 6:30 pm

I'm looking at using one of the settings shown on here. What program would you recomend I use to change the xml file so that I can change the way the display looks?


Andy
Wem
User avatar
ewsdriver
 
Posts: 89
Joined: November 20th, 2006, 2:08 pm
Location: Wem, Shropshire

Postby bones » January 26th, 2007, 7:22 pm

Notepad. :wink:
Last edited by bones on March 13th, 2007, 6:25 pm, edited 1 time in total.
User avatar
bones
 
Posts: 8403
Joined: August 8th, 2005, 4:44 am
Location: Isle of Man

Postby ewsdriver » January 26th, 2007, 7:24 pm

Thanks Bones for the quick answer. Will give me something to do at work tonight lol.

Andy
Wem
User avatar
ewsdriver
 
Posts: 89
Joined: November 20th, 2006, 2:08 pm
Location: Wem, Shropshire

Re: Aircraft photographs in the Aircraft Details window.

Postby Pleter » February 3rd, 2007, 9:20 pm

Hi bones,

I am glad to see this new thread on my original idea posted in January 2006:

http://www.kinetic-avionics.co.uk/forums/viewtopic.php?t=964

To confront visual identification with the SBS-1 database I felt the need of an image of the aircraft, and I created this database enhancement in December 2005, also posting it on this forum for all users to benefit.

bones wrote:Finally I would like to recognise both Bumpy and Dave Reid who started this whole process going in the Next Challenge thread.


Now it would be nice to see some recognition too! :-)


Best Regards,

Octav
O.T.Pleter
Pleter
 
Posts: 42
Joined: January 14th, 2006, 8:55 pm
Location: Bucharest, RO

Postby bones » February 4th, 2007, 5:24 am

My error.

The Next Challenge thread started off as a means to find a way to add the callsign to the Aircraft Details window but it suffered thread drift and evolved into picture design and layout. I assumed this the source of the idea and attributed thanks accordingly.

Your original post was indeed the start of the pictorial content but this thread stopped in March 2006 and so it got lost in the mists of time. My failing memory is responsible for my lack of recollection.
User avatar
bones
 
Posts: 8403
Joined: August 8th, 2005, 4:44 am
Location: Isle of Man

Postby Valkyrie » March 7th, 2007, 12:38 pm

Hi Bones,

I would like to use your .xsl you posted on the forum to give the photo display in the information window. You mention changing the code if you need to use Airliners.net.
As I don't have my own photo library that is exactly what I would like to do.
I've been trying without success tying myself in knots.
Do you know the code required that I could use with your .xsl to automatically display Airliners.net photos & where to exactly insert it in your xsl.

Thanks again
Valkyrie
Valkyrie
 
Posts: 48
Joined: June 26th, 2006, 11:31 pm
Location: 4 miles South of Heathrow

Postby bones » March 7th, 2007, 1:42 pm

I haven't worked with live links as I want pictures to show whether or not I am online. Other users do but the sources for the pictures vary.

The problem with Airliners is that their photographs are uniquely numbered - they do not have the registration in the filename. This is well covered by cguenther in the thread at http://www.kinetic-avionics.co.uk/forums/viewtopic.php?t=964 from page three onwards and although he found a solution the script is quite complex.

At best all I can suggest is a link as Sabre illustrates with his example above:

<tr><td>
<a href="http://www.airliners.net/search/photo.search?keywords={//regdata/registration}" target="new">
<span class="entrycaption">Click here to link to Airliners.net for : <xsl:apply-templates select="//regdata/registration"/></span></a>
</td>
</tr>


A link is not as effective as a picture in the details box but it's a step forward..
User avatar
bones
 
Posts: 8403
Joined: August 8th, 2005, 4:44 am
Location: Isle of Man

Postby Valkyrie » March 7th, 2007, 4:09 pm

Just looked at that very interesting link & tried what you suggested using Sabre's code & I'm now back in business.
A big thanks to you for your help & also to Sabre for his code.
All the Best
Valkyrie
Valkyrie
 
Posts: 48
Joined: June 26th, 2006, 11:31 pm
Location: 4 miles South of Heathrow

Postby n13tlr » March 7th, 2007, 7:07 pm

Copy the included code to your basestation.XSL file (replacing the existing content) and save.

I have opened the xsl file but I cannot delete the contents nor can I copy from this post and paste into the file either
What am Idoing wrong please

thanks
nick
n13tlr
 
Posts: 153
Joined: December 15th, 2006, 7:21 pm
Location: Todmorden

Postby SabreJV » March 7th, 2007, 7:30 pm

n13tlr wrote:
Copy the included code to your basestation.XSL file (replacing the existing content) and save.

I have opened the xsl file but I cannot delete the contents nor can I copy from this post and paste into the file either
What am Idoing wrong please

thanks
nick


The file may have a 'read only' attribute set. To remove this highlight the file in Windows Explorer and right click then look at properties. Un tick the read only flag if it is set.

However before doing any of this I suggest making a copy of the Basestation.xsl file for safety and as a backup in case any edits cause problems.

HTH
Sabrejv
SabreJV
 
Posts: 2805
Joined: February 7th, 2006, 4:53 am
Location: London

Postby n13tlr » March 7th, 2007, 7:55 pm

thanks for that sabre but still no good have made a copy and renamed the original basestation1 and have renamed the copy to basestation
i am then opening the file highlighting all but it wont let me delete it
and i cannot copy and past into it either

nick
n13tlr
 
Posts: 153
Joined: December 15th, 2006, 7:21 pm
Location: Todmorden

PreviousNext

Return to Resources

Who is online

Users browsing this forum: No registered users and 1 guest