Wiki Progress

Matts on 2002-06-20T21:46:52

Not being one to force people to write in POD, I wrote a SAX parser for Wiki-Text, and I spent a couple of hours tonight plugging it into the AxKit Wiki. In doing so I realised it would be just as easy to plug any old SAX parser in there. So I added support for ordinary XML while I was at it.

So now you can author in sdocbook, POD, or WikiText.

Cool huh?

I've got lots still to do - preview, versioning, users, etc. But I feel like I'm making good progress.


Text::WikiFormat::SAX

chromatic on 2002-06-21T02:09:43

I'm still trying to figure out how anything but the name is "based on" Text::WikiFormat. :)

Re:Text::WikiFormat::SAX

Matts on 2002-06-21T08:45:56

Well I initially wrote it thinking that I could use your code - it looked to me like you supported sub callbacks for the elements of the Wiki. But you only support them for some of the elements, and that wasn't enough. So I scrapped it and basically stole what code I could...

Eventually I figured that the way you were parsing the lines wasn't flexible enough anyway - it needed a "proper" parser to be able to support future enhancements better. So most of your code is pretty much gone - except for the main parsing loop.

Hope you didn't mind my use of the name - but it seemed like the right namespace ;-)