Re: [xwiki-users] Is there an escape tool to escape text in XWiki syntax?

2015-01-18 Thread vinc...@massol.net
Hi, If you want to make sure to output verbatim text (ie not interpreted) you can use the {{{…}}} syntax when using XWiki Syntax 2.0+ See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVerbatim However this may not be enough for your needs. We’re currently lacking an escape tool fo

[xwiki-users] Is there an escape tool to escape text in XWiki syntax?

2015-01-18 Thread Thanh Hong Dai
Currently, I'm using something like this to generate a list of pages whose prefix is "Prefix:" and link to them: {velocity}} ((( #foreach ($row in $services.query.hql("select doc.name, doc.fullName from XWikiDocument doc where doc.space.hidden = false and doc.space not in ('XWiki', 'Sandbox',

Re: [xwiki-users] Generating pure JSON

2015-01-18 Thread vinc...@massol.net
Hi Bryn, On 19 Jan 2015 at 02:41:00, Bryn Jeffries (bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote: > Thanks so much for that. It did indeed work :-) > So 'view' with xpage=plain&outputSyntax=plain or just 'get' with > outputSyntax=plain does the job. > > Now I know wh

Re: [xwiki-users] Generating pure JSON

2015-01-18 Thread Bryn Jeffries
Thanks so much for that. It did indeed work :-) So 'view' with xpage=plain&outputSyntax=plain or just 'get' with outputSyntax=plain does the job. Now I know what to look for, for posterity I've put this information into http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON FWIW I'd h