get-url: bad formed URL

Started by swiss-lisper, August 31, 2005, 01:08:18 AM

Previous topic - Next topic

swiss-lisper

Hi! I just installed newlisp (Windows installer on Windows XP). I have some CommonLisp experience and want to try newlisp for web site building and information retrieval from the web. I did some toy programming yesterday which worked fine.



Now I wanted to retrieve content from the web. I set our proxy with env HTTP_PROXY and then tried get-url



> (get-url "http://www.google.de">http://www.google.de")

"ERR: bad formed URL"

>



That's the error i get with every URL I try. What do I do wrong?

Lutz

#1
Most likely the format of your HTTP_PROXY environment variable setup is wrong. See the manual for the correct format and after setting do a:



(env "HTTP_PROXY")



to verify your current setting.



Lutz

swiss-lisper

#2
How stupid of me! I was sure I had gotten it right, because I copied it directly from the config file. But it lacked the http:// prefix. Sorry for having bothered you with it! By the way: I believe I posted my question to the wrong forum (newLisp News). This seems to be only for announcements, not for questions. But for questions there seems to be only the Win32 forum and the Unix forum. Where are platform-independent questions to be posted?



And of couse: Thanks a lot for the design and implementation of newLISP. Seems to be cool. I'll certainly continue experimenting with it!

Lutz

#3
Very welcome to the newLISP discussion group! Glad you got the proxy working.



You can post platform independent stuff either in "Lisp in general" or in the platform category which is yours. Manual or other doc corrections are typically posted in the 'News' section. Ryon is the technical maintainer/hoster of this board.



Lutz