Hi, On Tue, Jan 4, 2011 at 08:19, Phoenix Hawk <[email protected]> wrote:
Hi guys,
I need to update wiki pages with minimum amount of data transferred across the network.
Current approachs I've tried are are Rest and XmlRpc but they require me to download the entire wiki page before I can update it.
Can anyone suggest how I can eliminate the download (it is slow and the 3G coverage is not stable where my users are) and just simply append to the top/bottom of the Wiki page directly?
Any help/advice is deeply appreciated, thank you!
I don't think there is any API to do that by default but you can easily add one on your wiki. The cleanest answer would probably be to add a REST resource on you server and use it from your client, see http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HCustomres.... A quicker way would be a to write a velocity script in a page responsible to append a provided String in a provided document. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/.
pH _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne