emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Re: What Happened to org-export-html-extension?
Date: Sun, 31 Mar 2013 15:54:49 +0100	[thread overview]
Message-ID: <51584E39.4010004@wilkesley.net> (raw)
In-Reply-To: <20130331100123.GA8564@kuru.dyndns-at-home.com>

On 31/03/13 11:01, Suvayu Ali wrote:
> Hello Ian,
>
> On Sun, Mar 31, 2013 at 10:43:21AM +0100, Ian Barton wrote:
>>
>> However, all files are published with an .html extension. My Emacs customize
>> interface claims that org-export-html-extension doesn't exist. Grepping the
>> source for org-export-html-extension doesn't find anything. So has the
>> variable been renamed to something else?
>
> All variables and functions called org-export or org-e- have been
> renamed to org-<backend>-<oldname>.  So org-export-html-extension is
> now, org-html-extension.
>
> Hope this helps,
>
Thanks, it does and it doesn't. I have set the variable, but still get 
files with a .html extension.

I can reproduce the problem with the following minimal emacs:

(add-to-list 'load-path "~/.emacs.d/src/lisp")
(require 'org)

(require 'ox-html)

(setq org-publish-project-alist
       '(

        ;; ... add all the components here (see below)...
   ("org-ianbarton"
           :base-directory 
"~/Documents/emacs/web_sites/ianbarton/org/_posts"
           :base-extension "org"
           :publishing-directory 
"~/Documents/emacs/web_sites/ianbarton/pelican/blog/content"
           :recursive t
           :publishing-function org-html-publish-to-html
           :headline-levels 4             ; Just the default for this 
project.
           :auto-preamble t
           :auto-index f
           :org-html-extension "yml"
           :auto-preamble t
           :body-only t
     )

   ("org-static-ian"
           :base-directory 
"~/Documents/emacs/web_sites/ianbarton/org/_posts"
           :base-extension 
"css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
           :publishing-directory 
"~/Documents/emacs/web_sites/ianbarton/pelican/blog/content"
           :recursive t
           :publishing-function org-ox-publish-attachment)


     ("ianbarton" :components ("org-ianbarton" "org-static-ian"))



       ))

  reply	other threads:[~2013-03-31 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-31  9:43 What Happened to org-export-html-extension? Ian Barton
2013-03-31 10:01 ` Suvayu Ali
2013-03-31 14:54   ` Ian Barton [this message]
2013-03-31 16:30     ` Sean O'Halpin
2013-03-31 19:31       ` Ian Barton
2013-04-03 11:26         ` Bastien
2013-04-05 15:25           ` Ian Barton

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=51584E39.4010004@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.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).