On Sat, 7 Oct 2006, Matt Wlazlo wrote:
does the --html-extension option do what you want? from the man page:
...
Not really. My employer has a site with URLs that looks like this:
www.domain/pls/education => stuff about free seminars
www.domain/pls/education/contact => contact the appropriate dept.
www.domain/pls/education/download => seminar information etc
so appending /index.html is more appropriate in this case as then we
don't need to change URLs within the existing HTML.
try the --convert-links option:
--convert-links
After the download is complete, convert the links in the document
to make them suitable for local viewing. This affects not only the
visible hyperlinks, but any part of the document that links to
external content, such as embedded images, links to style sheets,
hyperlinks to non-HTML content, etc.
if you need to mirror the exact filesystem layout of the site, then you're
right, this wont get you there. if that's what you want, though, you probably
want something like rsync instead.
-Ryan
--
http://snarfed.org/