File: odf2mht.docbook

package info (click to toggle)
python-odf 1.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 28,620 kB
  • sloc: python: 22,659; javascript: 6,623; makefile: 360; xml: 2; sh: 1
file content (67 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="odf2mht">
  <refentryinfo>
    <productname>odfpy</productname>
    <author><firstname>Søren</firstname><surname>Roug</surname>
      <contrib>Original author</contrib>
    </author>
  </refentryinfo>
  <refmeta>
    <refentrytitle>odf2mht</refentrytitle>
    <manvolnum>1</manvolnum>
    <refmiscinfo class="manual">User commands</refmiscinfo>
  </refmeta>
<refnamediv>
<refname>odf2mht</refname>
<refpurpose>Convert ODF to HTML archive</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
    <command>odf2mht</command>
    <arg choice="plain"><replaceable>path</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para><command>Odf2mht</command> is a program that will 
create a MIME-encapsulated web archive (.mht) format where images are preserved.
The file can be read by Internet Explorer, MS-Word and many email programs such as MS-Outlook.
It will write the web archive to stdout.
</para>
<para>
<quote>Path</quote> is assumed to be an
OpenDocument file of text, spreadsheet or presentation type.
</para>
</refsect1>
<refsect1><title>References</title>
<simplelist>
<member>HTTRACK (http://www.httrack.com/) can create such archives with the -%M option.</member>
<member>http://en.wikipedia.org/wiki/MHTML</member>
<member>http://www.dsv.su.se/~jpalme/ietf/mhtml.html</member>
<member>http://users.otenet.gr/~geosp/kmhtconvert/</member>
<member>http://www.faqs.org/rfcs/rfc2557.html</member>
</simplelist>
</refsect1>
<refsect1><title>Example</title>
<screen>
odf2mht example.odt &gt;example.mht
</screen>
</refsect1>

<refsect1><title>Bugs</title>
<para>
IE6 seems to have problems with large MHT files.
</para>
</refsect1>
<refsect1><title>See Also</title>
<para>
<command>odftools</command>(1),
<command>odf2war</command>(1),
<command>mailodf</command>(1)
</para>
</refsect1>
</refentry>