Wiki syntax clean up Posted by mn 22 Jul 2006 20:03 UTC Hi all, I wanted to know if there is any function in tikilib.php or any where else to clean up wiki syntax from a page data? I wnat to have the first 300 characters of begining of page to make a page leader. Thanks any help, MN
Posted by mn 22 Jul 2006 20:27 UTC exactly I want to extract 300 of starting plain text characters of any new page to show in my first page using a plugin. All is done, but I want to remove any wiki syntax, like :: and also like {CODE()} and so on, from the page data taken from tiki_pages sql table. So I want to know if there is any function doing this. If any point remaining, I would describe. Thanks
Posted by Danny Staple 23 Jul 2006 21:36 UTC I presume you are using this for some sort of "breif text" plugin that would show the first few lines or something. My own route (unpublished or untested yet) has been to create a {BRIEF} plugin which the other plugin would scan for, much in the same way that the other plugin may be scanning for my tags plugin (again - this is an untested and unreleased thing at the moment, so dont get excited anyone).
Posted by mn 24 Jul 2006 15:01 UTC That is exactly what I want, but what should I do? Wait until you release it?