|
From: Reini U. <ru...@x-...> - 2007-06-15 10:59:54
|
2007/6/15, Manuel Vacelet <man...@gm...>:
> On 6/14/07, Reini Urban <ru...@x-...> wrote:
> > 2007/6/14, Manuel Vacelet <man...@gm...>:
> > > I would like to know if there is a way to support phpwiki syntax in
> > > all the textarea of a website but without having to manage the
> > > textarea in wikipages.
> > >
> > > I was thinking about 2 ways:
> > > * use a 3rd party lib and hack it to support phpwiki syntax (like
> > > wikirenderer for instance).
> > > * hack phpwiki to only use the syntax parser (w/o plugins, save,
> > > templates, etc).
> >
> > I don't think that I complelety understand.
> > You mean completely dynamic, without any database persistency?
> > As in tiddlywiki edit just updates a <div>?
>
> No, actually we (with Sabri) integrated phpwiki in a bigger intranet
> website and we are currently thinking about offer to our users the
> possibility to include some kind of in all the text input on the
> website (forum, news, bug tracking, etc...).
>
> What I want to do is to allow users to use the phpwiki syntax for this
> purpose (to keep it coherent).
> I hope it's more clear.
I see. That's very easy.
require("BlockParser.php")
$html = TransformText ($text);
//(if you know the context for links, provide basepage also)
$xml = $html->asXML();
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://spacemovie.mur.at/ http://helsinki.at/
|