[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Failing to extract text/html part of message with show
From: |
Greg Davidson |
Subject: |
Failing to extract text/html part of message with show |
Date: |
Tue, 17 May 2022 11:43:03 -0700 |
I'm trying to extract part of a multipart message sent to me
by Firefox Mobile in order to save my mobile tabs. I would
like to extract the text/html part as that is the part which has
the tab titles as well as the urls. Note: I've indented quoted
I/O with 4 spaces and used ellipses ... to replace some bits.
When I list my message with
mhlist -file mobile-tabs.eml -part 1
I get
mhlist: bogus multipart content in message .../mobile-tabs.eml
msg part type/subtype size description
0 multipart/alternative 11K
1 text/html 6861
but when I try to extract it with
show -file mobile-tabs.eml -part 1
I get
show: bogus multipart content in message .../mobile-tabs.eml
Date: ...
From: ...
To: ...
Subject: Mobile tabs
show: don't know how to display any of the contents
(content multipart/alternative in message .../mobile-ta bs.eml)
Following the mmh documentation I added
mhshow-suffix-text/html: .html
to my
~/.mmh/profile
as suggested by the documentation but it didn't help. I also tried to
direct it to use cat for such content type, also with no change.
Looking at the message, I see that the part in question begins with
--0000000000005f31ec05defff85c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto"><div dir=3D"auto">Virtue Ethics (Stanford Encyclopedia of=
Philosophy), Phronesis - Wikipedia, Stanford Encyclopedia of Philosophy - =
which looks reasonable as far as I can tell. Can anyone suggest
something I can do
to get at this text part, either expanded from its Transfer-Encoding
or not? (BTW, I
CAN show the text/plain part which uses the same Transfer-Encoding, but alas, it
lacks the content I need.) Thanks!
- Failing to extract text/html part of message with show,
Greg Davidson <=