From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Crandall Subject: Drupal syntax on html-export for image links Date: Wed, 23 May 2012 21:55:13 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f6438c6a709b504c0c10e5a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXQ53-00071h-Bv for emacs-orgmode@gnu.org; Thu, 24 May 2012 00:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXQ4z-00031v-Rc for emacs-orgmode@gnu.org; Thu, 24 May 2012 00:55:20 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:48795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXQ4z-00030k-HH for emacs-orgmode@gnu.org; Thu, 24 May 2012 00:55:17 -0400 Received: by obbwd18 with SMTP id wd18so15311459obb.0 for ; Wed, 23 May 2012 21:55:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --e89a8f6438c6a709b504c0c10e5a Content-Type: text/plain; charset=ISO-8859-1 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: BC Default Org-mode html-export, for [[/sites/a.png]] seems to be: 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 --e89a8f6438c6a709b504c0c10e5a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 t= ype-and-read process.

When I'm happy with the text, I'd like to cu= t-and-paste
from

Links to external http files work fine, but image li= nks
(and internal links) are confounding me. <= /span>

--------------------------------------------------

Drupal inline image synta= x is:

=A0 <img src=3D"/sites/default/files/images/BC.png" al= t=3D"BC">
Default Org-mode html-export, for=A0 [[/sites/a.png]= ]=A0 seems to be:
=A0 <img src=3D"f= ile://g:/sites/a.png"=A0 alt=3D"file://g:/sites/a.png" />=


Which really won'= t do. Before hauling out my wheel-creation

too= ls, has anyone created a "Drupal-link type" for Org-mode?<= br style=3D"font-family:courier new,monospace"> 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 butto= n" and publish.
= I'd just like to modi= fy the html-export output for images.
(And then adapt that to i= nternal links.)

--------------------------------------------------=

Thanks for any suggestions or references.
And for Org-mode, which is great!

-BC

Org-mode: 7.8.09
Emacs: 24.1.50.1Windows 7

--e89a8f6438c6a709b504c0c10e5a--