Oh, when I say XML, I think I just mean tagged. I tweaked the owhttpd_read.c and got
<device path="22.E82013000000/temperature"> <temperature> 23.125</temperature> </device> That's fine for my tinkerings. the /text. is neat though. Paul Alfille wrote: > On 9/10/07, *Matt* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > Hi all, > > I know it's been asked before but is there a way to have owhttpd > output > device data as xml ? > > > No one has proposed an XML schema. It would certainly be easy to do. > > If not, is there a way to query owhttpd to access a single value, > something simlar to > http://10.0.0.50:3001/22.E82013000000?query=temperature perhaps ? > If not, which module would need tweaking ? > > > Try (I don't have owhttpd available right now) > http://10.0.0.50:3001/22.E82013000000/temperature > <http://10.0.0.50:3001/22.E82013000000/temperature> > > Also, if you prepend /text, as in: > http://10.0.0.50:3001/text/22.E82013000000/temperature > you get a much less HTML-laden response. > > Paul Alfille > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers