[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No save file command
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 11 Mar 2015 08:25:07 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12420
- References: <878uf5h84q.fsf@xxxxxxxxxxx> <87siddyska.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx>
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
with SUBDIR/IMAGE_FILE.
・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.