ODF2MHT(1)

πŸ’– ODF2MHT πŸ’–

okay bestie, so this is odf2mht β€” it lives in the User commands section of the manual, and it's fr fr one of those tiny little tools that just does the thing πŸ’…


✨ NAME ✨

odf2mht β€” convert ODF to HTML archive πŸ¦‹


🌸 SYNOPSIS 🌸

odf2mht path

like. that's it. one argument. slay.


πŸ‘‘ DESCRIPTION πŸ‘‘

So odf2mht is a program that creates a MIME-encapsulated web archive in .mht format where images are preserved. no cap, the pictures survive the trip πŸ’–

This file can be read by Internet Explorer, MS-Word, and lots of email programs such as MS-Outlook. it's giving "old-school but it WORKS" energy.

And where does it put the archive? straight to stdout ✨ so redirect it yourself, bestie, the program is not gonna hold your hand on that one.

path is assumed to be an OpenDocument file of text, spreadsheet, or presentation type. so .odt, .ods, .odp β€” whatever your heart desires πŸŽ€


🧚 REFERENCES 🧚

ikykw, receipts matter, so here's where the lore comes from:


🌈 EXAMPLE 🌈

vibe check passed, here's the move:

odf2mht example.odt >example.mht
πŸ“ note the > bestie. that's YOU doing the redirecting. the manpage said stdout and it MEANT stdout.

πŸ’€ BUGS πŸ’€

IE6 seems to have problems with large MHT files. not me defending IE6, absolutely not, I would never πŸ™ˆ but there it is, that's the bug note, we're being honest here.


🫢 SEE ALSO 🫢

go read these too, they're the friend group:


πŸ’… AUTHOR πŸ’…

SΓΈren Roug β€” Original author. king behavior, we stan πŸ‘‘


this page ships with odfpy and it's dated 02/11/2025 β€” mwah, no notes, go convert something bestie πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from