emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Peter Davis <pfd@pfdstudio.com>
Cc: Phillip Lord <phillip.lord@newcastle.ac.uk>, emacs-orgmode@gnu.org
Subject: Re: HTML/images zipped?
Date: Fri, 26 Jun 2015 10:30:58 -0400	[thread overview]
Message-ID: <m2h9puilst.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <6sw6c7381eh89p.fsf@pfdstudio.com>

That is a cool idea. Here is some code for data uris that worked on with
org-mode earlier this summer. You could definitely hack a filter that
embedded the image uri directly into the exported html.

http://kitchingroup.cheme.cmu.edu/blog/2015/05/09/Another-approach-to-embedding-org-source-in-html/

Peter Davis writes:

> phillip.lord@newcastle.ac.uk (Phillip Lord) writes:
>
>> data-uri's is probably what you want. There is no standard format for
>> zipping multiple HTML files together, while including images (or video's
>> or audio) directly into the HTML works reasonably well.
>>
>> I found a snippet to get ox-html to do this -- it would be a good
>> feature to add properly though!
>
> Thanks, Phillip. That sounds like an interesting possibility. I've never
> worked with data-uri's. Can you post or send that snippet? I don't seem
> to be finding it on my initial searches.
>
> Thanks,
> -pd

--
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

  reply	other threads:[~2015-06-26 14:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 13:10 HTML/images zipped? Peter Davis
2015-06-26 13:15 ` Rasmus
2015-06-26 14:05   ` Peter Davis
2015-06-26 14:24   ` John Kitchin
2015-06-26 14:35     ` Peter Davis
2015-06-26 17:22     ` Peter Davis
2015-06-26 18:09       ` John Kitchin
2015-06-26 19:28         ` Peter Davis
2015-06-26 21:51     ` Nick Dokos
2015-06-26 23:34       ` John Kitchin
2015-06-27  4:52         ` Nick Dokos
2015-06-26 13:44 ` Phillip Lord
2015-06-26 14:08   ` Peter Davis
2015-06-26 14:30     ` John Kitchin [this message]
2015-06-29  8:47 ` Robert Klein
2015-06-29 11:13   ` Rasmus
2015-06-30 20:05     ` Robert Klein
2015-06-30  5:38 ` Vaidheeswaran C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2h9puilst.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.com \
    --cc=phillip.lord@newcastle.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).