Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RTF2HTML Converters

1 view
Skip to first unread message

Michal Karzynski

unread,
Nov 28, 2002, 8:01:22 PM11/28/02
to
Hi,
I'm writing a web service using PHP. As one functionality of the page
I wanted to include uploading the user content using the RTF format.
The idea being that a user could write formatted text in any word
processor, export it to rtf and then upload it onto the page.

What I need for this purpose is a PHP library, which converts RTF to
HTML. Do you know of such libraries?
I have found some, but none of them get the job done well. I have
created a benchmark file, which contains the various formatting styles
and is generated by (the popular) MS Word 2000. That file is available
at:

http://www.pg.gda.pl/~karzyn/homepage/misc/benchmark.rtf

If you know of a RTF to HTML conversion library written in PHP I would
ask you to let me know. We may then test how it handles the benchmark
file.

Sincerely,
Michal Karzynski

Michal Karzynski

unread,
Nov 30, 2002, 9:15:01 PM11/30/02
to
Hi all,
I have tested 2 RTF to HTML libraries:

One by Martin Mevald, 2002
http://www.penguin.cz/~martinmv/

And another by Jason Stechschulte, 2000
http://px.sklar.com/code.html?id=413

Unfortunatelly neither of them is able to deal with the benchmark file properly.
http://www.pg.gda.pl/~karzyn/homepage/misc/benchmark.rtf

Do you know of any other systems I could try?

Michal K

Waitman Gobble

unread,
Dec 2, 2002, 6:55:35 PM12/2/02
to
Michal Karzynski wrote:


There are a couple of other converters at

http://freshmeat.net/projects/rtfconverter/?topic_id=243
(maybe too basic)

http://www.theory.org/~adric/perl/rtfeeder/
(in perl but you could call using system command)

Best,

--
Waitman Gobble EMK Design Buena Park, California
http://emkdesign.com +1.7145222528 wai...@emkdesign.com
Public Key http://pgp.emkdesign.com
Find an example http://freakinexample.com

0 new messages