From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: How to obtain the list of files included in HTML export? Date: Wed, 25 Feb 2015 20:35:28 -0500 Message-ID: References: <871tlu3e6k.fsf@wmi.amu.edu.pl> <87pp8x4ib8.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQnMm-0000ej-9N for emacs-orgmode@gnu.org; Wed, 25 Feb 2015 20:35:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQnMk-0001pu-VO for emacs-orgmode@gnu.org; Wed, 25 Feb 2015 20:35:52 -0500 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:35546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQnMk-0001pp-Q2 for emacs-orgmode@gnu.org; Wed, 25 Feb 2015 20:35:50 -0500 Received: by mail-ob0-f178.google.com with SMTP id uz6so7919528obc.9 for ; Wed, 25 Feb 2015 17:35:49 -0800 (PST) In-Reply-To: <87pp8x4ib8.fsf@wmi.amu.edu.pl> 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: Marcin Borkowski Cc: Org-Mode mailing list On Wed, Feb 25, 2015 at 7:39 PM, Marcin Borkowski wrote: > > On 2015-02-13, at 00:25, Marcin Borkowski wrote: > >> Hi there again, > > ...and again. > >> the subject pretty much says it all. Apart from the HTML file itself >> there might be inlined images and bitmaps of equations. Since I'd like >> to make my customized exporter create a self-contained zip file, I need >> the list of all files comprising the generated web page. > > So, the question remains. It's even (a bit) more tricky: if I exported > only one file, I could just take the list of all files in the target > directory. However, (i) it is possible that I'll have some included > images (not generated), and they should also be included in the list, > and (ii) I'll export /a few/ files, and it would be handier if they > could all be exported to one directory. In that case, however, the list > of the files in that directory will include files for more than one > export. wget works well for this sort of thing, the downside being that it doesn't understand file schemes, so you would have run a web server to serve the directory over http then you could use wget to download a directory with just the required files. If you already have a web server that you can access conveniently this may be a viable option Best, Ista > >> Best, > > TIA, > > -- > Marcin Borkowski This email was proudly sent > http://mbork.pl from my Emacs. >