FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » anyone know of RTF translator?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: anyone know of RTF translator? [message #176316 is a reply to message #176315] Tue, 20 December 2011 22:14 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/20/2011 4:15 PM, Denis McMahon wrote:
> On Mon, 19 Dec 2011 20:05:34 -0500, Jerry Stuckle wrote:
>
>> On 12/19/2011 7:06 PM, Michael Joel wrote:
>>> I could really use some "add on" app/script that would allow me to
>>> supply a RTF (rich text format) file and it translate it to HTML. Of
>>> course free is preferred.
>
>> Open it in MS Word
>> Save it in HTML
>
> You owe me a keyboard cleaning Jerry. Honestly, have you seen the garbage
> that msword outputs when you ask it for html.
>
> Open office might be better, I don't know. It generates this for a
> document containing a single word:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html;
> charset=utf-8">
> <TITLE></TITLE>
> <META NAME="GENERATOR" CONTENT="LibreOffice 3.3 (Unix)">
> <META NAME="AUTHOR" CONTENT="Denis McMahon">
> <META NAME="CREATED" CONTENT="20111220;21113400">
> <META NAME="CHANGEDBY" CONTENT="Denis McMahon">
> <META NAME="CHANGED" CONTENT="20111220;21122200">
> <STYLE TYPE="text/css">
> <!--
> @page { margin: 2cm }
> P { margin-bottom: 0.21cm }
> P.western { so-language: en-GB }
> -->
> </STYLE>
> </HEAD>
> <BODY LANG="en-GB" DIR="LTR">
> <P CLASS="western" STYLE="margin-bottom: 0cm">Test</P>
> </BODY>
> </HTML>
>
> which I think is a lot cleaner than word would produce for the same
> document.
>
> Rgds
>
> Denis McMahon

lol,

Yes, MS Word kicks out a lot of garbage. But it's not that hard to
clean it up. At least most of the hard work is done.

However, I do agree with you - Open Office is much better.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Will The Earth End in 2012?Where will the human go?
Next Topic: r/w internal array pointer
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 15:32:38 GMT 2024

Total time taken to generate the page: 0.03879 seconds