[isf-wifidog] Wifidog + XML + XSLT = HTML table

Francois Proulx fproulx at edito.qc.ca
Lun 25 Juil 14:46:14 EDT 2005


I wrote a nice little XSLT to demo the new XML export feature of Wifidog.
The XSLT transforms the XML output into a table, similar to the one
provided by hotspot_status.php, but then it allows one to create his very
own XSLT to create personnalized output ( for PDA/cellphones, browser
etc... ).

Here's a quick rundown of how it works (with working example on Île Sans
Fil server) :

This script generates on-the-fly XML containing hotspots status.
http://auth.ilesansfil.org/hotspot_status.php?format=XML

I've got a XSLT here that generates a HTML table format.
http://auth.ilesansfil.org/xslt/wifidog_status.xsl

When Wifidog has the XSLT_ENABLED flag enabled in its config file, you can
add a second parameter (that's the URL of the XSLT)
http://auth.ilesansfil.org/hotspot_status.php?format=XML&xslt=http://auth.ilesansfil.org/xslt/wifidog_status.xsl

There you have it on-the-fly personnalized Wifidog hotspots status output.
Any questions ?

--
François Proulx
Étudiant en Génie des TI
École de Technologie Supérieure
Montréal, Qc, Canada




More information about the WiFiDog mailing list