From: Malcolm R. <mal...@cs...> - 2001-01-11 01:22:10
|
I have just recently started using PhpWiki to run a NomicWiki at http://ccls1.cse.unsw.edu.au/~malcolmr/nomicwiki/index.php. It is working quite well. Just for kicks, I added a "Site Map" function to the Wiki, which takes a given starting page and does a breadth-first-search of the entire Wiki using that page as the root. The result is remarkably readable (for my Wiki, at least). Have a look at: http://ccls1.cse.unsw.edu.au/~malcolmr/nomicwiki/index.php?map=NomicWiki I wonder whether this might be a useful addition to the PhpWiki source. Generating the site map is easy, but there are still a few problems: 1) I want to render it more like a standard Wiki page. In particular, I want to make all the links active. Is there an appropriate function to output the HTML code for a link? 2) I am using ExtractWikiPageLinks to get a list of outgoing links from a page, but this also returns things I don't want: outside links, disabled links, and text of the form '[[...]'. What is the best way to filter these out? Malcolm -- Malcolm Ryan - mal...@cs... - http://www.cse.unsw.edu.au/~malcolmr/ AI Dept, CSE, UNSW, Australia, Phone: +61 2 9385-3988 Fax: +61 2 9385-1814 "Just as we are. At a total loss. Jesus is for losers. Broken at the foot of the cross." - Steve Taylor |