On Wed, Nov 13, 2013 at 11:23 AM, Matthias Wegner <[email protected]>wrote:

> Hello, is there a easy way to get all links which are in a page
> (Forewardlinks, external and internal) and links which linking to page
> (Backlinks, internal)? I found nothing usefull in the api and the forum.
>
> Need i to parse the page my own to get them? Is there a Parser i could use
> which do the half way?
>

Each page content is represented through an AST (we call it a XDOM).

Documentation:
http://rendering.xwiki.org

Example of parsing a page's XDOM:
http://dev.xwiki.org/xwiki/bin/view/Community/ReleaseManagerRoster?viewer=code

Hope it helps
-Vincent


> Regards,
> Matthias
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Links-to-from-page-tp7587920.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to