constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit dcdb4afd4cdb27fba5b2d917d8dfc74602b94ce6
parent 1b5a73270307105a7b26cfbcbb5d820b3969921a
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed,  3 Sep 2008 10:10:24 +1000

fixed some validation errors

Diffstat:
Mtemplates/_entry.xml | 5+++--
Mtemplates/multiple.xml | 2+-
Mtemplates/single.xml | 2+-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/templates/_entry.xml b/templates/_entry.xml
@@ -1,4 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd">
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
 	 py:strip="True"
@@ -60,7 +59,9 @@ from viewutils import mini_markdown, tag_list, category_list
 
 <div class="entry readinglog" py:if="isinstance(entry, blog.ReadingLogEntry)">
 
-    <img py:if="entry.isbn" class="cover" src="http://covers.librarything.com/devkey/${config.LIBRARYTHING_DEVKEY}/small/isbn/${entry.isbn}" />
+    <img py:if="entry.isbn" class="cover"
+         src="http://covers.librarything.com/devkey/${config.LIBRARYTHING_DEVKEY}/small/isbn/${entry.isbn}" 
+         alt="Cover image for ${entry.title}" />
 
     <h3 class="entrytitle" id="post-${entry.id}">
         <a py:strip="not entry.url" href="${entry.url}">${mini_markdown(entry.title)}</a>
diff --git a/templates/multiple.xml b/templates/multiple.xml
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
 	  xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/templates/single.xml b/templates/single.xml
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
 	  xmlns:xi="http://www.w3.org/2001/XInclude"