[xwiki-users] Solved. Re: bump Re: Rest API -- XML and Xwiki syntax interference

2014-10-01 Thread rol
The conversion of Trac wiki files to Xwiki 2.1 format and packaging of these into a XAR archive works now. Some 70+ pages from Trac were imported from Track, no errors and links intact. Thanks for the help provided. If desired, we can contribute the Groovy script and the regexp file. Regards, Ro

Re: [xwiki-users] bump Re: Rest API -- XML and Xwiki syntax interference

2014-10-01 Thread rol
My mistake. There was a bug which went unnoticed until you wanted to look closer at it :-) Ignore my previous post. Sorry for the inconvenience. Thanks, Regards Roland - Roland Hedayat -- View this message in context: http://xwiki.475771.n2.nabble.com/Rest-API-XML-and-Xwiki-syntax-int

Re: [xwiki-users] bump Re: Rest API -- XML and Xwiki syntax interference

2014-10-01 Thread rol
Hi, Thanks for the answer. We have created an (unpolished) groovy script which takes the input directory name, a file with regexps and an output directory as arguments. It then creates the directory structure and the package.xml file, which we manually zip into a XAR. We can provide this convers

Re: [xwiki-users] bump Re: Rest API -- XML and Xwiki syntax interference

2014-10-01 Thread rol
Hello, Thank you for your answers. It then makes sense that embedding content in a CDATA block is not a good idea, since that would have to be done not only for the content element, but for all metadata elements that might contain xml-encodable characters. I forgot to say: The input files are in

[xwiki-users] bump Re: Rest API -- XML and Xwiki syntax interference

2014-10-01 Thread rol
I described the problem I had with using the rest interface to update files in xwiki 2.1 format. The point is to script a bulk upload that way. But as I have described, it seems that the content of the element must not contain xml, even if enclosed in {{code}}...{{/code}}. It is interpreted as

[xwiki-users] Rest API -- XML and Xwiki syntax interference

2014-09-30 Thread rol
Hello, I want to do a bulk import of some 80 wiki pages (i.e. files) in xwiki 2.1 syntax to an xwiki instance. However, in the input there is some xml within {{code}}...{{/code}} sections which creates trouble. The following xml markup: {{code}} http://localhost:8080/site/mycases/form/confirm

[xwiki-users] Solved. Re: from preview mode to view mode

2014-09-30 Thread rol
The problem appears to be trailing slashes. The following works: ProxyPass/xwiki http://wiki.motrice.org:8080/xwiki ProxyPassReverse /xwiki http://wiki.motrice.org:8080/xwiki In the initial config I had both the two previous lines, but also the same lines with trailing slashes,

Re: [xwiki-users] from preview mode to view mode

2014-09-26 Thread rol
Hello Sergiu, Thanks for your answer. The answer to both of your questions are 'no'. Also, I am working with a totally new installation. But I do use an Apache server as front (reverse proxy): Your answer led me to think it might be a misconfiguration there, so I changed it from: ProxyPass

Re: [xwiki-users] from preview mode to view mode

2014-09-25 Thread rol
Hi, Thanks for the information. My environment is Ubuntu 14.04 LTS with Tomcat 7 and PostgreSql 9.3. I don't think either that it is the environment. Regards, Roland -- View this message in context: http://xwiki.475771.n2.nabble.com/from-preview-mode-to-view-mode-tp7592348p7592351.html Sent