Re: canonicalize?
- Posted by Mark Smith <markrsmith at BTINTERNET.COM> Jan 26, 2001
- 520 views
Hi Mike, You wrote:- ----- Original Message ----- From: "Mike Swayze" <mswayze at TRUSWOOD.COM> Sent: Wednesday, January 24, 2001 2:23 PM > I tried to run the version of 'web shepherd' I got out of the archives and > kept hitting an error --unable to canonicalize url ,,something about invalid > parameter. I looked hard at the code and (this is a guess) is that one of > the parameters for the call to the canonicalizeurl wrapper is missing a > parameter (syntax), I have not looked real deep at it, but perhaps you could > point me at the location of the 'wrapper' in win32lib that this is using and > possibly a website with the api description for this function. > I'm the author of Web Shepherd and although development ceased on it some time ago, the last time I used it I got the same error you are now finding. I suspect that it is something to do with the wininet.dll shipped with the latest version of IE. Web Shepherd used to work with the wininet.dll shipped with IE4. If you edit out the canonicalize statements the program should work unless your URLs contain certain characters which the canonicalize routine converts into HTTP readable format. Web Shepherd was a start at writing an off line browser using wininet.dll. The wininet api info can be found on the Microsoft MSDN site. HTH ______________________________________ Mark Smith Mark's Leisure Zone http://www.markrsmith.btinternet.co.uk ______________________________________