From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean O'Halpin" Subject: Re: What Happened to org-export-html-extension? Date: Sun, 31 Mar 2013 17:30:09 +0100 Message-ID: References: <51580539.3080106@wilkesley.net> <20130331100123.GA8564@kuru.dyndns-at-home.com> <51584E39.4010004@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UML95-0003Zq-0J for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 12:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UML91-0001eV-Kt for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 12:30:14 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:60965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UML91-0001eI-Ep for emacs-orgmode@gnu.org; Sun, 31 Mar 2013 12:30:11 -0400 Received: by mail-wi0-f177.google.com with SMTP id hm14so1012955wib.4 for ; Sun, 31 Mar 2013 09:30:10 -0700 (PDT) In-Reply-To: <51584E39.4010004@wilkesley.net> 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: ian@manor-farm.org Cc: Org Mode 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