Re: Bug#406495: ITP: odt2txt -- simple converter from OpenDocument Text to plain text

2007-01-12 Thread Nelson A. de Oliveira

Hi!

On 1/12/07, Charles Plessy [EMAIL PROTECTED] wrote:

  odt2txt extracts the text out of OpenDocument Texts, as produced by
  OpenOffice.org, KOffice, StarOffice and others. It is small and
  fast, can output the document in many encodings and adopts to your
  locale.

How does it compare to the converter from the o3read package? Can there
be some automagic mutt handling such as for antiword?


I was needing an OpenDocument (.odt) to text converter, like antiword.
OpenDocument [1] is now the default format of OpenOffice Writer (and I
hope that one day it will be the default on every program, including
MS Word).

o3read displays the older format of OpenOffice (.sxw). (see #359820)
And what I could see, o3read isn't very straightforward to get the
text from a document (manpage says that you need to unzip the
document, then pipe it through o3read, for example).

With odt2txt you just need to run odt2txt file.odt and you will get
the text output from it.
I am not a mutt guru, but I think that it might be easy to run odt2txt
on an attached .odt file. (sincerely I don't know how to do this; my
mutt acknowledge is very limited)

odt2txt will only convert word processing documents; spreadsheets
aren't handled, for example.

[1] http://en.wikipedia.org/wiki/OpenDocument

I hope that I could answer all your doubts :-)

Best regards,
Nelson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#406495: ITP: odt2txt -- simple converter from OpenDocument Text to plain text

2007-01-12 Thread Frederic Peters
Nelson A. de Oliveira wrote:

 With odt2txt you just need to run odt2txt file.odt and you will get
 the text output from it.

I have been piping odf2html (from odfreader package) into lynx to get
similar effect.  I just tested odt2txt and the output is roughly
similar; but odt2txt seems much slower (but I just tested it against
one file).


 I am not a mutt guru, but I think that it might be easy to run odt2txt
 on an attached .odt file. (sincerely I don't know how to do this; my
 mutt acknowledge is very limited)

It will be easy, with a mailcap entry like that (untested):
  application/vnd.oasis.opendocument.text; odt2txt %s; copiousoutput


Regards,

Frederic


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#406495: ITP: odt2txt -- simple converter from OpenDocument Text to plain text

2007-01-11 Thread Nelson A. de Oliveira
Package: wnpp
Severity: wishlist
Owner: Nelson A. de Oliveira [EMAIL PROTECTED]

* Package name: odt2txt
  Version : 0.2
  Upstream Author : Dennis Stosberg [EMAIL PROTECTED]
* URL : http://stosberg.net/odt2txt/
* License : GNU GPL-2
  Programming Lang: C
  Description : simple converter from OpenDocument Text to plain text

 odt2txt extracts the text out of OpenDocument Texts, as produced by
 OpenOffice.org, KOffice, StarOffice and others. It is small and
 fast, can output the document in many encodings and adopts to your
 locale.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#406495: ITP: odt2txt -- simple converter from OpenDocument Text to plain text

2007-01-11 Thread Charles Plessy
Le Thu, Jan 11, 2007 at 02:18:52PM -0200, Nelson A. de Oliveira a écrit :
 Package: wnpp
 Severity: wishlist
 Owner: Nelson A. de Oliveira [EMAIL PROTECTED]
 
 * Package name: odt2txt
   Version : 0.2
   Upstream Author : Dennis Stosberg [EMAIL PROTECTED]
 * URL : http://stosberg.net/odt2txt/
 * License : GNU GPL-2
   Programming Lang: C
   Description : simple converter from OpenDocument Text to plain text
 
  odt2txt extracts the text out of OpenDocument Texts, as produced by
  OpenOffice.org, KOffice, StarOffice and others. It is small and
  fast, can output the document in many encodings and adopts to your
  locale.

Hi Nelson,

How does it compare to the converter from the o3read package? Can there
be some automagic mutt handling such as for antiword?

Have a nice day,

-- 
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]