_wolf
7/3/2007 10:47:00 PM
hi all,
after several futile efforts and one partial success i've giving
almost up on copying a ruby rails or a python pylons web
site. neither the browser nor a web site copier like winHTTRACK
manage to show more than white pages with almost no
files included -- no css, no images, nothing. i first thought this
might be because of the funny numbers behind each file include
written out by the rails machinery, like `blah.gif?2387423´. but
pylons doesn't have those and attempts to download a single or
a series of pages still fails. in addition, i'm seeing lots of HTTP
209
("Error attempting to solve status 206 (partial file)" (-5) after 2
retries)
that said prg doesn't seem to like. so maybe this is just a
performance
problem? maybe i configure winHTTRACK so it tries in longer intervals
to retrieve pages?
but then, firefox does fail, too, when i attempt to download and save
a
single "web page, complete". all the css and images is duely put in
a ./helo_files/ directory, but links are not rewritten from their
absolute to their relative form.[*]
[*] in addition i must say firefox appearently mangles my meta and my
link tags so the source fails, after downloading, to validate with
w3c.
at list that implies that firefox is the one who wrote them, not the
server, so firefox does handle them. it does *not* seem to touch all
the
`url(/foo/bar.gif)´ thingies in the css, though; those are left
absolute
where a reference to a file system location should be relative. no
subfolder `foo` is created and no files from there are to be seen in
the
download.
so what makes downloading or mirroring a ruby or pylons web
application
so different?
thx,
wolf