This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Website Design Forum > October 2007 > wiki2html in C?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author wiki2html in C?
Antti Järvinen

2007-10-03, 6:17 am

Dear Sirs,

there seems to plenty of formatters that eat some wiki-syntax and produce
html, like http://sourceforge.net/projects/wiki2xhtml/ but common thing
with all programs I've that far came across is that they're all written
in either java or Python -> is there anything for the same purpose that
would have been written in C?

--
Costello the Warrior St:18/09 Dx:14 Co:18 In:8 Wi:12 Ch:7 Neutral
Dlvl:16 $:0 HP:129(129) Pw:52(52) AC:-6 Xp:14/83896 T:19462 Satiated
chniemann@gmail.com

2007-10-24, 6:17 am

On Oct 3, 11:25 am, coste...@iki.fi (Antti J=E4rvinen) wrote:
> Dear Sirs,
>
> there seems to plenty of formatters that eat some wiki-syntax and produce
> html, likehttp://sourceforge.net/projects/wiki2xhtml/but common thing
> with all programs I've that far came across is that they're all written
> in either java or Python -> is there anything for the same purpose that
> would have been written in C?
>
> --
> Costello the Warrior St:18/09 Dx:14 Co:18 In:8 Wi:12 Ch:7 Neutral
> Dlvl:16 $:0 HP:129(129) Pw:52(52) AC:-6 Xp:14/83896 T:19462 Satiated


Hello,

did you check this http://tools.wikimedia.de/~merphant/wiki2html/ ?
It's written in C

Antti Järvinen

2007-10-26, 6:20 pm

"chniemann@XXXXXXXXXX" <chniemann@XXXXXXXXXX> writes:
...[color=darkred]
> did you check this http://tools.wikimedia.de/~merphant/wiki2html/ ?
> It's written in C


oh, thanks.

looks exactly like the thing I was looking for ; original plan was to
have the formatting inside tcl and at first I could not find anything
wiki-related done in tcl (as I did not know that whole http://wiki.tcl.tk
is actually written in tcl) I was thinking about creating a tcl-extension
from a c-code to handle the formatting.

finally resorted doing the formatting in tcl myself, ended up having 81
lines of tcl and that is not handling indentations or image-links yet.
gives me more control tough regarding how to constructs wiki-internal
links and such. number of bugs is most likely something like 2*81=162.

so now I have multitude of options to choose from :-)

--
Costello the Warrior St:18/09 Dx:14 Co:18 In:8 Wi:12 Ch:7 Neutral
Dlvl:16 $:0 HP:129(129) Pw:52(52) AC:-6 Xp:14/83896 T:19462 Satiated
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews