emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Drupal syntax on html-export for image links
@ 2012-05-24  4:55 William Crandall
  2012-05-24  9:01 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: William Crandall @ 2012-05-24  4:55 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-27 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24  4:55 Drupal syntax on html-export for image links William Crandall
2012-05-24  9:01 ` 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

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