From 249c3e097f682da738c18259518fe30aed16263b Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 26 Aug 2006 03:48:39 +0000 Subject: [PATCH] response --- doc/todo/rss_title_description.mdwn | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/todo/rss_title_description.mdwn b/doc/todo/rss_title_description.mdwn index d5081d416..3ff8c0767 100644 --- a/doc/todo/rss_title_description.mdwn +++ b/doc/todo/rss_title_description.mdwn @@ -5,4 +5,23 @@ At the moment The description is the same for all feeds from a single wiki it seems, and the title is forced to be one word, though I don't think it needs to be. -A few pointers and I might be able to implement this myself. -- JamesWestby \ No newline at end of file +A few pointers and I might be able to implement this myself. -- JamesWestby + + I don't see any problem with the title, it's the same as the title + of the wiki page that the rss feed comes from, which can be set + using the meta plugin. There are no restrictions to one word or + anything like that. Just made ikiwiki emit the following in a test + feed: + + billy bob's news + + Now, the description field currently defaults to the wiki name, + and that could indeed stand to be made configurable. Since the + current (svn) version of ikiwiki supports long, word-wrapped + blocks of text as parameters to [[PreProcessorDirective]]s, seems + to me the best way would be to simple modify inline.pm to make the + descripion configurable by such parameter, with a fallback to the + wiki name. You'll need to modify rsspage.tmpl to use whatever new + template variable you define, that should be all. + + --[[Joey]] -- 2.45.2