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

Reply via email to