We still have the text-support in owhttpd. I guess the xml-support will be
implemented exactly the same...

/Christian


[EMAIL PROTECTED] root]# telnet 192.168.3.2 3333
Trying 192.168.3.2...
Connected to 192.168.3.2.
Escape character is '^]'.
GET /text/

HTTP/1.0 200 OK
Date: Mon, 27 Nov 2006 07:09:25 GMT
Server: owhttpd
Last-Modified: Mon, 27 Nov 2006 07:09:25 GMT
Content-Type: text/plain

structure structure "directory"
bus.0 bus.0 "directory"
uncached uncached "directory"
settings settings "directory"
system system "directory"
statistics statistics "directory"
10.A22840000800 DS18S20 "1-wire chip"
10.E2C746000800 DS18S20 "1-wire chip"
10.1A9246000800 DS18S20 "1-wire chip"
10.061847000800 DS18S20 "1-wire chip"
10.762047000800 DS18S20 "1-wire chip"
10.E54347000800 DS18S20 "1-wire chip"
10.4D8746000800 DS18S20 "1-wire chip"
10.6D0150000800 DS18S20 "1-wire chip"
10.5D1947000800 DS18S20 "1-wire chip"
10.233B40000800 DS18S20 "1-wire chip"
10.B3E166000800 DS18S20 "1-wire chip"
10.2BD346000800 DS18S20 "1-wire chip"
1F.7DC202000000 DS2409 "1-wire chip"
FF.720200000100 LCD "1-wire chip"
FF.710200000100 LCD "1-wire chip"
alarm alarm "directory"
simultaneous simultaneous "1-wire chip"
Connection closed by foreign host.




> -----Ursprungligt meddelande-----
> Från: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] För Roberto Spadim
> Skickat: den 27 november 2006 03:25
> Till: owfs-developers@lists.sourceforge.net
> Ämne: Re: [Owfs-developers] owshell and owhttpd
> 
> 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,0C00080102C
> 83
> > 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



-------------------------------------------------------------------------
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