diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 21:17:57 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-23 21:17:57 +0000 |
commit | 801a6d61b9abbbcd6052f838f2e099015c12d10b (patch) | |
tree | 86d999fc990cd6ace694e863ed67be91864f8df8 | |
parent | ca366fc9025197a5d32034a446dc35b776101d78 (diff) |
improve description field for rss
-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> |