1. canonicalize?

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.

byE
Mike
Swayze
mswayze at truswood.com
kswayze at bellsouth.net

new topic     » topic index » view message » categorize

2. Re: canonicalize?

Hi Mike,
  I DL'd the program, and tried it out. It works fine for me. Could you
elaborate on what your trying to do when it gives you this error? I tried
numerous pages, and have had no problems. Are you inputting an IP?

Chris

Mike Swayze wrote:

>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.
>
>byE
>Mike
>Swayze
>mswayze at truswood.com
>kswayze at bellsouth.net

new topic     » goto parent     » topic index » view message » categorize

3. Re: canonicalize?

On 24 Jan 2001, at 9:23, Mike Swayze wrote:

> 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.
What is the url?, i'll run it thru my copy and see what happens.

> 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.

It's prolly a version of win32lib you are using. I am still using
-- Win32Lib
-- "Bleeding Edge" 0.42e
-- (c) 1999 David Cuny

I discovered that some older programs will not work with the newer
versions, and as long as it's not broken....

Kat

new topic     » goto parent     » topic index » view message » categorize

4. Re: canonicalize?

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
______________________________________

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu