emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: ox-html: stand-alone export option?
Date: Wed, 18 Feb 2015 11:39:59 +0100	[thread overview]
Message-ID: <87egpn33ls.fsf@gmx.us> (raw)
In-Reply-To: mc192r$ilb$1@ger.gmane.org

Hi Melanie,

Melanie Bacou <mel@mbacou.com> writes:

> I'm using ox-html to work on shared documents with my
> collaborators. We're working off a Dropbox account and converting our
> org files to HTML periodically.

Cool.

> Problem with all cloud storages is they don't work with relative links
> inside HTML (links to external images, CSS, and JS resources).

I use git and ssh to a wm which I guess is different from "cloud storages"
so maybe I don't understand.  If you open the browser of my.html and you
have an absolute path to https://orgmode.org/logo.png the browser would
display it no?  Likewise for img/logo.png.  Probably I've
misunderstood. . .

> We would really benefit from having a "stand-alone" HTML exporter
> feature that automatically embeds all external references into one
> single HTML file, so they can be shared with Dropbox, Google Drive,
> OneDrive and the likes.

Would you base64 encode images and inline code or do you have something
else in mind with single HTML file?  It's not built into Org ATM.

In the short run maybe there's a tool that can do.  For instance, in
Firefox it will save auxiliary material when you save a page.  I don't
know if also save whatever scripts you rely on from whatever CDN far away...

> Has this been discussed previously? Would there be any other work around?

I think there was one guy who had patch that would automatically download
external images.  Pretty neat.  I don't know if it was applied in the end.

—Rasmus

-- 
ツ

  reply	other threads:[~2015-02-18 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-18  5:48 ox-html: stand-alone export option? Melanie Bacou
2015-02-18 10:39 ` Rasmus [this message]
2015-02-20  5:18   ` Melanie Bacou
2015-02-20 10:32     ` Rasmus

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=87egpn33ls.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).