RSS2 is a new version of RSS. The {rss} macro works only with RSS feeds that are not labelled RSS2.
(This issue was raised in the forum and I was asked to post this bug by Ludovic 12/2005.)
This problem was originally found in 0.9.743 and still exists in the subversion repository as of June 20, 2006 (i.e. 1.0B1).
I tried upgrading to the latest version of rome.jar, 0.7, but that didn't help. A Google search showed that many XWiki users are having the same problem I am.
When I use {rss... |full=true} I see the following text. The "SyndContent" text is coming from the ROME code (not directly from the RSS source).
SyndContentImpl.value=Be sure to check out my November Newsletter for important tips for Buyers! Click on the Newsletter tab on my Home Page and read about 6 questions a Buyer should ask before making an offer. Read More <http://----.com/ViewBlog/14/
>
SyndContentImpl.type=text/plain SyndContentImpl.interface=interface com.sun.syndication.feed.synd.SyndContent
185c184
< .append(NEWLINE).append(entry.getDescription())
—
> .append(NEWLINE).append(entry.getDescription().getValue())
218c217
< .append(NEWLINE).append(entry.getDescription())
—
> .append(NEWLINE).append(entry.getDescription().getValue())
Explanation:
The following code appends the result of com.sun.syndication.feed.synd.SyndEntry.getDescription(). That would be fine if getDescription returned a String, but in fact it returns a feed.synd.SyndContent object.
buf.append(NEWLINE).append("<div class='rssitemdescription'>")
.append(NEWLINE).append(entry.getDescription().getValue())
.append(NEWLINE).append("</div>");