[PD] http client native in pd?

Hans-Christoph Steiner hans at at.or.at
Mon Mar 1 19:15:41 CET 2010


Here's a sketch to start with.  It works sometimes, but seems to be a  
bit flaky:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpget-help.pd
Type: application/octet-stream
Size: 997 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100301/43a2001c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpget.pd
Type: application/octet-stream
Size: 1506 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100301/43a2001c/attachment-0001.obj>
-------------- next part --------------



.hc

On Feb 27, 2010, at 1:41 PM, Martin Peach wrote:

> Look at [mrpeach/tcpclient]. The help file does that. You need to  
> format the strings as lists of bytes, probably tables are the best  
> way to do that, although if you have Pd-extended the [mrpeach/str  
> tolist] object will do it. Or just use text files with the request  
> strings.
> Then load the response into a table and parse it there.
>
> Martin
>
>
> Chipp Jansen wrote:
>> Does anybody know if there is a [httpclient] object that allows one  
>> to
>> fetch url's from within pd?  I want to grab small bits of XML feeds
>> into my patch.
>> I started to try to use the [netclient] object by making requests to
>> port 80 on servers, but I'm just curious if somebody created  
>> something
>> that runs from with in pd already?
>> Thanks!
>> Chipp
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

Information wants to be free.    -Stewart Brand




More information about the Pd-list mailing list