From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Org links, URLs and HTML export
Date: Tue, 23 Aug 2016 18:30:34 +0200 [thread overview]
Message-ID: <87k2f7v45x.fsf@Rainer.invalid> (raw)
In-Reply-To: CAFgFV9NviQWR5_y7azD4bsLB3J7h4NR50nP2EfdQj+56nXsH6A@mail.gmail.com
Fabrice Popineau writes:
> I can insert : [[http:bar.html]]
> However, I would like to be able to insert any kind of relative url.
> Specifically, there is no mean to insert something
> like : [[http:/bar.html]] which is exported to <a href="http:/bar.html"></a>
> The corresponding export should be <a href="/bar.html"></a>
But that's an absolute URL, provided a well-defined base URI exists (the
authority is implied and the path component starts with a slash, so it
would start in the root).
> Strangely, some browsers grok the former (Chrome), but not all of them
> (Safari).
Then Safari either has a bug or it determines the base URI differently
than Chrome.
> Anyway, only the later is correct.
I don't think so. You might want to read
https://tools.ietf.org/html/rfc3986
specifically the part about the translation of relative URI.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
next prev parent reply other threads:[~2016-08-23 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 22:28 Org links, URLs and HTML export Fabrice Popineau
2016-08-23 16:30 ` Achim Gratz [this message]
2016-08-23 16:57 ` Fabrice Popineau
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2f7v45x.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.