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");
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.
Regards,
Robin
Can someone provide information on how RSS feeds and the Xwiki cache
system work together?
What's known so far.
1) The xwiki/WEB-INF/xwiki.cfg file contains the following lines
xwiki.store.cache=1
xwiki.store.cache.capacity=100
2) Based on the build.xml file included in the source, xwiki is
configured to use ehcache-1.1, oscache-2.0.2, and swarmcache.
3) grep results on source files indicate that OSCache is being used by
Xwiki.
Questions
4) Does item 1) mean caching is enabled for RSS feeds?
5) Does "xwiki.store.cache.capacity=100" relate to OSCache's
"cache.capacity" configuration property? Are they the same? See the
following URL
http://wiki.opensymphony.com/display/CACHE/Configuration
6) Please confirm that OSCache is being used by Xwiki 0.9.840 for RSS
feeds
That's enough, for now and thanks for any help you can provide.
Rex Kidwell
Hi,
Trying to view/preview any page on free xwiki.com hosted containing the text:
select x into y
causes nothing more than the following message to be displayed:
We are currently doing performance maintenance of our servers. The
service will be back in a few minutes. Sorry for the inconvenience.
'x' and 'y' can be any number of words. Note that this happens with
plain text - no velocity or anything, e.g. simply a document
containing the text:
Press the 'add' button to select which plugin is loaded into the
current effect slot.
I haven't raised this as bug on JIRA since I can't reproduce it
outside of xwiki.com hosted wikis. So I guess it's some configuration
issue or some extra protection gone wrong on xwiki.com.
Thanks,
Robin.
Hi all!
I'm a newbie in XWiki application development and I'm trying to make
sense of these plugins. I tried with the IPResolverPlugin which looks
quite simple but I don't know how to access it from the Velocity
context. Is this possible at least?
Thanks a lot!
--
_ _ Julien Bourdon
(o)(o)--. http://purl.org/net/JulienBourdon
\../ ( ) self isAddictedTo:(#Squeak&#linux)
m\/m--m'`--. ^true
Hi,
just testing the LDAP integration on a development build (head). I do
manage to authenticate against my LDAP server and I'm logged in
afterwards, but the username is not displayed (only:
$docuser.display("first_name", "view", $objuser)) and somehow I'm not
really "logged in". I don't have the permissions I normally have, when
I'm a logged in user.
Do I have to do anything extra for the LDAP integration? Do I have to
create each user which exists in ldap also in the xwiki db? (this
apparently works..) Below my xwiki.cfg
Christian
xwiki.cfg for ldap:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=enron
xwiki.authentication.ldap.check_level=1
xwiki.authentication.ldap.base_DN=dc=LogicUnited,dc=Com
xwiki.authentication.ldap.bind_DN=cn=Manager,dc=logicunited,dc=com
xwiki.authentication.ldap.bind_pass=****
xwiki.authentication.ldap.UID_attr=uid
xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,mail=mail,ldap_dn=dn
--
------------------------------------------
Logic United GmbH
Email: leeden(a)logicunited.com
Tel: +49-89-189488-66