Hi, all
I'm new to XWiki. Just finished a fresh installation of 8.4.1
with Tomcat any MySQL, which went absolutely smooth - great!
I intend to migrate the wiki of a small not-for-profit organisation
from Confluence to XWiki, so my first two questions are
- how do I create spaces?
- how do I get a hierachical navigation tree of all pages in a space
on the left?
I wouldn't be bothering you without doing some research first,
so I found this documentation about spaces:
http://platform.xwiki.org/xwiki/bin/view/Features/Spaces#HSpacecreation
Unfortunately my XWiki doesn't have that menu bar with the "Home | Main | WebHome | Add"
at all! What am I missing here?
Completely dumbfounded - the docs say "click Add -> Space" ...
Second there seems to be a "Document Tree Macro 8.4.1" extension
already installed. How do I get this - and only this - into the left menu column?
Thanks a lot for any hints. RTFM perfectly welcome with a pointer to the correct
fine manual. Search engine hasn't been of much help, but possibly my google-fu
is leaving me ;-)
Kind regards,
Patrick
Is it possible to get what images are inside a content page.
Note I do not mean Attached images, but the images displayed inline in the content
Is it also possible to display the content without these images, as plain Text (also remove the wiki-markup )
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
On Fri, Dec 2, 2016 at 12:28 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
>> On 02 Dec 2016, at 12:13, Gerritjan Koekkoek <gerritjan(a)cdlsworld.org> wrote:
>>
>> {{velocity}}
>>
>> $services.rendering.getAvailableParserSyntaxes()
>>
>> #set($testDoc = $xwiki.getDocument('BlogNL.Peter'))
>>
>> #set($testObject = $testDoc.getObject('Blog.BlogPostClass'))
>>
>> #set ($xdom = $services.rendering.parse("${testObject.extract}","XWiki/2.0"))
You should ask the syntax to the document instead: $testDoc.syntax
>>
>> #set ($plainText = $services.rendering.render($xdom, "Plain/1.0”))
>
> It’s “plain/1.0” :)
>
> Thanks
> -Vincent
>
>>
>> {{{$plainText}}}
>>
>> {{/velocity}}
>>
>>
>> But plainText is not showing anything
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website<http://www.cdlsworld.org>
>> Facebook<https://www.facebook.com/gerritjan.koekkoek>
>> email<gerritjan(a)cdlsworld.org>
>>
>>
>>
>> ________________________________
>> From: users <users-bounces(a)xwiki.org> on behalf of Thomas Mortagne <thomas.mortagne(a)xwiki.com>
>> Sent: 02 December 2016 11:41:40
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Content conversion
>>
>> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>> <gerritjan(a)cdlsworld.org> wrote:
>>> Is it possible to get what images are inside a content page.
>>>
>>> Note I do not mean Attached images, but the images displayed inline in the content
>>
>> You can parse any content into XDOM and then search for ImageBlock in
>> it. See http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>>
>>>
>>>
>>> Is it also possible to display the content without these images, as plain Text (also remove the wiki-markup )
>>
>> We usually use plain text rendered (id "plain/1.0") for this.
>> Basically you use rendering framework to parse the content and then
>> serialize it with a special plain text renderer.
>>
>>>
>>>
>>> Gerritjan Koekkoek
>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>>> Visit our website<http://www.cdlsworld.org>
>>> Facebook<https://www.facebook.com/gerritjan.koekkoek>
>>> email<gerritjan(a)cdlsworld.org>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>
--
Thomas Mortagne