improve description field for rss

master
joey 2006-03-23 21:17:57 +00:00
parent ca366fc902
commit 801a6d61b9
3 changed files with 3 additions and 11 deletions

View File

@ -171,7 +171,7 @@ sub genrss ($$$) { #{{{
);
$template->param(
title => pagetitle(basename($page)),
title => $config{wikiname},
pageurl => $url,
items => \@items,
);

View File

@ -64,15 +64,7 @@ renered, so maybe that won't be a plugin.
## blogging and rss
The wiki should emit rss feeds for pages. The simple case is a regular
page. The complex case is a blog composed of multiple pages.
### single page
Just create an rss feed with one element, that contains the last diff to
the page, or the contents of the page, or something like that. Whenever the
page is changed, rss readers should see the single post in the feed as a
new post, so they'll dump out the page again. Simple, allows subscribing to
any page as an RSS feed if you want to see just changes to that page.
page (done). The complex case is a blog composed of multiple pages.
### multi-page blog

View File

@ -3,7 +3,7 @@
<channel>
<title><TMPL_VAR TITLE ESCAPE=HTML></title>
<link><TMPL_VAR PAGEURL></link>
<description><TMPL_VAR TITLE ESCAPE=HTML></description>
<description><TMPL_VAR WIKINAME ESCAPE=HTML></description>
<TMPL_LOOP NAME="ITEMS">
<item>
<title><TMPL_VAR ITEMTITLE ESCAPE=HTML></title>