Welcome to Radarspotting. Please login or sign up.

May 01, 2024, 04:22:30 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Changes to airliners.net and lookups from Basestation Aircraft Details Window.

Started by Keef, June 15, 2016, 01:09:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Keef

Hi all,

I don't know if anyone has encountered the same issue as I have, but it seems that due to changes at airliners.net the syntax in the basestation.xsl is no longer generating a valid URL.

I've had a bit of a play and may have a solution (well it seems to work for me!).
I'm not that confident with xsl so what I've produced may not be the neatest or best way so try at your own risk...

Always make a backup copy of the original file, that way if something undesirable happens as a result of tinkering you can easily roll back.

In the \Basestation\UserData folder there will be a file named basestation.xsl, this is used to generate the Aircraft Details window when an aircraft is selected from the list.

In my xsl file I have a section for lookups on airframes.org, you might not have this, but if you do and it's not working here's what I did to fix it.

Original statement:

<a href="http://airliners.net/search/photo.search?sort_order=photo_id%20DESC&amp;first_this_page=0&amp;page_limit=30&amp;&amp;regsearch={//regdata/registration}&amp;thumbnails=noinfo" target="new">

Which I have replaced with:

<a href="http://airliners.net/search?keywords={//regdata/registration}&amp;sortBy=id&amp;sortOrder=desc&amp;perPage=24&amp;display=card" target="new">

Hope this helps, and if anyone spots a mistake in what I've done feel free to correct me  :)