2006-08-26 03:41:09 +02:00
|
|
|
There could be a better way of setting the title and description of the rss feeds. Perhaps
|
|
|
|
through the meta plugin, or extra options to the inline plugin.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2006-08-26 05:48:39 +02:00
|
|
|
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:
|
|
|
|
|
|
|
|
<title>billy bob's news</title>
|
|
|
|
|
|
|
|
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]]
|
2006-08-26 11:52:19 +02:00
|
|
|
|
|
|
|
Apologies for the title thing. I tried it yesterday, and it onlt used the first word.
|
|
|
|
I must have done something wrong. I'll have a look at implementing the description.
|
|
|
|
Thanks. -- JamesWestby
|
2006-08-26 14:42:12 +02:00
|
|
|
|
|
|
|
My patch can be found at <http://jameswestby.net/scratch/blog-desc.diff> -- JamesWestby
|
2006-08-26 19:36:46 +02:00
|
|
|
|
|
|
|
Thanks, [[todo/done]] --[[Joey]]
|