You are not logged in.

#1 2013-02-23 08:36:11

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] How to use HTTrack Website Copier

Hello,

To me it's not clear how to use HTTrack from AUR.

[orschiro@thinkpad nz]$ httrack www.cycling-in-nz.orzanna.de
Mirror launched on Sat, 23 Feb 2013 09:24:06 by HTTrack Website Copier/3.46+libhtsjava.so.2 [XR&CO'2010]
mirroring www.cycling-in-nz.orzanna.de with the wizard help..
Done.www.cycling-in-nz.orzanna.de/ (0 bytes) - 301
Thanks for using HTTrack!

Apparently it was not mirrored. Furthermore, launching 'WebHTTrack' from the launcher menu opens a browser window pointing at http://thinkpad:8080/ which just gives me 'This webpage is not available'.

Am I missing something?

Last edited by orschiro (2013-02-25 08:17:51)

Offline

#2 2013-02-24 03:45:50

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: [solved] How to use HTTrack Website Copier

Well, I don't know how to use that program. But you can easly backup a website using wget. By using something as simple as

$ wget -np -r -k 'http://your-url-here'

you can download an offline copy of a site.


"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#3 2013-02-24 09:31:02

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] How to use HTTrack Website Copier

Hi Chris,

No I can't. In my case I want to archive a Wordpress blog and need to convert all links into relative links so that I can navigate the complete blog offline. HTTrack is able to automatically convert absolute links into relative links.

Offline

#4 2013-02-24 09:53:47

chris_l
Member
Registered: 2010-12-01
Posts: 390

Re: [solved] How to use HTTrack Website Copier

orschiro wrote:

Hi Chris,

No I can't. In my case I want to archive a Wordpress blog and need to convert all links into relative links so that I can navigate the complete blog offline. HTTrack is able to automatically convert absolute links into relative links.

From the wget man:

-k
--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.
(...)
The links to files that have been downloaded by Wget will be changed to refer to the file they point to as a relative link.

"open source is about choice"
No.
Open source is about opening the source code complying with this conditions, period. The ability to choose among several packages is just a nice side effect.

Offline

#5 2013-02-25 08:17:40

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [solved] How to use HTTrack Website Copier

Thanks Chris. I will try that out.

Other than that I was able to run HTTrack after I had installed httraqt GUI from AUR.

I cannot really say if it is a required dependency or not but at least it is working as expected.

Last edited by orschiro (2013-02-25 08:18:06)

Offline

Board footer

Powered by FluxBB