Does anyone have an example of how to list all references to a page? or perhaps all child to a parent? Thanks. Duke
There is $doc.getLinkedPages() currently which searches for links using regexp. You need a quary for the child pages: "where doc.parent='$doc.fullName'" We are finishing the work on the backLinks module which will provide both a getLinks() and getBackLinks() api in Document. The links will be saved to an additional table in the database when the document is modified. Ludovic Duke Tantiprasut wrote:
Does anyone have an example of how to list all references to a page? or perhaps all child to a parent?
Thanks.
Duke
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
Thanks Ludovic.
-----Original Message----- From: Ludovic Dubost [mailto:ludovic@xwiki.com] Sent: Thursday, September 01, 2005 2:14 AM To: xwiki-users@objectweb.org Subject: Re: [xwiki-users] references to a page
There is $doc.getLinkedPages() currently which searches for links using regexp. You need a quary for the child pages: "where doc.parent='$doc.fullName'"
We are finishing the work on the backLinks module which will provide both a getLinks() and getBackLinks() api in Document. The links will be saved to an additional table in the database when the document is modified.
Ludovic
Duke Tantiprasut wrote:
Does anyone have an example of how to list all references to a page? or perhaps all child to a parent?
Thanks.
Duke
----------------------------------------------------------------------
--
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (2)
-
Duke Tantiprasut -
Ludovic Dubost