<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://unkrig.de/w/index.php?action=history&amp;feed=atom&amp;title=Html2txt</id>
	<title>Html2txt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://unkrig.de/w/index.php?action=history&amp;feed=atom&amp;title=Html2txt"/>
	<link rel="alternate" type="text/html" href="https://unkrig.de/w/index.php?title=Html2txt&amp;action=history"/>
	<updated>2026-04-17T05:46:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://unkrig.de/w/index.php?title=Html2txt&amp;diff=49&amp;oldid=prev</id>
		<title>Aunkrig: /* Change Log */</title>
		<link rel="alternate" type="text/html" href="https://unkrig.de/w/index.php?title=Html2txt&amp;diff=49&amp;oldid=prev"/>
		<updated>2024-05-02T17:00:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Change Log&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:00, 2 May 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Change Log ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Change Log ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; Version 1.0.3, 2018-10-29:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:* Added vertical alignment (e.g. &quot;&amp;amp;lt;div align=&#039;justify&#039;&amp;gt;&quot;).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:* Made the tests robust against the platform-dependent line separators.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:* Cleaned up the MAINDOC generation.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Version 1.0.2, 2016-11-25:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; Version 1.0.2, 2016-11-25:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aunkrig</name></author>
	</entry>
	<entry>
		<id>https://unkrig.de/w/index.php?title=Html2txt&amp;diff=18&amp;oldid=prev</id>
		<title>Aunkrig: Created page with &quot;A tool to convert HTML documents into plain text.  For example this HTML code  File:Main.main.jpg  is rendered like this:  File:usage.txt.jpg  For a complete description of the supported HTML inline elements, see &lt;span class=&quot;plainlinks&quot;&gt;[http://html2txt.unkrig.de/javadoc/de/unkrig/html2txt/Html2Txt.html#ALL_INLINE_ELEMENTS here]&lt;/span&gt;.  For a complete description of the supported HTML block elements, see &lt;span class=&quot;plainlinks&quot;&gt;[http://html2txt.unkrig.de/javad...&quot;</title>
		<link rel="alternate" type="text/html" href="https://unkrig.de/w/index.php?title=Html2txt&amp;diff=18&amp;oldid=prev"/>
		<updated>2024-05-01T18:55:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A tool to convert HTML documents into plain text.  For example this HTML code  &lt;a href=&quot;/w/File:Main.main.jpg&quot; title=&quot;File:Main.main.jpg&quot;&gt;File:Main.main.jpg&lt;/a&gt;  is rendered like this:  &lt;a href=&quot;/w/File:Usage.txt.jpg&quot; title=&quot;File:Usage.txt.jpg&quot;&gt;File:usage.txt.jpg&lt;/a&gt;  For a complete description of the supported HTML inline elements, see &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://html2txt.unkrig.de/javadoc/de/unkrig/html2txt/Html2Txt.html#ALL_INLINE_ELEMENTS here]&amp;lt;/span&amp;gt;.  For a complete description of the supported HTML block elements, see &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://html2txt.unkrig.de/javad...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A tool to convert HTML documents into plain text.&lt;br /&gt;
&lt;br /&gt;
For example this HTML code&lt;br /&gt;
&lt;br /&gt;
[[File:Main.main.jpg]]&lt;br /&gt;
&lt;br /&gt;
is rendered like this:&lt;br /&gt;
&lt;br /&gt;
[[File:usage.txt.jpg]]&lt;br /&gt;
&lt;br /&gt;
For a complete description of the supported HTML inline elements, see&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://html2txt.unkrig.de/javadoc/de/unkrig/html2txt/Html2Txt.html#ALL_INLINE_ELEMENTS here]&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a complete description of the supported HTML block elements, see&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[http://html2txt.unkrig.de/javadoc/de/unkrig/html2txt/Html2Txt.html#ALL_BLOCK_ELEMENTS here]&amp;lt;/span&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Motivation ==&lt;br /&gt;
&lt;br /&gt;
The goal was to generate the &amp;quot;usage&amp;quot; page that a command line tool usually prints when you invoke it with a &amp;quot;&amp;lt;tt&amp;gt;-help&amp;lt;/tt&amp;gt;&amp;quot; or &amp;quot;&amp;lt;tt&amp;gt;--help&amp;lt;/tt&amp;gt;&amp;quot; option, rather than maintain it manually (e.g. in the form of &amp;quot;&amp;lt;tt&amp;gt;println()&amp;lt;/tt&amp;gt;&amp;quot; statements in the code).&lt;br /&gt;
&lt;br /&gt;
The chosen solution is to put a big DOC comment before the &amp;quot;&amp;lt;tt&amp;gt;main()&amp;lt;/tt&amp;gt;&amp;quot; method, generate an HTML page with JAVADOC, convert that into a plain text file, put it into the application&amp;#039;s JAR file and copy its contents to STDOUT when the user want to see it.&lt;br /&gt;
&lt;br /&gt;
The command line version of &amp;lt;tt&amp;gt;html2txt&amp;lt;/tt&amp;gt; itself uses that technique, and you can see the results above.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
You can download the latest version of the runnable JAR file [https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&amp;amp;g=de.unkrig&amp;amp;a=html2txt&amp;amp;v=LATEST&amp;amp;c=jar-with-dependencies here].&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
Since the tool uses the JRE&amp;#039;s built-in XML parser, it supports &amp;quot;numeric character references&amp;quot; (like &amp;quot;&amp;amp;amp;#252;&amp;quot; for &amp;quot;Ü&amp;quot;), but not &amp;quot;named HTML character entity references&amp;quot; (like &amp;quot;&amp;amp;amp;Uuml;&amp;quot; for &amp;quot;Ü&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
For the same reason, the HTML markup in the DOC comments must be &amp;quot;well-formed&amp;quot;, i.e. all start tags must be matched by an end tag (like &amp;quot;&amp;lt;code&amp;gt;&amp;amp;lt;li&amp;gt;...&amp;amp;lt;/li&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;), and void tags must end with a slash, like &amp;quot;&amp;lt;code&amp;gt;&amp;amp;lt;br /&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== Command line tool ===&lt;br /&gt;
&lt;br /&gt;
see [http://html2txt.unkrig.de/Main.main(String%5b%5d).html here].&lt;br /&gt;
&lt;br /&gt;
=== ANT task ===&lt;br /&gt;
&lt;br /&gt;
see [http://html2txt.unkrig.de/antdoc/index.html here].&lt;br /&gt;
&lt;br /&gt;
=== Library ===&lt;br /&gt;
&lt;br /&gt;
see [http://html2txt.unkrig.de/javadoc/index.html the JAVADOC].&lt;br /&gt;
&lt;br /&gt;
=== Source Code ===&lt;br /&gt;
&lt;br /&gt;
see [https://github.com/aunkrig/html2txt the source code repository].&lt;br /&gt;
&lt;br /&gt;
== Change Log ==&lt;br /&gt;
&lt;br /&gt;
; Version 1.0.2, 2016-11-25:&lt;br /&gt;
:* Modified the text of the copyright notice slightly: Replaced &amp;quot;author&amp;quot; with &amp;quot;copyright holders and contributors&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
; Version 1.0.1, 2016-11-07:&lt;br /&gt;
:* Resurrected Java 6 compatibility.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;html2txt&amp;lt;/code&amp;gt; is published under the &amp;quot;[[New BSD License]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
&lt;br /&gt;
If you have issues, don&amp;#039;t hesitate to [https://sourceforge.net/p/html2txt/tickets/ submit a ticket].&lt;br /&gt;
&lt;br /&gt;
To discuss in public, check the [https://sourceforge.net/p/html2txt/discussion/ forum] and/or subscribe to it (envelope icon).&lt;/div&gt;</summary>
		<author><name>Aunkrig</name></author>
	</entry>
</feed>