1 Apr 2005 01:04
Re: Re: [olsr-dev] httpinfo plugin
Andrew Hodel <zip <at> nxwi.com>
2005-03-31 23:04:30 GMT
2005-03-31 23:04:30 GMT
I like to be able to change the way the httpinfo plugin looks easily. This is because my plans are to have people looking to the httpinfo page for more information, gps locations, temperature, ... We are installing nodes on boats so this will be useful information. Perhaps a better way of implementing this would be a parameter in olsrd.conf where you load the httpinfo module. othersource="file" or othersource="http://domain.tld/file.ext" and if othersource is not set, don't include the other tab. From here you could load your xml file via the fs, or over http. However, I wouldn't load the xml file directly into the other tab as it would only display the actual xml doc. I would setup a perl or bash script that parses all of the information you want to display and write to a file. Then set othersource to the location of the output file. I could also setup an othersourcename parameter in the plugin load that will allow you to set the name of the tab. I will get to work on implementing the "other" tab based on parameters set when loading httpinfo, if anyone has anything to consider or wants easily editable css/html files, speak up. Andrew(Continue reading)
* I've build a .ipk for current Openwrt buildroot.
* a file was missing from CVS :
olsrd-0.4.9-cvs/src/link_layer.h
so I took one from old source package.
* all can be built from standard buildroot src directory.
* I have not tested the resulting binaries, I do not have
a free wrt54g for this purpose now.
* you can find all necessary files at :
RSS Feed