Here's a sketch to start with. It works sometimes, but seems to be a bit flaky:
httpget-help.pd
Description: Binary data
httpget.pd
Description: Binary data.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 tofetch 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 toport 80 on servers, but I'm just curious if somebody created somethingthat runs from with in pd already? Thanks! Chipp _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list---------------------------------------------------------------------------- Information wants to be free. -Stewart Brand_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
