reading xml from web site
I can open file and read from file, but how does it work with a web page? My installer needs to retrieve a list of servers located at url site. Working with IEFunctions.dll. Any other places I should be looking?
thanks,
mdm
Archive: reading xml from web site
reading xml from web site
I can open file and read from file, but how does it work with a web page? My installer needs to retrieve a list of servers located at url site. Working with IEFunctions.dll. Any other places I should be looking?
thanks,
mdm
Use NSISdl to download the file.
If it's a regular text file you can parse it using standard NSIS functions.
ok NSISdl seems to be built for file downloads, but not for the actual content of the web page being viewed.
I need to grab the text off of that html page, not multiple mirror sites that offer some kind of download handle.
mdm
NSISdl gives you the exact text the server gave you. It's up to you to process it and download another page if needed.
sorry, still having problems...
Usage:
StrCpy $2 "$INSTDIR\Winamp Installer.exe"
NSISdl::download http://download.nullsoft.com/winamp/...mp281_lite.exe $2
Pop $R0
$R0=HTTP/1.1 407 Proxy authentication required
any clues to what is wrong here?
thanks,
mdm
NSISdl call was actually:
NSISdl::download http://download.nullsoft.com/winamp/...mp281_lite.exe $2
NSISdl doesn't yet support proxy authentication.
is there a way for installer to scrape the page seeing as I can open and close it, but cannot download due to my proxy authentication problem.
should I use some other language (maybe called from bat file) to scrape page once it is open?
mdm
The only way I know is using Internet Explorer's API. For that you'd have to write your own plug-in or find a command line tool that uses it.