l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2003 Mar 03 10:21

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Forcing Links to interpret file as HTML?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Forcing Links to interpret file as HTML?



So I just added a text/html entry to my ~/.mailcap file, so I can view
st00pid HTML attachments I received in my e-mail.  (I use Mutt on my ISP's
excellent shell server.)

Unfortunately, when I do this, Links is given the file "/tmp/muttXYXYXYXY"
(where "XYXYXY" is some random unique junk).

Since there's no ".html" at the end of the filename, Links interprets it
as a plain text file, so I see the HTML source, rather than a rendered page.
(That's what I could /already/ do, just using Mutt! :^) )

Anyway, is there any kind of command-line option or other magic I can give
to Links that will force it to interpret a randomly-named file as HTML?
Or is there any way to tell Mutt to save the temp file with a different name?

Or (and this I expect will probably end up being my solution, unfortunately),
is there some magic I can do inside the mailcap entry itself?

Right now, I have simply:

  text/html; links %s


Thanks!

-- 
bill@newbreedsoftware.com                                            Hire me!
http://newbreedsoftware.com/bill/    http://newbreedsoftware.com/bill/resume/
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!