It's probably a rome version issue. We could try upgrading just the rome
module on the farm.
If it doesn't work the next upgrade of the farm will do it (we need to
finish 1.0B1)
Ludovic
jeremi joslin a écrit :
On 3/23/06, Robin Fernandes
<rewbs.soal(a)gmail.com> wrote:
As demonstrated by this page
http://www.xwiki.org/xwiki/bin/view/Sandbox/includeOwnRSS
the XWiki feed parser plugin appears to fall over when parsing a feed
generated by XWiki. Other parsers have no problems.
The the stack trace isn't reported with the error so it's a bit hard
to see exactly what's going wrong... though I guess it's failing in
FeedPlugin.getFeedForce(..). I thought it might be a formatting
problem in the rdf template, exposing some fragility in the parser...
However, invoking rome as follows (using rome 0.7) works fine:
public class Feedread {
public static void main(String[] args) throws
IllegalArgumentException, IOException, FeedException, FetcherException
{
//
FeedFetcher feedFetcher = new HttpURLFeedFetcher();
URL feedURL = new
URL("http://www.xwiki.org/xwiki/bin/view/Main/WebRss?xpage=rdf")rdf");
SyndFeed feed = feedFetcher.retrieveFeed(feedURL);
feedFetcher.setUserAgent("XWikiBot");
System.out.println(feed);
}
}
So I'm not sure what's breaking when this happens inside XWiki.
The reason want to do this is that on my xwiki homepage I'd like to
include a bunch of feeds, some external, some from the wiki itself. It
would make my life easier if I could use my same macro to display them
all, rather than using the feed plug for the external ones, and direct
hql queries for the local ones.
I tried on my local wiki with the last svn version, and it's working.
But yes, it's not working on the farm.
I don't have a solution to have it working on the farm.
Jérémi
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki:
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws