[Moin-user] installing a parser
nirs at actcom.net.il
Wed Oct 12 13:12:04 EDT 2005
On 12 Oct, 2005, at 21:58, bill page wrote:
> relatively new to MoinMoin here. I like it a lot. I'm using the beta
> (1.3.4). I've also installed twisted.
> I am trying to install the html parser so I can get more control over
> tables and am having trouble doing that. I thought I could just drop
> the html.py code into both the moin and mywiki parser directories.
> That doesn't work. I notice that I have an html.py but no html.pyc at
> this point so I'm guessing it's never calling the code.
It should work as you described: you drop html.py into your
wiki/data/plugin/parser/ and then your can use:
> Is there some registration or configuration change I need to do?
> Oh, I have seen sort discussion that some versions are different in
> that they are using a 'write' statement vs a 'print' statement.
Yes, you should never print. A parser should use self.request.write()
More information about the Moin-user