From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25766 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: mswordview? Date: 08 Oct 1999 16:40:57 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87yaddmw1y.fsf@HSE-Montreal-ppp19508.qc.sympatico.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035163094 15768 80.91.224.250 (21 Oct 2002 01:18:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:18:14 +0000 (UTC) Keywords: mswordview,net,html,use,tmp,script,need,kyle Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA16828 for ; Fri, 8 Oct 1999 16:46:51 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB02599; Fri, 8 Oct 1999 15:43:11 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 08 Oct 1999 15:43:35 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA27778 for ; Fri, 8 Oct 1999 15:43:18 -0500 (CDT) Original-Received: from piinbh1.ms.com (piinbh1.ms.com [199.89.64.71]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA16790 for ; Fri, 8 Oct 1999 16:41:22 -0400 (EDT) Original-Received: (from uucp@localhost) by piinbh1.ms.com (8.8.6/fw v1.22) id QAA12557 for ; Fri, 8 Oct 1999 16:41:21 -0400 (EDT) Original-Received: from unknown(144.14.9.190) by piinbh1 via smap (4.1) id xma012271; Fri, 8 Oct 99 16:40:58 -0400 Original-Received: from sag3 (sag3.morgan.com [144.14.8.198]) by safid1.morgan.com (8.8.5/hub+ldap v2.3) with ESMTP id QAA00187 for ; Fri, 8 Oct 1999 16:40:58 -0400 (EDT) Original-Received: (craffert@localhost) by sag3 (980427.SGI.8.8.8/sendmail.cf.client v1.05) id QAA42206; Fri, 8 Oct 1999 16:40:58 -0400 (EDT) Original-To: GNUS Mailing List X-Attribution: > Mail-Copies-To: never X-Face: $%/0:A=g/0mfAd_-AHyqWK$D&dZ;sk7OJFQw",'KwWutsgG|+n.E:(Q<*Sw=&]o4>i1<-[<;W,f#;.,W'}w"y2\8}Iki{CzF,/BaDHcMIvNQ~ZVw19<^CD}wZV2/NRg8.\WHR.%^H#CZ#&K]GQo!a;KtLwLlRk0MNdjf--29.ZW.[t'mOdEnN|a^;AV{<\[!h_0}/{h{iQILgp9mG*;]:_R_@bL<,Fkfm~GYf@<@UH$0?%.v"a[5Z X-Y-Zippy: If I pull this SWITCH I'll be RITA HAYWORTH!! Or a SCIENTOLOGIST! In-Reply-To: Greg Stark's message of "08 Oct 1999 16:34:01 -0400" Original-Lines: 56 User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25766 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25766 --=-=-= 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. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline x-uunet-gateway: sjc3sosrv11.alter.net from info-vm to gnu.emacs.vm.info; Thu, 7 Oct 1999 19:02:17 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14332.60982.751958.952841@crystal.WonderWorks.COM> Date: Thu, 7 Oct 1999 12:02:14 -0700 From: kyle_jones@wonderworks.com (Kyle Jones) Subject: more on mswordview References: X-Mailer: VM 6.75 under 21.2 (beta19) "Shinjuku" XEmacs Lucid X-Face: ;"N#erdo^~tQ=4fSo-v#C+fU)!c;WrKU2R.7N.P/0[D_o^D0bvXgo8 6Q1fPW\=9jq4`X)sCGLH],+MT8M1Ck.\var-d>CObqT[!mr{U{)Sba Fx!1QptHaPGO=CL5~M21kr7:RG\Fe~A*]F.]TFC6g!YZTFWCjX[iu$ ~RE Newsgroups: gnu.emacs.vm.info Path: pisdg1!uunet!pao.uu.net!nyc.uu.net!lax.uu.net!ffx.uu.net!wendy-fate.uu.net!info-vm Sender: info-vm-request@uunet.uu.net Lines: 13 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. --=-=-= A shell script wrapper around mswordview would achieve the desired effect, probably. --=-=-=--