[aprssig] Live Telemetry Data Through a Simple Web Page
Brad McConahay brad at n8qq.comSun Apr 24 22:59:28 UTC 2005
- Previous message: [aprssig] Live Telemetry Data Through a Simple Web Page
- Next message: [aprssig] AA3JY-4 and WIDEN-N
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Arne, XSLT is definitely the XML way to get APRS data into an HTML document. It's definitely the way of the future, and arguably the best way overall. But the script described by Steve targets people who know enough HTML to put together a page, and nothing more. (maybe described as end-users, as opposed to developers/programmers) This way there's no need for them to learn XML, XSLT, perl, or anything else, in order to create their own dynamic page. They can just put together a quick page in an HTML editor (or by hand), paste in some variables, and send the URL through this script ... voila. But, your experiment demonstrates another excellent reason to have the data available in XML format for developers right now, and eventually end-users too. Brad N8QQ -----Original Message----- From: aprssig-bounces at lists.tapr.org [mailto:aprssig-bounces at lists.tapr.org] On Behalf Of Arne Stahre Sent: Sunday, April 24, 2005 8:55 AM To: TAPR APRS Mailing List Subject: Re: [aprssig] Live Telemetry Data Through a Simple Web Page I'm not quite sure what you are trying to do, but if you want to create HTML from one or more XML files you should look into XSLT. As a little try I made a very simple XML file (4 lines) on my server and also a XSL file (30 lines) for the transformation. This transformation loads additional XML from n8qq.com and extracts the fields I want and creates the HTML document. The nice thing is that this is done in the browser (Mozilla) - in theory! There is a security thing here. Mozilla does not allow the loading of the XML/XSL from different servers. However, this can be done in Perl using XML::LibXML and XML::LibXSLT. The transformation code in Perl should be about 10 lines. The XSLT files, though, are larger - XSLT is verbose, but powerful. 73 de SM6VYF/Arne
- Previous message: [aprssig] Live Telemetry Data Through a Simple Web Page
- Next message: [aprssig] AA3JY-4 and WIDEN-N
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the aprssig mailing list
