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
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
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
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
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
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
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,
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
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