>
>
>I don't understand your example, but regardless, wget 1.9-beta from cvs
>URL-encodes slashes in a query string.
>
>Dominique: If I understand your problem correctly, then wget 1.9 has solved it.
>
>Max.
>  
>
Hi,

Step-by-step what I did:

CVS => a lot of breaks during checking out

make -f Makefile.cvs => ./config.status: /po/POTFILES.in: No such file 
or directory

./configure, make => OK

I run wget -b -t 50 -r -p --convert-links --no-parent -U "Mozilla/5.0 
(compatible; MSIE 6.0; Windows NT 5.1)" http://www.w3schools.com/html/

files are downloaded with %xxxx instead of slashes (hip hip HURRA!). I 
see & instead of & in the sources just sometimes (why not always?)

* Mozilla won't load the first example 
tryit_edit.asp?filename=tryhtml_basic from a calling page (examples.asp).
Let's look closer and focus only on the first example:

filenames on disk:
tryit.asp?filename=tryhtml_basic
tryit_edit.asp?filename=tryhtml_basic&referer=http:%2F%2Fwww.w3schools.com%2Fhtml%2Fhtml_primary.asp
tryit_view.asp?filename=tryhtml_basic
The first one is the one shat should be called from 
some_path/www.w3schools.com/html/html_examples.asp. It won't load in 
mozilla with this name, neither clicking link nor puting this name in 
URL bar manually.

I now try to load the above files using "open file" in mozilla:

names which mozilla shows in the URL bar when I load the above files 
manually:
file:///home/domi/temp/www.w3schools.com/html/tryit.asp%3Ffilename%3Dtryhtml_basic
file:///home/domi/temp/www.w3schools.com/html/tryit_edit.asp%3Ffilename%3Dtryhtml_basic%26referer%3Dhttp%3A%252F%252Fwww.w3schools.com%252Fhtml%252Fhtml_primary.asp
file:///home/domi/temp/www.w3schools.com/html/tryit_view.asp%3Ffilename%3Dtryhtml_basic
(*) The 2nd and 3rd files load OK and shows correct content, the first 
one however complains about wrong names of the other two.


I make changes in the html_examples.asp file (which is calling 
tryit.asp?filename=tryhtml_basic) to correct the names:
tryit.asp?filename=tryhtml_basic => tryit.asp%3Ffilename%3Dtryhtml_basic

THE FRAMESET NOW LOADS, but complains about wrong names of the 
components (see (*) above)

I go to the frameset file on my disk ( tryit.asp?filename=tryhtml_basic) 
and do:
tryit_view.asp?filename=tryhtml_basic
=>
tryit_view.asp%3Ffilename%3Dtryhtml_basic

and

tryit_edit.asp?filename=tryhtml_basic&referer=http:%2F%2Fwww.w3schools.com%2Fhtml%2Fhtml_primary.asp
=>
tryit_edit.asp%3Ffilename%3Dtryhtml_basic%26referer%3Dhttp%3A%252F%252Fwww.w3schools.com%252Fhtml%252Fhtml_primary.asp

and finally the page loads OK from the calling page. However, the 
dynamically generated result of the example is not working.

I look at 
tryit_edit.asp?filename=tryhtml_basic&referer=http:%2F%2Fwww.w3schools.com%2Fhtml%2Fhtml_primary.asp

I see http:// things were NOT converted to mach local files (!!!) I do 
it manually:

http://www.w3schools.com/html/html_primary.asp
=>
html_primary.asp

http://www.w3schools.com/html/tryit_view.asp
=> NOT DOWNLOADED!!! it seems something like a cgi script you call with 
an argument. I fetch it manually, but it says: <html><body><h2>Filename 
missing</h2></body></html>
I change the path to tryit_view.asp anyway

Of course, clicking "display results" complains about missing 
tryit_view.asp, which I dont know how to get... :( and dont know if it 
would help anyway...

...GIVING UP for now...

Any further ideas? In the meantime I at least hope this helps further 
improvments of wget, as I proved above, that the naming is still not OK.

Please let me know of any ideas or related plans for wget.
thank you,

Dominique

Reply via email to