From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: [OT] Issue with exported html on webserver Date: Mon, 26 Mar 2012 11:34:58 +0200 Message-ID: <80k427puwt.fsf@somewhere.org> References: <15454.1332710716@alphaville> <15710.1332712125@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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" . ""))) #+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