Fix typo in default html head rss line, and adjust tests.
authorGavin Carr <gonzai@users.sourceforge.net>
Fri, 12 Oct 2007 02:12:09 +0000 (02:12 +0000)
committerGavin Carr <gonzai@users.sourceforge.net>
Fri, 12 Oct 2007 02:12:09 +0000 (02:12 +0000)
blosxom.cgi
t/Setup
t/permalinks/expected.bar
t/permalinks/expected.html
t/smoketest/expected.html
t/templates/data/head.html
t/templates/expected.html

index 6852746..638830f 100755 (executable)
@@ -726,7 +726,7 @@ html content_type text/html; charset=$blog_encoding
 html head <html>
 html head     <head>
 html head         <meta http-equiv="content-type" content="text/html;charset=$blog_encoding" />
 html head <html>
 html head     <head>
 html head         <meta http-equiv="content-type" content="text/html;charset=$blog_encoding" />
-html head         <link rel="alternate" type="type="application/rss+xml" title="RSS" href="$url/index.rss" />
+html head         <link rel="alternate" type="application/rss+xml" title="RSS" href="$url/index.rss" />
 html head         <title>$blog_title $path_info_da $path_info_mo $path_info_yr
 html head         </title>
 html head     </head>
 html head         <title>$blog_title $path_info_da $path_info_mo $path_info_yr
 html head         </title>
 html head     </head>
diff --git a/t/Setup b/t/Setup
index 8334ff9..ffdbe16 100755 (executable)
--- a/t/Setup
+++ b/t/Setup
@@ -20,6 +20,7 @@ close $th;
 
 for my $t (@tests) {
   chomp $t;
 
 for my $t (@tests) {
   chomp $t;
+  unlink $t if -l $t;
   print "symlink $DRIVER $t\n"; 
   eval { symlink $DRIVER, $t } or die "symlink $DRIVER, $t failed: $!";
 } 
   print "symlink $DRIVER $t\n"; 
   eval { symlink $DRIVER, $t } or die "symlink $DRIVER, $t failed: $!";
 } 
index 72d9ef6..c39e86f 100644 (file)
@@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
-        <link rel="alternate" type="type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
         <title>My Weblog   
         </title>
     </head>
         <title>My Weblog   
         </title>
     </head>
index cd79989..3577238 100644 (file)
@@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
-        <link rel="alternate" type="type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
         <title>My Weblog   
         </title>
     </head>
         <title>My Weblog   
         </title>
     </head>
index 0de1f33..63a7e65 100644 (file)
@@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
 <html>
     <head>
         <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1" />
-        <link rel="alternate" type="type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
         <title>My Weblog   
         </title>
     </head>
         <title>My Weblog   
         </title>
     </head>
index 47130be..7426227 100644 (file)
@@ -2,7 +2,7 @@
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
     <head>
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
     <head>
-        <link rel="alternate" type="type="application/rss+xml" title="RSS" href="$url/index.rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS" href="$url/index.rss" />
         <title>$blog_title $path_info_da $path_info_mo $path_info_yr
         </title>
     </head>
         <title>$blog_title $path_info_da $path_info_mo $path_info_yr
         </title>
     </head>
index 2dd823b..22ee8a0 100644 (file)
@@ -4,7 +4,7 @@ Content-Type: text/xhtml; charset=UTF-8
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
     <head>
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
     <head>
-        <link rel="alternate" type="type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
+        <link rel="alternate" type="application/rss+xml" title="RSS" href="http://localhost/index.rss" />
         <title>My Weblog   
         </title>
     </head>
         <title>My Weblog   
         </title>
     </head>