Order Tray | Contact Us | Home | SIG Lists

[aprssig] UP 3985 Steam Train tracker question

Curt, WE7U archer at eskimo.com
Fri Aug 26 17:13:44 UTC 2005


On Fri, 26 Aug 2005 rcluster at rgisp.com wrote:

> Aug 29 Ogden to Portola (On display at Portola thru Sept 1)
...
> Sept 30 Cheyenne to Council Bluffs

Thanks.  If you snag the HTML for the
http://www.uprr.com/aboutup/excurs/trace.cfm link, in there is a
line that has

    form action="trace.cfm"

That line appears to have the current lat/long.  That should be all
we need.  Just snag that URL regularly, grep for that line, parse
out the lat/long, create the object, and inject.

Any takers, or should I tackle this one?  Like I said I have most of
the parts needed written and in regular use already for firenet &
quakes, but if someone else wants a project, this one's all yours.

These are the two strings to grep for:

    name="cLat" value="41.221771240234375"
    name="cLon" value="-111.97998809814453"

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"




More information about the aprssig mailing list