Roberto,
owhttpd currently has the option of adding "/text" to a 1-wire query to
return text (as opposed to html)
I.e:
/10.123456789/temperature
vs
/text/10.123456789/temperature vs
I've always thought this technique a little awkward, since it's
owhttpd-specific and mixes presentation with data path. I like your scheme
better.
Paul Alfille
On Sun, Sep 25, 2011 at 5:38 PM, Roberto Spadim <[email protected]>wrote:
> hi guys, i created a new owhttpd but without json output (no html output)
>
> http://www.spadim.com.br/owhttpd-ajax.tgz
>
>
> it's based on owfs-2.8p13, extract at:
> owfs_root_source_directory/module/
>
> it will create a directory: (owhttpd-ajax)
>
> that's all :)
> in future we could implement it with some options like
> ?output=html
> ?output=text
> ?output=json
> to make a single owhttpd with everything
>
> directories will return as a empty array []
> yes/no will return false/true
> writeonly/errors will return as null
> structures will return as a array [ ..... ] with itens, in the same order
> as html order
>
>
> thanks :) that's all
>
>
> --
> Roberto Spadim
> Spadim Technology / SPAEmpresarial
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers