2008-12-11 20:09:34 +01:00
|
|
|
If RSS and Atom are enabled by default, the [[plugins/contrib/comments]]
|
|
|
|
plugin generates a feed, perhaps `/sandbox/index.atom` for comments on the
|
|
|
|
sandbox. If a blog is added to the page, the blog will steal the name
|
|
|
|
`/sandbox/index.atom` and the comments plugin's feed will change to
|
|
|
|
`/sandbox/index.atom2`.
|
2008-12-11 11:59:24 +01:00
|
|
|
|
2008-12-11 20:09:34 +01:00
|
|
|
If `\[[!inline]]` gained a parameter `feedname` or something, the comments
|
|
|
|
plugin could use `feedname=comments` to produce `/sandbox/comments.atom`
|
|
|
|
instead (this would just require minor enhancements to rsspage(),
|
|
|
|
atompage() and targetpage()).
|
2008-12-11 11:59:24 +01:00
|
|
|
|
2008-12-11 20:09:34 +01:00
|
|
|
As a side benefit, [my blog](http://smcv.pseudorandom.co.uk/) could go back
|
|
|
|
to its historical Atom feed URL of `.../feed.atom` (which is currently a
|
|
|
|
symlink to `index.atom` :-) )
|
2008-12-11 11:59:24 +01:00
|
|
|
|
2008-12-11 20:09:34 +01:00
|
|
|
On sites not using `usedirs` the current feed is `/sandbox.atom`, and we
|
|
|
|
could perhaps change it to `/sandbox-comments.atom` or
|
|
|
|
`/sandbox/comments.atom` if `feedname=comments` is given.
|
2008-12-11 11:59:24 +01:00
|
|
|
|
|
|
|
--[[smcv]]
|
2008-12-11 20:09:34 +01:00
|
|
|
|
|
|
|
> This is slightly hard to do, because you have to worry about
|
2008-12-11 20:12:03 +01:00
|
|
|
> conflicting pages setting feedname, which could cause ikiwiki to blow up.
|
2008-12-11 20:09:34 +01:00
|
|
|
>
|
|
|
|
> Particularly for the non-usedirs case, where a page `sandbox/comments`
|
2008-12-11 20:12:03 +01:00
|
|
|
> would produce the same feed as sandbox with `feedname=comments`.
|
2008-12-11 20:26:58 +01:00
|
|
|
> --[[Joey]]
|
2008-12-11 21:01:26 +01:00
|
|
|
|
|
|
|
> [[done]] as feedfile option --[[Joey]]
|