What do you do when you get RTF as input and you want to output it as HTML during run-time. This can either be a asp script or an COM object.
Has anybody seen something like this lying around ? It would be very very usefull to me..
Thnx...
Printable View
What do you do when you get RTF as input and you want to output it as HTML during run-time. This can either be a asp script or an COM object.
Has anybody seen something like this lying around ? It would be very very usefull to me..
Thnx...
I believe I saw something like that at Planet Source Code yesterday. Search for like HTML tags or something like that.
Back when I was in college, they had a site where you would upload your resume in rtf and it would automatically convert it to html, but I'd bet the component was UNIX based.
Word can do it...
Save As --> HTML HTM HTX -- File
There's no doubt that it's possible. An interpeter has to be written.
I was just hoping that someone had allready done this as it would take some time to fine tune, I reckon.
Am I just seeing things or did you blaintly ignore my post?
No Sastraxi, I did not ignore your post.
It's just that I need to convert rtf to html during runtime. I have rtf text in a database and sometimes I want to display it on a webpage. So therefore i am looking for a script or COM object that can do this conversion
Have you tried searching some script/code archives for something that could do this? The problem seems like it would be a common one. I am sure some place like http://www.hotscripts.com must have something. :D
Whoops!Quote:
originally posted by Inhumanoid
to output it as HTML during run-time.
Sorry... Why would you need to do this?
If it's technologically ... challenged ... people then tell them to convert it to HTML in word, first.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
www.programmersparadise.com
search for doc2html
converts word, RT, and several others to html on the fly for you howeber I like smashthequbes
code he posted gonna try it out tomorrow looks promising