Re: anyone know of RTF translator? [message #176315 is a reply to message #176303] |
Tue, 20 December 2011 21:15 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
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
|
|
|