Search code examples
javascriptvbscriptrtf

javascript vbscript convert from rtf to html


Does anyone know of any vbscript / javascript implementations of a RTF to HTML converter?

I have seen some in VB / c#, but cannot find any reference to a scripted version. Before I start to write one - does anyone know of an existing open source project that deals with this?

Many thanks,

Franko


Solution

  • How comfortable are you with PHP? This class seems to do the trick, so you could either use it as is, or convert to Javascript, or even use as a guideline.

    http://pastebin.ca/1688799