From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: HTML/images zipped? Date: Tue, 30 Jun 2015 22:05:29 +0200 Message-ID: <20150630220529.100799f7@zotac> References: <6sw6c7bng2haym.fsf@pfdstudio.com> <20150629104730.5d15ec42@pckr150.mpip-mainz.mpg.de> <877fqmydgw.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1mi-00015z-EH for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 16:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA1md-0004EV-Vv for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 16:05:36 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1md-0004Db-Lf for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 16:05:31 -0400 In-Reply-To: <877fqmydgw.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: emacs-orgmode@gnu.org On Mon, 29 Jun 2015 13:13:19 +0200 Rasmus wrote: Hi Rasmus, > Hi Robert, > > Robert Klein writes: > > > please find an experimental htmlzip exporter attached. > > Cool! > > I don't know if you indent to make this an extension to org or for > this to be a quick hack to solve a particular issue. > I thought about aiming for contrib, but if it turns out not to be too invasive I'll probably ask for inclusion in ox-html. > If the former: Shouldn't this rather be something that is configurable > from via a keyword in ox-html or more logically via ox-publish (which > can consist of several files)? If so, you could store the list of > files in the info communication channel rather than > org-htmlzip--image-list. Hmm, I think for individual files C-c C-e h a(rchive) and an option for publishing (e.g. in org-publish-project-alist) > The command used for compression should be configurable. Yes, per org-publish-project-alist and global at least, I think. Could be I'd need to `register' (e.g. org-export-archivers-alist) compressions commands in .emacs, so a #+OPTION doesn't get too complicated (I'd think something like `z:tgz' is acceptable, but e.g. `z:'("tar" "-jcvf") is not... > > Also, if the point is to produce an offline version, you should also > include scripts and css files. Agreed. I'll see how far I get in the next couple of days. Thank you very much for your suggestions! Best regards Robert