From: Phillip Gawlowski Date: 2007-04-12T04:25:30+09:00 Subject: Re: [ANN] ClothRed (HTML to Textile) Victor "Zverok" Shepelev wrote: > A bit OT, but I'm dreaming/planning (for a long time) about library, which > can handle "greatest common divisor" of all simple text format and perform > uniformly conversions like > > Textile <=> <=> HTML > Markdown <=> <=> PDF > Mediawiki <=> gcd <=> PS > RDOC <=> <=> OpenOffice > > There are several projects performing only [some markup]=>html conversions. > There is also Maruku[1], which seems to handle virually any Markdown=>[rich > format] conversion (and seems to embody some common intermediate format). > There is now your project. > > Isn't now a time to do something more generic? Well, once there are libraries to do any one of these tasks, you can build a tool chain, similar to DBI, for example. I know that there's a PDF generator written in Ruby, but i don't know about the other file formats. Creating markup parsers isn't that much of a challenge, so that could be done quite easily. I'd be happy to, once ClothRed is feature-complete in the HTML -> Textile area, to write an API to integrate ClothRed into other tools. -- Phillip "CynicalRyan" Gawlowski http://cynicalryan.110mb.com/ Rule of Open-Source Programming #33: Don't waste time on writing test cases and test scripts - your users are your best testers.