emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Insert validation link in postamble


From: Carsten Dominik
Subject: Re: [Orgmode] Insert validation link in postamble
Date: Tue, 3 Mar 2009 10:54:08 +0100

Hi Sebastian,

should this really be its own paragraph? I think it could be in the creator line.....

- 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 "<p class=\"creator\">HTML generated by org-mode %s in emacs %s</p>\n"
                           org-version emacs-major-version)))
+ (insert "<p class=\"xhtml-validation\"><a href=\"http://validator.w3.org/check?uri=referer \" target=\"_blank\">Validate XHTML 1.0</a></p>")
         (insert "</div>"))

       (if org-export-html-with-timestamp
</#part>

--
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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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