From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 23:37:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E339810656D4 for ; Sun, 23 Nov 2008 23:37:51 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id A061C8FC12 for ; Sun, 23 Nov 2008 23:37:51 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id mANNcEPI086273; Sun, 23 Nov 2008 15:38:15 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 23 Nov 2008 15:37:45 -0800 (PST) Date: Sun, 23 Nov 2008 15:37:44 -0800 From: Gary Kline To: Roland Smith Message-ID: <20081123233744.GB10731@thought.org> References: <20081122214311.GA54547@thought.org> <20081122222058.GA32419@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081122222058.GA32419@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: OO, text OR .odt to HTML? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2008 23:37:52 -0000 On Sat, Nov 22, 2008 at 11:20:58PM +0100, Roland Smith wrote: > On Sat, Nov 22, 2008 at 01:43:14PM -0800, Gary Kline wrote: > > > > is there a push button way of turning an odt file or plain ascii file > > into HTML using openoffice? > > For converting plain text you could use this: http://txt2html.sourceforge.net/ > A promblem with the odt to txt is that the wide-char stuff remains embedded. xe2, x80, x90 to create a "'" ... likewise with dashes "--" and beginning double-quotes and ending. I have atom that I began hacking in 1994 to turn plain ASCII to solid HTML.... I think it's a v2.1+ now... But since there are so many others--and really {because /I don't want to update the man page, ...}, no use it making it into a port. gary > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org