Gnus development mailing list
 help / color / mirror / Atom feed
From: JJ <ding_gnus.org@sumou.com>
To: ding@gnus.org
Subject: Re: Display OpenOffice Writer files inline with odt2txt]
Date: Tue, 20 Jul 2010 06:57:26 -0400	[thread overview]
Message-ID: <c6b4ad61887085c59a402d7dafbc35d6@hcoop.net> (raw)
In-Reply-To: <m1zkxm7mjb.fsf@cam.ac.uk>

On Tue, 20 Jul 2010 06:24:56 +0100, Leo <sdl.web@gmail.com> wrote:
> If you get the help text it possibly means you are not using dt2txt
> correctly. Anyway you can use mm-save-part-to-file to save to file and
> go from there.

Well, the fault is with odt2txt, in that it's not able to work with
standard input. That's how the text gets passed to it. So unlike antiword
for instance, when you:
antiword file.doc
cat file.doc | antiword -

you get the same output, i.e. the file is parsed. However with odt2txt
with:
odt2txt file.odt

the file is parsed. However with:

cat file.odt | odt2txt -

you just get odt2txt help text.

I'm not up to rewriting odt2txt source to enable standard input.

I'll try experimenting with mm-save-part-to-file, so that it could then
perhaps be submitted to odt2txt...
-- 
JJ




  reply	other threads:[~2010-07-20 10:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15  7:42 JJ
2010-07-15 14:25 ` Andreas Schwab
2010-07-15 18:29   ` JJ
2010-07-20  5:24     ` Leo
2010-07-20 10:57       ` JJ [this message]
2010-07-20 15:06         ` Dan Christensen
2010-07-23  8:32 JJ
2010-07-23  8:43 JJ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6b4ad61887085c59a402d7dafbc35d6@hcoop.net \
    --to=ding_gnus.org@sumou.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).