diff options
-rw-r--r-- | IkiWiki/Render.pm | 2 | ||||
-rw-r--r-- | doc/todo.mdwn | 10 | ||||
-rw-r--r-- | templates/rsspage.tmpl | 2 |
3 files changed, 3 insertions, 11 deletions
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 @@ <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> |