Static HTMl download | Community
Skip to main content
Mani_kumar_
New Participant
March 9, 2016
Solved

Static HTMl download

  • March 9, 2016
  • 2 replies
  • 1169 views

Hi All,

I have Usecase where when author activates a particular page it should download as static HTML in local drive.

how can i achieve this ?

Thanks

Mani Kumar K

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mani_kumar_

Hi All,

Got the solution

below the is the blog link

http://www.wemblog.com/2012/02/how-to-use-static-agent-in-cq-wem.html

2 replies

Mani_kumar_
Mani_kumar_AuthorAccepted solution
New Participant
March 9, 2016

Hi All,

Got the solution

below the is the blog link

http://www.wemblog.com/2012/02/how-to-use-static-agent-in-cq-wem.html

kautuk_sahni
Employee
March 9, 2016

Hi

There are many tools to achieve this,

a. Link:- http://stackoverflow.com/questions/6348289/download-a-working-local-copy-of-a-webpage

//wget is capable of doing what you are asking. Just try the following:

wget -p -k http://www.example.com/

 

b. Link:- http://stackoverflow.com/questions/26454916/download-the-entire-webpage (JAVA)

//Yes you can trick a a webpage to download on your locals by Java code. You can not Download HTMl Static content by Java Script. JavaScript is not providing you to create a files as Java Provides.

 

c. Link:- http://www.httrack.com/

//In Windows, you can look at HTTrack. It's very configurable allowing you to set the speed of the downloads. But you can just point it at a website and run it too with no configuration at all.

In my experience it's been a really good tool and works well. Some of the things I like about HTTrack are:

    Open Source license
    Resumes stopped downloads
    Can update an existing archive
    You can configure it to be non-aggressive when it downloads so it doesn't waste your bandwidth and the bandwidth of the site.

 

There are many other options available, i would recommend you to Google it as per your requirement.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni