emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: sebastian_rose@gmx.de
Cc: "[emacs-orgmode]" <emacs-orgmode@gnu.org>
Subject: Re: Valid XHTML
Date: Mon, 27 Oct 2008 02:45:11 +0100	[thread overview]
Message-ID: <49051D27.3010905@gmx.de> (raw)
In-Reply-To: <4904E4C6.4080404@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

The appended patch fixes the parsing-error for the index-file.



sh> xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd 
sitemap.html

no erros

[-- Attachment #2: patch-sitemap-unclosed-diff.patch --]
[-- Type: text/x-patch, Size: 495 bytes --]

diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index c46aedb..58df822 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -626,7 +626,7 @@ Default for INDEX-FILENAME is 'index.org'."
     (if index-buffer
 	(kill-buffer index-buffer))
     (with-temp-buffer
-      (insert (concat index-title "\n\n"))
+      (insert (concat "* " index-title "\n\n"))
       (while (setq file (pop files))
 	(let ((fn (file-name-nondirectory file))
 	      (link (file-relative-name file dir))

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2008-11-01  0:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 19:54 Valid XHTML Sebastian Rose
2008-10-26 21:44 ` Sebastian Rose
2008-10-26 22:04   ` Sebastian Rose
2008-10-26 22:12   ` Sebastian Rose
2008-10-27  1:25     ` Sebastian Rose
2008-11-02  6:42     ` Carsten Dominik
2008-10-27  0:55   ` Sebastian Rose
2008-10-27  2:37     ` Sebastian Rose
2008-11-02  6:40     ` Carsten Dominik
2008-10-27  1:45   ` Sebastian Rose [this message]
2008-11-02  6:43     ` Carsten Dominik
2008-11-02  6:50 ` Carsten Dominik
2008-11-03 11:08 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49051D27.3010905@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).