Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Rafferty <craffert@ms.com>
Subject: Re: mswordview?
Date: 08 Oct 1999 16:40:57 -0400	[thread overview]
Message-ID: <vgvwvsxpova.fsf@ms.com> (raw)
In-Reply-To: Greg Stark's message of "08 Oct 1999 16:34:01 -0400"

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Greg Stark writes:

> Before I start doing this does anyone have a viewer using mswordview to expand
> word attachments into html and the run w3 on them?

There is a thread on gnus.emacs.vm.info about the same question in
VM-land.  First, you will need a script to turn mswordview into a real 
filter.  This is what Kyle Jones wrote:

#!/bin/sh

trap 0 "rm -f /tmp/$$"
cat > /tmp/$$
mswordview /tmp/$$

Then, you need to hook it up the Gnus.  This is how you do in in VM,
and I imagine that Gnus has similar variables.


[-- Attachment #2: Type: message/rfc822, Size: 1549 bytes --]

From: kyle_jones@wonderworks.com (Kyle Jones)
Subject: more on mswordview
Date: Thu, 7 Oct 1999 12:02:14 -0700
Message-ID: <14332.60982.751958.952841@crystal.WonderWorks.COM>

Dave Bakhash writes:
 > has anyone actually gone through, from start to finish, making VM use
 > mswordview and w3 so that you can actually view MS Word documents
 > inside XEmacs/VM using mswordview to convert to HTML and then starting 
 > w3?  I can do this, but the code will take a while.

It should be simple.  Use vm-mime-type-converter-alist to convert 
application/msword (or whatever) to text/html.  If w3-region is a 
defined function VM will automatically use it to display the
resulting HTML.  The only problem that I know of is that
mswordview does not accept input from stdin.  So you need a
wrapper script to collect the input into a file and hand the file 
to mswordview.

[-- Attachment #3: Type: text/plain, Size: 87 bytes --]


A shell script wrapper around mswordview would achieve the
desired effect, probably.


  reply	other threads:[~1999-10-08 20:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-08 20:34 mswordview? Greg Stark
1999-10-08 20:40 ` Colin Rafferty [this message]
1999-10-09  8:13   ` mswordview? Jonas Steverud
1999-10-09 13:20     ` mswordview? Florian Weimer
1999-10-09 21:04     ` mswordview? Hrvoje Niksic
1999-10-18 20:13       ` mswordview? Greg Stark

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=vgvwvsxpova.fsf@ms.com \
    --to=craffert@ms.com \
    /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).