I am currently working on a number of modifications to Ile Sans Fil's WiFiDog project, but the first modification that I decided was good enough to actually send up to the project was NodeListKML.php

What is NodeListKML

In WiFiDog, to display a list of hotspots, the hotspots_list.php file is used, and this can display the list in different formats. Each format is represented as a class in the design to allow for support for future formats. Once this was done, it was easy to extend the parent NodeList class to allow it to output Google Earth KML data. Once this data is saved, it can be used in Google Earth to display all the hotspots on a Google Earth map, including the elevation, a variable already present in WiFiDog, but wasn't supported due to the 2D nature of Google Maps.

Where is this file (UPDATED)

The file without gettext (internationalization) is here. This is just a quick hack that I did in less than an hour.

The file has had some cleanup done for internationalization and MIME types by Max Horvath and is now currently in the CVS version of wifidog.

	example.com/wifidog_path/hotspots_list.php?format=KML
	

This will show the KML data which can then be saved to a file.