[wiki-standards] Python library for wiki creole...
ward at c2.com
Fri Jun 8 17:24:32 CEST 2007
I could imagine a reference api something like this:
global pages 
xhtml = convert (creole)
I'm surely missing some required context.
On Jun 8, 2007, at 6:18 AM, phil jones wrote:
> What's the difference between a "converter" and, say, an actual module
> to use WikiCreole?
> Or to phrase this a different way, if this was a programming language
> we might be able to define parsers etc. as re-usable components? For
> people who currently write wikis, is there a standard architecture for
> the conversion? What are the typical component modules of wiki-markup
> In a program I'm currently working on (which is not a wiki, but
> inspired by some aspects of wiki) I have a hierarchical architecture
> of "modes" (each is a Python class)
> Each mode looks for certain patterns in a "source" line, and does
> something with it. Some modes, however are defined as sub-modes of
> other modes, and if they don't find any recognisable pattern, they
> pass the line up to their parent mode to handle.
> If other authors here are using this kind of architecture it may be
> possible to define Creole as one such mode, which can be slotted into
> a context where there are other modes to handle the specific dialect
> of the wiki.
> On 6/7/07, Chuck Smith <csmith at hs-heilbronn.de> wrote:
>> On 6/8/07, Sam's Lists <samslists at gmail.com> wrote:
>> > Hi...Hopefully this is the right mailing list for this question.
>> > I'm in search of a python library that will convert Creole to html.
>> > Something that can easily be imported and called with a single
>> > that will take my creole and spit out valid html/xhtml.
>> > Does such a thing exist? Maybe someone is near completion and
>> just hasn't
>> > added it to the wiki?
>> > Thanks!
>> Hi Sam,
>> I just added the page http://www.wikicreole.org/wiki/Converters as I
>> think it would be very helpful for many developers. Since the whole
>> idea of Creole is that we do not have to reinvent the wheel each time
>> for each wiki, this should also hold true of converters. Feel
>> free to
>> edit the page if you feel it does not meet what you want and I ask
>> that anyone add their converters their if they have them. Also, if
>> you feel a better name would be Tools, we could rename the page...
>> Best wishes,
>> wiki-standards mailing list. wiki-standards at wikisym.org
>> For the wiki-research, wiki-standards, wikisym-announce mailing
>> lists, please see:
> wiki-standards mailing list. wiki-standards at wikisym.org
> For the wiki-research, wiki-standards, wikisym-announce mailing
> lists, please see:
More information about the wiki-standards