ikiwiki/doc/bugs/multiple_rss_feeds_per_page...

20 lines
1.0 KiB
Plaintext
Raw Normal View History

Pages with multiple inline macros try to use the same URL for the RSS feed for each inline. As a result, the last inline "wins" and overwrites the other feeds on the same page.
2007-10-24 22:31:11 +02:00
Josh Triplett suggests that the inline macro should take a parameter for the feed basename, and refuse to generate feeds after the first one if that parameter is not specified. That sounds like a good solution to me.
> That's a reasonable fix to this longstanding bug. Autoincrementing a
> basename value would also work.
>
> I've known about this bug since well, the day I wrote rss support, but
> I haven't seen a use case that really motivated me to take the time to
> fix it. Fixes or good motivation both accepted. :-) --[[Joey]]
> A good reason to support autoincrementing might be that it's possible
> to have a blog feed that inlines another blog feed. On purpose, or
> semi-on-accident, it happened to me:
>
> <http://kitenet.net/~joey/code/whatsnew/>
>
> The result was that my whatsnew feed actually contains my Words2Nums
> feed, or something. --[[joey]]