On Wed, Jul 25, 2012 at 7:26 PM, mterpstra <[email protected]> wrote:
I'm developing a Java servlet application that needs to fetch pages from an XWiki instance in the same container. It needs the content rendered in XHTML. Ideally, I'd like to get just the page content, without any of the extra navigation/layout markup. Whats the best way to do this?
For that we usually use /get/ action instead of /view/ in the standard browser oriented access. As in http://www.xwiki.org/xwiki/bin/get/Main/WebHome. An example of that is comments in the bottom of the page.
I've looked at using the REST API, but as far as I can figure out it only provides the content in the xwiki syntax. Is there a way to get the content rendered in XHTML through this API?
--Maxwell Terpstra
-- View this message in context: http://xwiki.475771.n2.nabble.com/API-to-get-page-content-in-XHTML-tp7580533... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne