[xwiki-users] RSS macro make the entire site to hang
Ludovic Dubost
ludovic at xwiki.com
Mon May 7 19:25:28 CEST 2007
Hi,
There is not much XWiki can do if a RSS feed displayed in a page is slow
or does not respond.
We have improved a little XWiki's behavior by adding a timeout (default
to 60 seconds) in the latest trunk code.
However this won't completely solve your problem.
If you want to solve it, you want either to use a cache (this exists in
the FeedPlugin) or to use the FeedPlugin's capability of storing RSS
Feeds in Wiki pages.
Checkout the FeedPlugin API
Ludovic
Antonio Goncalves a écrit :
> Hi,
>
> I've created a panel that is displayed on the right side (of every
> page). This panel displays the five top titles of an external weblog
> using the rss macro :
>
> {rss:feed=http://jroller.com/rss/agoncal|count=5
> <http://jroller.com/rss/agoncal%7Ccount=5>}
>
> The problem that I'm facing is that the rss feed is broken (JRoller's
> problem). And because of that, the macro hangs (for quite a while) and
> then throws an exception. Because it's displayed on everypage,
> navigating in the wiki becomes really slow. Is there a way to do
> something better ?
>
> Antonio (BTW I'm using RC2)
>
> 12:40:01,578 WARN http-8080-Processor25
> http://localhost:8080/xwiki/bin/view/Main/ MacroFilter:handleMatch:139
> - MacroFilter: unable
> java.io.IOException: Error processing http://jroller.com/rss/agoncal:
> Connection timed out: connect
> at
> com.xpn.xwiki.render.macro.rss.RSSMacro.execute(RSSMacro.java:102)
> at org.radeox.filter.MacroFilter.handleMatch
> (MacroFilter.java:117)
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users at objectweb.org mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe at objectweb.org
> For general help: mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic
More information about the users
mailing list