projects
/
matthijs
/
upstream
/
blosxom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
821c5f8
)
Fix typo in default html head rss line, and adjust tests.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Fri, 12 Oct 2007 02:12:09 +0000
(
02:12
+0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Fri, 12 Oct 2007 02:12:09 +0000
(
02:12
+0000)
blosxom.cgi
patch
|
blob
|
history
t/Setup
patch
|
blob
|
history
t/permalinks/expected.bar
patch
|
blob
|
history
t/permalinks/expected.html
patch
|
blob
|
history
t/smoketest/expected.html
patch
|
blob
|
history
t/templates/data/head.html
patch
|
blob
|
history
t/templates/expected.html
patch
|
blob
|
history
diff --git
a/blosxom.cgi
b/blosxom.cgi
index 685274659872314cbbbcd98707fa035354413a0a..638830fe39a4a966c9c59902d44699b9c9097375 100755
(executable)
--- a/
blosxom.cgi
+++ b/
blosxom.cgi
@@
-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 8334ff95e4592de3e3ecc2d4cca5fa97ccbf7c05..ffdbe167c0c41e314152c68ab8c0c00ecf731796 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: $!";
}
diff --git
a/t/permalinks/expected.bar
b/t/permalinks/expected.bar
index 72d9ef618d700255e8b73a38b69e79d63805f8a7..c39e86fef9a99785a69cfe142d85953b9e7e87dd 100644
(file)
--- a/
t/permalinks/expected.bar
+++ b/
t/permalinks/expected.bar
@@
-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>
diff --git
a/t/permalinks/expected.html
b/t/permalinks/expected.html
index cd79989d8c1463b600b1df11f2429aee74805ddd..35772383be9f851b315bffe4eba95d3eb4f27d4d 100644
(file)
--- a/
t/permalinks/expected.html
+++ b/
t/permalinks/expected.html
@@
-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>
diff --git
a/t/smoketest/expected.html
b/t/smoketest/expected.html
index 0de1f3362feb3cf306210d9c362c61e46b71b725..63a7e65634987a45b601f89c54dfdd0b727afd6c 100644
(file)
--- a/
t/smoketest/expected.html
+++ b/
t/smoketest/expected.html
@@
-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>
diff --git
a/t/templates/data/head.html
b/t/templates/data/head.html
index 47130be0b47a0fe73232e553af7d7e1422865b15..7426227d41899cb3e7dd31df7f534fe335727f16 100644
(file)
--- a/
t/templates/data/head.html
+++ b/
t/templates/data/head.html
@@
-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>
diff --git
a/t/templates/expected.html
b/t/templates/expected.html
index 2dd823bb8eaccbf85f30106d5b6d353b9a2b0b9e..22ee8a03d2504bacd7cc79accd917f55b94c4dac 100644
(file)
--- a/
t/templates/expected.html
+++ b/
t/templates/expected.html
@@
-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>