I did something like this for org-files: https://github.com/jkitchin/jmax/blob/master/ox-archive.el
You might use that as a starting point for html. Also, my blogofile code (https://github.com/jkitchin/jmax/blob/master/user/blogofile.el) does something like this to publish org to blogofile. Rasmus writes: > Peter Davis <p...@pfdstudio.com> writes: > >> Is there any way to export HTML with all references images, >> etc. packaged in a ZIP file? > > My guess is that at the moment your best bet is hacking some together with > ox-publish. See org-publish-project-alist. > > Hope it helps, > Rasmus > > PS: On the list, we have talked about a .borg format that might serve for > similar situation but it's at an idea stage at the moment. -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu