$datadir = "$ENV{BLOSXOM_CONFIG_DIR}/../data";
-$plugin_list = "$ENV{BLOSXOM_CONFIG_DIR}/plugins.conf";
-$plugin_path = "$ENV{BLOSXOM_CONFIG_DIR}/../../../general:$ENV{BLOSXOM_CONFIG_DIR}/../../../gavinc";
$static_dir = "$ENV{BLOSXOM_CONFIG_DIR}/../static";
$static_password = 'static';
@static_flavours = qw/html rss/;
<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:atom="http://www.w3.org/2005/Atom">
+<rss version="2.0">
+ <channel>
+ <title>My Weblog</title>
+ <link>http://localhost/</link>
+ <description>Yet another Blosxom weblog.</description>
+ <language>en</language>
+ <docs>http://blogs.law.harvard.edu/tech/rss</docs>
+ <generator>blosxom/2.0.2</generator>
- <channel>
- <title>My Weblog</title>
- <link>http://localhost/</link>
- <description>Yet another Blosxom weblog.</description>
- <managingEditor>author@example.com (A. U. Thor)</managingEditor>
- <webMaster>author@example.com (A. U. Thor)</webMaster>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <language>en</language>
- <generator>blosxom 2.0.2</generator>
- <atom:link href="http://localhost/index.rss" rel="self" type="application/rss+xml" />
- <sy:updatePeriod>hourly</sy:updatePeriod>
- <sy:updateFrequency>1</sy:updateFrequency>
- <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
-
-
- <item>
- <title>Lorem ipsum</title>
- <link>http://localhost/1.html</link>
- <guid isPermaLink="true">http://localhost/1.html</guid>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+ <item>
+ <title>Lorem ipsum</title>
+ <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
+ <link>http://localhost/2006/07/19#1</link>
+ <category></category>
+ <guid isPermaLink="false">/1</guid>
+ <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
-tyr wuz de ramas cora dola tym ipso hor.
- </description>
- </item>
-
- </channel>
+tyr wuz de ramas cora dola tym ipso hor.</description>
+ </item>
+ </channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:atom="http://www.w3.org/2005/Atom">
+<rss version="2.0">
+ <channel>
+ <title>My Weblog</title>
+ <link>http://localhost/</link>
+ <description>Yet another Blosxom weblog.</description>
+ <language>en</language>
+ <docs>http://blogs.law.harvard.edu/tech/rss</docs>
+ <generator>blosxom/2.0.2</generator>
- <channel>
- <title>My Weblog</title>
- <link>http://localhost/</link>
- <description>Yet another Blosxom weblog.</description>
- <managingEditor>author@example.com (A. U. Thor)</managingEditor>
- <webMaster>author@example.com (A. U. Thor)</webMaster>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <language>en</language>
- <generator>blosxom 2.0.2</generator>
- <atom:link href="http://localhost/index.rss" rel="self" type="application/rss+xml" />
- <sy:updatePeriod>hourly</sy:updatePeriod>
- <sy:updateFrequency>1</sy:updateFrequency>
- <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
-
-
- <item>
- <title>Lorem ipsum</title>
- <link>http://localhost/1.html</link>
- <guid isPermaLink="true">http://localhost/1.html</guid>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+ <item>
+ <title>Lorem ipsum</title>
+ <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
+ <link>http://localhost/2006/07/19#1</link>
+ <category></category>
+ <guid isPermaLink="false">/1</guid>
+ <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
-tyr wuz de ramas cora dola tym ipso hor.
- </description>
- </item>
-
- </channel>
+tyr wuz de ramas cora dola tym ipso hor.</description>
+ </item>
+ </channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:atom="http://www.w3.org/2005/Atom">
+<rss version="2.0">
+ <channel>
+ <title>My Weblog</title>
+ <link>http://localhost/</link>
+ <description>Yet another Blosxom weblog.</description>
+ <language>en</language>
+ <docs>http://blogs.law.harvard.edu/tech/rss</docs>
+ <generator>blosxom/2.0.2</generator>
- <channel>
- <title>My Weblog</title>
- <link>http://localhost/</link>
- <description>Yet another Blosxom weblog.</description>
- <managingEditor>author@example.com (A. U. Thor)</managingEditor>
- <webMaster>author@example.com (A. U. Thor)</webMaster>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <language>en</language>
- <generator>blosxom 2.0.2</generator>
- <atom:link href="http://localhost/index.rss" rel="self" type="application/rss+xml" />
- <sy:updatePeriod>hourly</sy:updatePeriod>
- <sy:updateFrequency>1</sy:updateFrequency>
- <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
-
-
- <item>
- <title>Lorem ipsum</title>
- <link>http://localhost/1.html</link>
- <guid isPermaLink="true">http://localhost/1.html</guid>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+ <item>
+ <title>Lorem ipsum</title>
+ <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
+ <link>http://localhost/2006/07/19#1</link>
+ <category></category>
+ <guid isPermaLink="false">/1</guid>
+ <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
-tyr wuz de ramas cora dola tym ipso hor.
- </description>
- </item>
-
- </channel>
+tyr wuz de ramas cora dola tym ipso hor.</description>
+ </item>
+ </channel>
</rss>
<?xml version="1.0" encoding="UTF-8"?>
-<rss version="2.0"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:atom="http://www.w3.org/2005/Atom">
+<rss version="2.0">
+ <channel>
+ <title>My Weblog</title>
+ <link>http://localhost/</link>
+ <description>Yet another Blosxom weblog.</description>
+ <language>en</language>
+ <docs>http://blogs.law.harvard.edu/tech/rss</docs>
+ <generator>blosxom/2.0.2</generator>
- <channel>
- <title>My Weblog</title>
- <link>http://localhost/</link>
- <description>Yet another Blosxom weblog.</description>
- <managingEditor>author@example.com (A. U. Thor)</managingEditor>
- <webMaster>author@example.com (A. U. Thor)</webMaster>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <language>en</language>
- <generator>blosxom 2.0.2</generator>
- <atom:link href="http://localhost/index.rss" rel="self" type="application/rss+xml" />
- <sy:updatePeriod>hourly</sy:updatePeriod>
- <sy:updateFrequency>1</sy:updateFrequency>
- <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
-
-
- <item>
- <title>Lorem ipsum</title>
- <link>http://localhost/1.html</link>
- <guid isPermaLink="true">http://localhost/1.html</guid>
- <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
- <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+ <item>
+ <title>Lorem ipsum</title>
+ <pubDate>Wed, 19 Jul 2006 22:54:00 +0000</pubDate>
+ <link>http://localhost/2006/07/19#1</link>
+ <category></category>
+ <guid isPermaLink="false">/1</guid>
+ <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
-tyr wuz de ramas cora dola tym ipso hor.
- </description>
- </item>
-
- </channel>
+tyr wuz de ramas cora dola tym ipso hor.</description>
+ </item>
+ </channel>
</rss>
$datadir = "$ENV{BLOSXOM_CONFIG_DIR}/../data";
-$plugin_list = "$ENV{BLOSXOM_CONFIG_DIR}/plugins.conf";
-$plugin_path = "$ENV{BLOSXOM_CONFIG_DIR}/../../../general:$ENV{BLOSXOM_CONFIG_DIR}/../../../gavinc";
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
- <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>
+ <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>
<body>
<h1>$blog_title</h1>
--- /dev/null
+Content-Type: text/xhtml; charset=UTF-8\r
+\r
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="http://localhost/index.rss" >
+ <title>My Weblog </title>
+ </head>
+ <body>
+ <h1>My Weblog</h1>
+ <h2> </h2>
+ <h3>2007-11-11</h3>
+ <h4><a name="2">Lorem ipsum II</a></h4>
+ <div>
+Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
+amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
+
+Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz
+de ramas cora dola tymon ipso hoccer. Lorem ipso foer tyr wuz de ramas
+cora dola tym ipso hor.
+</div>
+ <p>posted at: 11:11 | path: <a href="http://localhost/web">/web </a> | <a href="http://localhost/2007/11/11#2">permanent link to this entry</a></p>
+ <h3>2006-07-19</h3>
+ <h4><a name="1">Lorem ipsum</a></h4>
+ <div>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
+amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
+
+facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet
+ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor
+sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
+
+Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz
+de ramas cora dola tymon ipso hoccer. Lorem ipso foer tyr wuz de ramas
+cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym
+ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
+cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
+ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
+tyr wuz de ramas cora dola tym ipso hor.</div>
+ <p>posted at: 22:54 | path: <a href="http://localhost"> </a> | <a href="http://localhost/2006/07/19#1">permanent link to this entry</a></p>
+
+ </body>
+</html>
--- /dev/null
+Content-Type: text/xml; charset=ISO-8859-1\r
+\r
+<?xml version="1.0"?>
+<!-- name="generator" content="blosxom/2.0.2" -->
+<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+
+<rss version="0.91">
+ <channel>
+ <title>My Weblog </title>
+ <link>http://localhost/./blosxom.cgi</link>
+ <description>Yet another Blosxom weblog.</description>
+ <language>en</language>
+
+ <item>
+ <title>Lorem ipsum</title>
+ <link>http://localhost/./blosxom.cgi/2006/07/19#1</link>
+ <description>Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet ipso
+facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor sit
+amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
+
+facto.Lorem ipsum dolor sit amet ipso facto.Lorem ipsum dolor sit amet
+ipso facto.Lorem ipsum dolor sit amet ipso facto. Lorem ipsum dolor
+sit amet ipso facto.Lorem ipsum dolor sit amet ipso facto.
+
+Lorem ipso hoccer foer tyr wuz de ras cora dola tymon ipso hoc cer fuz
+de ramas cora dola tymon ipso hoccer. Lorem ipso foer tyr wuz de ramas
+cora dola tym ipso hor.Lorem ipso foer tyr wuz de ramas cora dola tym
+ipso hor tyr wuz de ramas cora dola tymon ipso foer tyr wuz de ramas
+cora dola tymo. Lorem ipso hoccer foer tyr wuz de ras cora dola tymon
+ipso hoc cer fuz de ramas cora dola tymon ipso hoccer. Lorem ipso foer
+tyr wuz de ramas cora dola tym ipso hor.</description>
+ </item>
+ </channel>
+</rss>
tests:
-
- ""
- - "expected/index.html"
- -
- - "path=/index.rss"
- - "expected/index.rss"
- -
- - "path=/web/index.html"
- - "expected/web/index.html"
- -
- - "path=/web/index.rss"
- - "expected/web/index.rss"
+ - expected.html