[pmwiki-users] About MarkupToHTML
vkrishn at insteps.net
Sat Apr 24 06:11:10 CDT 2010
On Saturday 24 Apr 2010 9:13:34 am you wrote:
> On 4/23/2010 6:43 PM, V.Krishn wrote:
> > Does MarkupToHTML actually output html or an intermediate markup?
> > Example:
> > http://insteps.net/pr/a/pmwiki/QNotes/Notes1
> > Here I am planning to Refresh updated notes after ajax edit through ajax
> > itself.
> > I guess by using MarkupToHTML it would be possible.
> It returns HTML. I use this in BlogIt to pass back a json object for
> direct manipulation/insertion back into the DOM, from an ajax call.
> Here's a sample, obviously you may want to change the structure of the
> json object you manage:
> 'out'=>MarkupToHTML($bi_Pagename, $markup),
Thanks Dave. I managed to implement it.
I would presently use text as output, as json_encode requires Php 5.2.0+
> ~ ~ Dave
More information about the pmwiki-users