On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek <[email protected]> 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<[email protected]>
-- Thomas Mortagne