From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Possible Bug with :html-extension in HTML Exporter Date: Fri, 25 Sep 2009 08:17:42 +0100 Message-ID: <4ABC6E96.3050700@manor-farm.org> References: <4ABBC4B4.6000601@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr53w-0006M3-MU for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 03:17:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr53r-0006Lj-AP for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 03:17:51 -0400 Received: from [199.232.76.173] (port=59262 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr53r-0006Lg-4J for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 03:17:47 -0400 Received: from mx20.gnu.org ([199.232.41.8]:27901) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr53q-0004Uh-Jn for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 03:17:46 -0400 Received: from [217.146.125.41] (helo=firewall.banter.local) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mr53p-0005TH-SY for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 03:17:46 -0400 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id 6DE2CCE5D for ; Fri, 25 Sep 2009 08:17:43 +0100 (BST) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Th7L2QHC01Br for ; Fri, 25 Sep 2009 08:17:43 +0100 (BST) Received: from [192.168.0.55] (unknown [192.168.0.55]) by firewall.banter.local (Postfix) with ESMTPSA id 43CA3C030 for ; Fri, 25 Sep 2009 08:17:43 +0100 (BST) In-Reply-To: <4ABBC4B4.6000601@manor-farm.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org Ian Barton wrote: > I am trying to export a project as php files. I realize that this an > offence against the XHTML Gods, which is probably why I am having a > problem. > > The relevant bit of my org-publish-project-alist looks like: > > ("org-mobile" > :base-directory "~/nfs/firewall/Documents/org/" > :base-extension "org" > :publishing-directory "~/nfs/firewall/public_html/org-mobile/" > :recursive t > :publishing-function org-publish-org-to-html > :headline-levels 4 ; Just the default for this > project. > :auto-preamble t > :auto-index t > :html-extension php > :index-filename "sitemap.org" > :index-title "Sitemap" > ) > > I have tried both php and "php". However, the exporter insists on the > "One True Path" of exporting everything with a .html extension. > > I am using df3fca503e9136edea8a1defe54926c3d3c03b63 > refs/remotes/origin/HEAD. > It's working correctly now after quitting and re-starting emacs. Sorry for the noise. Ian.