The strange thing about this is that I've managed sometimes to download a webpage(that is, getting it printed on the console as a textstream), so it seems to be possible. However this usually works the first time I open the patch, connect to a webpage and send a GET request. After the first download I'm unable to download it once more, even though I try to disconect/connect all over again. The example patch I've posted is a bit of a hassle though as it tries to get an xml, for troubleshooting purposes I think it's better to fetch a normal .html page somewhere else.
Rune
hi carmen
you're right. i wanted to say, that it is may not possible in pd itself (or is it?), since i know enrique and that he rather not uses pd with another script-language.
cheers
"carmen" wrote:
On Tue, Sep 13, 2005 at 04:26:36PM +0200, Roman Haefeli wrote:
hi eni
i thinks its no way that you can make HTTP GET-requests with pd
why not? with python:
import urllib data = urllib.urlopen('http://www.blahblah/%27).read() (pyext output crap here)
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
In which city did seven people die of West Nile Virus in 1999?
postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=19
What was established in 1891, which altered the nature of publishing?
postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=274