On 10/7/06, Ryan Barrett <[EMAIL PROTECTED]> wrote:
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.
... except that rsync won't work when the source is an Oracle database :-) Thanks for the help though. I looked at --convert-links but we have other applications that use URLs into our site, so we can't really change the layout without changing them as well. Cheers, Matt -- Reclaim your digital rights, eliminate DRM, learn more at http://www.defectivebydesign.org/what_is_drm -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d-- s: a- C++++ UL+++ P++ L+++++ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+++++ ------END GEEK CODE BLOCK------ http://wlazlo.net
