the most used style for html data is:
javascript array (very usefull with AJAX or frame code):
var variable={ 'blablbal' : 'value'};


GET string (very usefull with PHP, just parse_str($result, $matches);)
variable=value&variable2=value2


XML (use with anything...)
<data>
<variable>value</variable>
</data>

i think that any one of this types could help
the other style is today implemented, human readable :)
any improvement could be done in owhttpd part of code, just look at C 
code and change, i will work a little on it
bye


Matt escreveu:
> What about just adding a top level folder for xml data?
> http://<ip>:<port>/xml/uncached/<path>
>
> <data>
> <address>1034C8020108000C</address>
> <crc8>0C</crc8>
> <die>C2</die>
> <family>10</family>
> <id>C8020108000C</id>
> <locator>FFFFFFFFFFFFFFFF</locator>
> <power>NO</power>
> <present>YES</present>
> <r_address>0C00080102C83410</r_address>
> <r_id>00080102C834</r_id>
> <r_locator>FFFFFFFFFFFFFFFF</r_locator>
> <temperature>26<temperature>
> <trimvalid>YES</trimvalid>
> <type>DS18S20</type>
> </data>
>
> Or cvs
> http://<ip>:<port>/cvs/uncached/<path>
> Address,crc8,die,family,id,locator,power,present,r_address,r_id,r_locator,te
> mperature,trimvalid,type
> 1034C8020108000C,0C,C2,10,C8020108000C,FFFFFFFFFFFFFFFF,NO,YES,0C00080102C83
> 410,00080102C834,FFFFFFFFFFFFFFFF,26,YES,DS18S20
>
> Or some sort of simple template system.
> %address%,%temperature%
> Owhttpd -s 3000 -p 3001 -t mytemplate.cfg
> http://<ip>:<port>/mytemplate/uncached/<path>
> 1034C8020108000C,26
>
>
> It's not really what you suggested, but it's written now so I'll post it.
>
> ________________________________________
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul
> Alfille
> Sent: Sunday, 26 November 2006 2:29 PM
> To: owfs-developers@lists.sourceforge.net
> Subject: [Owfs-developers] owshell and owhttpd
>
> I'd like some comments on allowing the owshell routines (owdir, owread,
> owwrite, owpresent) to read owhttpd as well as owserver. That would make
> "web-scraping" owhttpd easier for scripts, and allow network use across
> firewalls that only allow web traffic. 
>
> My thought is to have the program figure out which protocol to use
> transparently.
>
> Paul Alfille
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 24/11/2006 / Versão: 4.4.00/4904
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
>
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to