[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: No save file command

In [emacs-w3m : No.12418]
	On Tue, 10 Mar 2015 10:57:25 +0800, 積丹尼 Dan Jacobson wrote:
>> Chrome has C-s to save the current page to a file. No such thing
>> available for emacs-w3m.

In [emacs-w3m : No.12419]
	On Tue, 10 Mar 2015 07:56:21 -0400, Nick Dokos <ndokos@xxxxxxxxx> wrote:
> You can use standard emacs commands for that: emacs-w3m does not have
> to reinvent the wheel. E.g. try C-x C-w.

Well, a way to do that would be:

・Visit the html source of a page.
・Replace link urls in <a> tags with the absolute ones,
  and remove the <base> tag, if any, in the <head> portion.
・Download images into SUBDIR, and replace src's in <img> tags
・Save revised html source to PAGE.html .

And you can get a portable copy as PAGE.html and SUBDIR.
Does anyone want to try it?
`gnus-article-browse-html-article' does a similar thing.