APRS Variable Replacement Script
This script is available for anybody who wants to design their own simple web page and embed the latest APRS packet data for a specific station.

You just design your own HTML page, have it hosted anywhere you wish, paste the desired variables wherever you want them to appear on the page, and then pass your page's URL to this script, along with the callsign of the station.

For instance, I've created a page in my personal space on another server:

http://www.warn.org/brad/aprs.html

You can see the variables that appear in the page, such as "$call" and "$lat". Those variables will be replaced with the actual data from the most recent packet of the specified station...

Here is the same page when passed through the variable replacement script:

http://aprsearch.net/replace/index.cgi?call=w1aw&url=www.warn.org/brad/aprs.html

     or you can call it like:

http://aprsearch.net/call/w1aw/www.warn.org/brad/aprs.html

Just put your callsign and your web page's URL in place of W1AW (shown in red), and that's all there is to it. In the first example URL above, you can optionally specify a protocol on the front of your URL if it's different than "http://".

Check here to view a list of all possible variables. You can use this list to copy and paste them into your HTML page.

Thanks to Jim Jarvis KB0THN for the data via aprsworld.net - Steve Dimse K4HG for findu.com and most of the original APRS over Internet development, including the idea for this script - and Bob Bruninga WB4APR for APRS.

- Brad N8QQ
History

(changes to the APRS-to-XML Interface also affect this system)

Version Date Details
1.4.1 2007-11-04 Fixed problem with status comment showing up incorrectly. See the buglevel fix for version 1.3.3 of the aprsworld-to-XML Interface for details.
1.4 2005-05-22 Added $age_days_pad, $age_hours_pad, $age_min_pad, $age_sec_pad, $dewpoint_f, and $dewpoint_c. (request from Scott Emerson CW0476)
1.3 2005-05-14 Added new way to call the script, by sending call and remote url through the path rather than by CGI arguments. Changed site domain to aprsearch.net.
1.2 2005-05-13 Added leading padded zero to $min and $sec.
1.1.1 2005-05-12 Fixed problem with some variables not resolving correctly because of not detecting non-word string boundaries. (reported by Gary Oldham)
1.1 2005-05-09 Added new short "$call" style variables to replace the old aprs(...) type functions.
1.0 2005-04-25 Officially released system.
0.1 2005-04-23 Initially created system.
APRS is a registered trademark of APRS Software and Bob Bruninga, WB4APR.