From: Malcolm R. <mal...@cs...> - 2001-01-12 04:05:19
|
On Thu, Jan 11, 2001 at 09:50:36AM +0100, Arno Hollosi wrote: > > > 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? > > In stdlib.php there are two functions called LinkExistingWikiWord() and > LinkUnknownWikiWord(). I guess this is what you're looking for. > Also, you can check the existence of a page with IsWikiPage(). Okay, I have updated the sitemap code to use these functions, so now all the entries are links. The fix to ExtractWikiPageLinks has also made things neater. The only problem that apparently remains is the use of the [1], [2], [3] style references, which appear as "1", "2", "3" in the sitemap. 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 |