I've posted a snippet:
http://code.xwiki.org/xwiki/bin/view/Snippets/GenericXMLapiSnippet
Which adds a very simple XML API to a site. This API allows other sites to
programmaticaly query the XWiki site, and display data from it in any form
they choose.
You can see an example here:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/api/genericXML
I came across two problems in the process of writing this. One is general,
and onw specific to my site - and fatal.
the first problem is that is seems like this API can deliver protected data
to a non-registered user. To avoid this on my site, I restricted it not to
show classes under the XWiki space. Shouldn't this be blocked at a lower
level?
The second problem was that I have some fields (propoerties) in some of the
classes which I'm not using. Since I can't delete them, I decided to change
the name to ".unused" and filter. However, once I did this it seems to have
completly crashed the class at hand. I can't even look at the Class in the
ClassEditor to delete the latest versions and go back to the latest good
one.
Here is the corrupted class:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Cases/CaseClass
Any ideas?
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.html
http://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737