Fixed RSS.
This commit is contained in:
parent
d15e27e9d1
commit
b52930acb7
1 changed files with 6 additions and 5 deletions
|
|
@ -167,24 +167,25 @@ uri=$baseuri$"uri
|
||||||
|
|
||||||
# Should be in a separate file.
|
# Should be in a separate file.
|
||||||
cat <<'!' | template
|
cat <<'!' | template
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>%($blogTitle%)</title>
|
<title>%($siteTitle%)</title>
|
||||||
<link>%($uri%)</link>
|
<link>%($uri%)</link>
|
||||||
<description>%($blogDesc%)</description>
|
<description>%($blogDesc%)</description>
|
||||||
<language>en-us</language>
|
<language>en-us</language>
|
||||||
<generator>Tom Duff's rc, and Kris Maglione's clever hackery</generator>
|
<generator>Tom Duff's rc, and Kris Maglione's clever hackery</generator>
|
||||||
<webMaster>Uriel %lt;uriel99@gmail.com></webMaster>
|
<webMaster>Uriel Mangado <uriel99@gmail.com></webMaster>
|
||||||
%{
|
%{
|
||||||
for(f in `{sortedBlogPostList $blogDirs}) {
|
for(f in `{sortedBlogPostList $blogDirs}) {
|
||||||
statpost $f
|
statpost $f
|
||||||
%} <item>
|
%} <item>
|
||||||
<title>%($title%)</title>
|
<title>%($title%)</title>
|
||||||
<author>%($by%)</author>
|
<author>%($by%)@noreply.cat-v.org</author>
|
||||||
<link>%($uri%)</link>
|
<link>%($uri%)</link>
|
||||||
|
<guid isPermaLink="true">%($uri%)</guid>
|
||||||
<pubDate>%($date%)</pubDate>
|
<pubDate>%($date%)</pubDate>
|
||||||
<description><![CDATA[%($summary%)]]</description>
|
<description><![CDATA[%($summary%)]]></description>
|
||||||
</item>
|
</item>
|
||||||
% }
|
% }
|
||||||
</channel>
|
</channel>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue