From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Insert validation link in postamble Date: Tue, 3 Mar 2009 10:56:35 +0100 Message-ID: <573D961F-99B3-4C74-8534-AA3940FBC050@uva.nl> References: <87y6vnarog.fsf@kassiopeya.MSHEIMNETZ> <3073E0EA-AD3F-4F21-9566-6255804FBC44@uva.nl> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeRMg-0001Uk-En for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 04:56:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeRMe-0001Te-5r for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 04:56:41 -0500 Received: from [199.232.76.173] (port=53546 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeRMd-0001TV-U2 for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 04:56:40 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:55115) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeRMd-0003dF-66 for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 04:56:39 -0500 Received: by ey-out-1920.google.com with SMTP id 4so464560eyg.24 for ; Tue, 03 Mar 2009 01:56:38 -0800 (PST) In-Reply-To: <3073E0EA-AD3F-4F21-9566-6255804FBC44@uva.nl> 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 To: Carsten Dominik Cc: emacs-orgmode Org-Mode On Mar 3, 2009, at 10:54 AM, Carsten Dominik wrote: > Hi Sebastian, > > should this really be its own paragraph? I think it could be in the > creator line..... Actually, I take that back. I have applied your patch, but wrapped it into a variable org-export-html-validation-link which defaults to nil. - Carsten > > > - Carsten > > On Mar 3, 2009, at 10:20 AM, Sebastian Rose wrote: > >> >> This patch inserts a link into the postamble to validate the XHTML >> 1.0 >> via http://validator.w3.org/ >> >> By clicking on the link, the page will be validated in a new browser >> window (or tab). >> >> diff --git a/lisp/org-exp.el b/lisp/org-exp.el >> index 95b9ad8..b359da1 100644 >> --- a/lisp/org-exp.el >> +++ b/lisp/org-exp.el >> @@ -4067,6 +4067,7 @@ lang=\"%s\" xml:lang=\"%s\"> >> (when org-export-creator-info >> (insert (format "

HTML generated by >> org-mode %s in emacs %s

\n" >> org-version emacs-major-version))) >> + (insert "

> \" target=\"_blank\">Validate XHTML 1.0

") >> (insert "")) >> >> (if org-export-html-with-timestamp >> >> >> -- >> Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 >> Hannover >> Tel.: +49 (0)511 - 36 58 472 >> Fax: +49 (0)1805 - 233633 - 11044 >> mobil: +49 (0)173 - 83 93 417 >> Http: www.emma-stil.de >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >