Server Help

Non-Subspace Related Coding - rtf3html

Cyan~Fire - Mon Jan 02, 2006 6:38 pm
Post subject: rtf3html
rtf3html: An rtf to html converter I wrote completely for myself in C. It's pretty easily-modifiable, but I didn't comment much. It is by no standards complete, but it's pretty useful to me and I figured it might be for someone else, too.

The main problem is that RTF allows overlapping, so a color change, for example, will continue until another color change or a paragraph reset, while any <span> tags or the like will auto-close after the current paragraph in HTML. I made a work-around for this for fonts and colors, but was too lazy for font size (since it would bloat the produced files quite a bit), and I'm sure there are other properties which I have completely ignored. Oh, and it assumes that the body starts after the color table, which is definitely not always true.
Quan Chi2 - Mon Jan 02, 2006 7:14 pm
Post subject:
cool how long did it take you to make it?
Cyan~Fire - Mon Jan 02, 2006 10:12 pm
Post subject:
4 hours or so spread about the week.
Quan Chi2 - Tue Jan 03, 2006 10:26 pm
Post subject:
nice job
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group