all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sean O'Halpin" <sean.ohalpin@gmail.com>
To: ian@manor-farm.org
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: What Happened to org-export-html-extension?
Date: Sun, 31 Mar 2013 17:30:09 +0100	[thread overview]
Message-ID: <CAOXM+eXg8akdus=uaaSgZBe1pvLo=i49=rKs6eUydWfd6fPvZw@mail.gmail.com> (raw)
In-Reply-To: <51584E39.4010004@wilkesley.net>

Hi,

org-html-publish-to-html is defined in ox-html.el and looks like this
(sans doc):

  (defun org-html-publish-to-html (plist filename pub-dir)
    (org-publish-org-to 'html filename ".html" plist pub-dir))

You could define your own publishing function, e.g.

  (defun my-org-html-publish-to-html (plist filename pub-dir)
    (org-publish-org-to 'html filename ".yml" plist pub-dir))

and refer to that in your org-publish-project-alist.

org-html-extension is used in org-html-export-to-html which calls
org-export-to-file, which is the same function org-publish-org-to
calls (so org-html-extension is bypassed).

There's also the export option :html-extension but it doesn't look
like it's used to name published files.

Regards,
Sean

  reply	other threads:[~2013-03-31 16:30 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
2013-03-31 16:30     ` Sean O'Halpin [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOXM+eXg8akdus=uaaSgZBe1pvLo=i49=rKs6eUydWfd6fPvZw@mail.gmail.com' \
    --to=sean.ohalpin@gmail.com \
    --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 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.