From: joey Date: Thu, 23 Mar 2006 21:17:57 +0000 (+0000) Subject: improve description field for rss X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/801a6d61b9abbbcd6052f838f2e099015c12d10b improve description field for rss --- diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 646e254a5..1c56677ba 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -171,7 +171,7 @@ sub genrss ($$$) { #{{{ ); $template->param( - title => pagetitle(basename($page)), + title => $config{wikiname}, pageurl => $url, items => \@items, ); diff --git a/doc/todo.mdwn b/doc/todo.mdwn index f01753e33..eb828adcd 100644 --- a/doc/todo.mdwn +++ b/doc/todo.mdwn @@ -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 diff --git a/templates/rsspage.tmpl b/templates/rsspage.tmpl index cbfeb5471..4fe15d491 100644 --- a/templates/rsspage.tmpl +++ b/templates/rsspage.tmpl @@ -3,7 +3,7 @@ <TMPL_VAR TITLE ESCAPE=HTML> - + <TMPL_VAR ITEMTITLE ESCAPE=HTML>