[OLSR-users] Re: [olsr-dev] httpinfo plugin

Aldert J.B.P. Hazenberg (spam-protected)
Fri Apr 1 00:43:46 CEST 2005


I do not really understand why 'you; would like to do this.

But I could easily oversee a good reason, can you elaborate a bit so
my feedback could be of better quality ?


Myself I am more interrested in an XML 'tab'/URL in httpinfo so I can
read the XML from all my nodes and compile and display them on a central
place. (Something like http://<name or ip>:8080/xml )

Aldert.


Andrew Hodel wrote:
> If there is an interest other then mine in having external files for the
> httpinfo plugin that allow users to change the css layout and default
> text of the output, I would be willing to implement it.
> 
> I have cross posted this to the users and dev lists to get user input.
> 
> The only problem I can see with this is multiple olsrd config files in
> /etc, this could be fixed by creating an /etc/olsrd directory for all
> olsrd config files.
> 
> Any comments.. anyone?
> 
> 
> 
> Thanks,
> Andrew Hodel
> 
> 
> Andrew Hodel wrote:
> 
>> I made a few changes for the httpinfo plugin from cvs today.
>>
>> There is a new menu option, "Other", which will display the contents
>> of the file /etc/olsr.other
>>
>> I also added a section to the About page describing the Other page,
>> and fixed a missing close tag for li in the html source.
>>
>> I am having 2 problems:
>> 1.If the file /etc/olsr.other is not there, olsrd segfaults.  There is
>> error checking when opening the file but it is not working.
>>
>> 2. If the file /etc/olsr.other only contains 1 line, it will be
>> printed twice.
>>
>> If anyone can use or improve this, please do.  I use it to show
>> information from other sources easily on the httpinfo plugin, i.e.
>> another daemon writing to the file.  This way I don't have to use C to
>> show something simple, bash, perl, python, _anything_ can write to a
>> file.
>>
>>
>> P.S. modified olsrd_httpinfo.c & html.h at: http://www.nxwi.com/olsr
>>
>>
>> Thanks,
>> Andrew Hodel
>> _______________________________________________
>> olsr-dev mailing list
>> (spam-protected)
>> https://www.olsr.org/mailman/listinfo/olsr-dev
>>
>>
> 
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users
> 





More information about the Olsr-users mailing list