aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorStefan Ritter <gideonstar@thehappy.de>2009-07-29 20:17:16 +0200
committerStefan Ritter <gideonstar@thehappy.de>2009-07-29 20:17:16 +0200
commita0da3b8091b02f2178de42ca644da1624722c391 (patch)
tree89b1d1860d39917a27f8f32d61cdcca31bfd9125 /blogthon.cgi
parentf561676ac116e0635f1af6741e693167d0785819 (diff)
Bugfixes:
* Switched to xhtml strict * Removed a empty line and added a whitespace
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi9
1 files changed, 4 insertions, 5 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index a063c8a..e939215 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/python
-#This program is free software. It comes without any warranty, to
+# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
@@ -25,8 +25,8 @@ def generate_uuid(string):
def errorpage(string):
print 'Content-type: text/html\n'
- print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'
- print ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
+ print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'
+ print ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
print '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">'
print '<head>'
print ' <title>Error!</title>'
@@ -284,7 +284,7 @@ elif feed_display == "rss":
# Generate regular page
else:
- document_header("xhtml-transitional")
+ document_header("xhtml-strict")
# XHTML Header
print ' <head>'
print ' <title>' + blog_title + '</title>'
@@ -520,4 +520,3 @@ else:
print '</html>'
# vim: set tw=0 ts=4:
-