projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04b7c57
)
Convert rss20 to use $path_info_full instead of $ENV{PATH_INFO}.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Mon, 17 Dec 2007 15:41:22 +0000
(15:41 +0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Mon, 17 Dec 2007 15:41:22 +0000
(15:41 +0000)
gavinc/rss20
patch
|
blob
|
history
diff --git
a/gavinc/rss20
b/gavinc/rss20
index 4800501e3f1b48e6516786e9a6bd5a7d981ed9c8..1f5e5fb3f000c3d3569c71c24bc117f7124c7369 100644
(file)
--- a/
gavinc/rss20
+++ b/
gavinc/rss20
@@
-175,11
+175,12
@@
HEAD
' ' x $channel_indent .
qq(<copyright>$rss20::copyright</copyright>\n);
}
' ' x $channel_indent .
qq(<copyright>$rss20::copyright</copyright>\n);
}
+ my $path_info_full = $blosxom::path_info_full || "$blosxom::path_info/index.rss";
$blosxom::template{$flavour}{'head'} .= <<HEAD;
<pubDate>\$storydate::latest_rfc822</pubDate>
<language>$blosxom::blog_language</language>
<generator>$rss20::generator</generator>
$blosxom::template{$flavour}{'head'} .= <<HEAD;
<pubDate>\$storydate::latest_rfc822</pubDate>
<language>$blosxom::blog_language</language>
<generator>$rss20::generator</generator>
- <atom:link href="$blosxom::url$
ENV{PATH_INFO}
" rel="self" type="application/rss+xml" />
+ <atom:link href="$blosxom::url$
path_info_full
" 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>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>