]> git.deb.at Git - pkg/blosxom.git/commitdiff
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 685274659872314cbbbcd98707fa035354413a0a..638830fe39a4a966c9c59902d44699b9c9097375 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         <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>
diff --git a/t/Setup b/t/Setup
index 8334ff95e4592de3e3ecc2d4cca5fa97ccbf7c05..ffdbe167c0c41e314152c68ab8c0c00ecf731796 100755 (executable)
--- a/t/Setup
+++ b/t/Setup
@@ -20,6 +20,7 @@ close $th;
 
 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: $!";
 } 
index 72d9ef618d700255e8b73a38b69e79d63805f8a7..c39e86fef9a99785a69cfe142d85953b9e7e87dd 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" />
-        <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>
index cd79989d8c1463b600b1df11f2429aee74805ddd..35772383be9f851b315bffe4eba95d3eb4f27d4d 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" />
-        <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>
index 0de1f3362feb3cf306210d9c362c61e46b71b725..63a7e65634987a45b601f89c54dfdd0b727afd6c 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" />
-        <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>
index 47130be0b47a0fe73232e553af7d7e1422865b15..7426227d41899cb3e7dd31df7f534fe335727f16 100644 (file)
@@ -2,7 +2,7 @@
           "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>
index 2dd823bb8eaccbf85f30106d5b6d353b9a2b0b9e..22ee8a03d2504bacd7cc79accd917f55b94c4dac 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>
-        <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>