emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [OT] Issue with exported html on webserver


From: Sebastien Vauban
Subject: Re: [O] [OT] Issue with exported html on webserver
Date: Mon, 26 Mar 2012 11:34:58 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (windows-nt)

Hi Nick,

Nick Dokos wrote:
> Why on earth would anybody set it up so that "all web pages are interpreted
> as php pages"? Seems crazy to me, but I'm probably naive.

The problem can be a config which applies on a too wide range of directories.

An easy way to circumvent this is:

#+begin_src emacs-lisp
  ;; XML encoding
  (setq org-export-html-xml-declaration
        '(("html" . "<!-- <xml version="1.0" encoding="utf-8"> -->")))
#+end_src

This eliminates the =T_STRING= error and you have a page that will still pass
W3C validation...

And, this way, you don't care about what the IT department does or needs to
do.

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]