From: William Crandall <bc3141592@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Drupal syntax on html-export for image links
Date: Wed, 23 May 2012 21:55:13 -0700 [thread overview]
Message-ID: <CAENLK5UfnFoqPXfs9UTBTDUk6b33yAOUsiRvY0qfmm+KDYZK6Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]
Hello,
I'm drafting pages for publication on a Drupal website.
I've set up a draft-review cycle using Org-mode and some
simplified CSS, for a light-weight type-and-read process.
When I'm happy with the text, I'd like to cut-and-paste
from the generated html output directly into Drupal.
Links to external http files work fine, but image links
(and internal links) are confounding me.
--------------------------------------------------
Drupal inline image syntax is:
<img src="/sites/default/files/images/BC.png" alt="BC">
Default Org-mode html-export, for [[/sites/a.png]] seems to be:
<img src="file://g:/sites/a.png" alt="file://g:/sites/a.png" />
Which really won't do. Before hauling out my wheel-creation
tools, has anyone created a "Drupal-link type" for Org-mode?
Or some other solution?
--------------------------------------------------
I found one Drupal thread in the archives:
http://lists.gnu.org/archive/html/emacs-orgmode/2009-11/msg00473.html
But I don't need or want to "push the button" and publish.
I'd just like to modify the html-export output for images.
(And then adapt that to internal links.)
--------------------------------------------------
Thanks for any suggestions or references.
And for Org-mode, which is great!
-BC
Org-mode: 7.8.09
Emacs: 24.1.50.1
Windows 7
[-- Attachment #2: Type: text/html, Size: 5210 bytes --]
next reply other threads:[~2012-05-24 4:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 4:55 William Crandall [this message]
2012-05-24 9:01 ` Drupal syntax on html-export for image links Bastien
2012-05-27 4:43 ` William Crandall
2012-05-27 7:35 ` Nicolas Goaziou
2012-05-27 12:41 ` Jambunathan K
2012-05-27 12:37 ` Jambunathan K
2012-05-27 16:00 ` William Crandall
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=CAENLK5UfnFoqPXfs9UTBTDUk6b33yAOUsiRvY0qfmm+KDYZK6Q@mail.gmail.com \
--to=bc3141592@gmail.com \
--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).