General Actions:
Log-in
Register
Wiki:
games
▼
:
Document Index
»
Space:
Main
▼
:
Document Index
»
Page:
linkTest
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Link Parser
Wiki source code of
Link Parser
Last modified by
Administrator
on 2008/03/19 18:52
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
#set ($target = "") #set ($target = $request.getParameter("target")) 1 Link Parser <FORM> Please enter a page from which to parse links. <INPUT type="text" name="target" value="$!target" /> <INPUT type="submit" name="Go" value="Go" /> </FORM> #if ($target != "") #set($linkFinder = $xwiki.parseGroovyFromPage("Main.linkFinder")) $linkFinder.setXWiki($xwiki) #set ($map = $linkFinder.getMap($target)) #foreach ($key in $map.keySet()) * $key $map.get($key) #end #end