On  5 Jun 03 at 15:04, [EMAIL PROTECTED] wrote:

>Reply to Sender: mailto:[EMAIL PROTECTED]
>Reply to List: mailto:[EMAIL PROTECTED]
>
>On Thu, 05 Jun 2003 01:08:33 +00, Bastiaan Edelman, PA3FFZ wrote:
>
>> Hi List...
>> Does anuone know how to save a web page?
>It will be "next to imposible" to do it in DOS.

When I needed to save a complete web site to a floppy I tried this
approach:

1. I boot to Linux and download the complete site
with wget into the Linux file system.

2. I have a look at the file names:

a) There are no files with first 8 characters identical -
so I copy the file tree to the DOS partition and get 8.3 file
names that I can browse with Arachne. (In that case it would have
been easier to use the DOS version of wget)

b) I realize that there are not more than ten files with the
first 7 characters identical: I use a bash script that

- picks any group of files with first 7 characters identical
and replaces the 8th character with 0 to 9

- replaces all references to these files in HTML tags (href, img
etc.) within all other files of the entire tree

c) If there are more than 10 files with the same beginning or the file
system of the site is more complex (recursion needed, references
may include or do not include the path) it turns out to be

... close to impossible (as Glenn already stated before).

Christof Lange

________________________________________________________________

Ceskobratrska cirkev evangelicka - Betlemska kaple na Zizkove
Prokopova 4/216, 130 00 Praha  3, Czech Republic
Tel. (+420) 222 78 06 73 / 222 78 20 02 
http://www.volny.cz/cce.zizkov

Reply via email to