emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible Bug with :html-extension in HTML Exporter
@ 2009-09-24 19:12 Ian Barton
  2009-09-25  7:17 ` Ian Barton
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Barton @ 2009-09-24 19:12 UTC (permalink / raw)
  To: emacs-orgmode

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.

Ian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible Bug with :html-extension in HTML Exporter
  2009-09-24 19:12 Possible Bug with :html-extension in HTML Exporter Ian Barton
@ 2009-09-25  7:17 ` Ian Barton
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Barton @ 2009-09-25  7:17 UTC (permalink / raw)
  Cc: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-25  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-24 19:12 Possible Bug with :html-extension in HTML Exporter Ian Barton
2009-09-25  7:17 ` Ian Barton

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).