Re: [Text_Wiki] - parsing a WikiMap

From: Date: Thu, 08 Apr 2004 16:13:52 +0000
Subject: Re: [Text_Wiki] - parsing a WikiMap
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11745@lists.php.net to get a copy of this message
On Apr 8, 2004, at 11:08 AM, Alan Knowles wrote:
I've been trying to work out how to parse a WikiMap - is there some special rule to apply or something? $text = " HomePage PageOne PageTwo
    SubPageOne
"; $wiki =& new Text_Wiki(); $wiki->parse($text); $ar = $wiki->getTokens(); echo '<PRE>';print_r($ar);
It's not a standard Text_Wiki rule. In fact, wiki maps in general are not a widespread concept; at least I have not seen it anywhere else. It seems to be specific to Yawiki. So, download the Yawiki code here...
    http://ciaweb.net/free/yawiki-0.6.2.tgz
... and take a look in lib/yawiki_store.class.php, the _buildMap() method. Hope this helps. -- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/

« previous php.pear.general (#11745) next »