@@ -38,14 +38,14 @@ Requirements
38The `pandoc` program itself does not depend on any external libraries
38The `pandoc` program itself does not depend on any external libraries
39or programs.
39or programs.
41−The wrapper script `web2markdown` requires
41+The wrapper script `html2markdown` requires
43 - `pandoc` (which must be in the PATH)
43 - `pandoc` (which must be in the PATH)
44 - a POSIX-compliant shell (installed by default on all linux and unix
44 - a POSIX-compliant shell (installed by default on all linux and unix
45 systems, including Mac OS X, and in [Cygwin] for Windows),
45 systems, including Mac OS X, and in [Cygwin] for Windows),
46 - `HTML Tidy`
46 - `HTML Tidy`
47 - `iconv` (for character encoding conversion). (If `iconv` is absent,
47 - `iconv` (for character encoding conversion). (If `iconv` is absent,
48− `web2markdown` will still work, but it will treat everything as UTF-8.)
48+ `html2markdown` will still work, but it will treat everything as UTF-8.)
50[Cygwin]: http://www.cygwin.com/
50[Cygwin]: http://www.cygwin.com/
51[HTML Tidy]: http://tidy.sourceforge.net/
51[HTML Tidy]: http://tidy.sourceforge.net/
@@ -117,7 +117,7 @@ But for simple documents it should be adequate. The `latex` and `html`
117readers are also limited in what they can do. Because the `html`
117readers are also limited in what they can do. Because the `html`
118reader is picky about the HTML it parses, it is recommended that you
118reader is picky about the HTML it parses, it is recommended that you
119pipe HTML through [HTML Tidy] before sending it to `pandoc`, or use the
119pipe HTML through [HTML Tidy] before sending it to `pandoc`, or use the
120−`web2markdown` script described below.
120+`html2markdown` script described below.
122If you don't specify a reader or writer explicitly, `pandoc` will
122If you don't specify a reader or writer explicitly, `pandoc` will
123try to determine the input and output format from the extensions of
123try to determine the input and output format from the extensions of
@@ -151,10 +151,10 @@ The shell scripts (described below) automatically convert the input
151from the local encoding to UTF-8 before running them through `pandoc`,
151from the local encoding to UTF-8 before running them through `pandoc`,
152then convert the output back to the local encoding.
152then convert the output back to the local encoding.
154−`markdown2pdf` and `web2markdown`
154+`markdown2pdf` and `html2markdown`
155−=================================
155+==================================
157−Two shell scripts, `markdown2pdf` and `web2markdown`, are included in
157+Two shell scripts, `markdown2pdf` and `html2markdown`, are included in
158the standard Pandoc installation. (They are not included in the Windows
158the standard Pandoc installation. (They are not included in the Windows
159binary package, as they require a POSIX shell, but they may be used
159binary package, as they require a POSIX shell, but they may be used
160in Windows under Cygwin.)
160in Windows under Cygwin.)
@@ -175,19 +175,19 @@ in Windows under Cygwin.)
176 If no input file is specified, input will be taken from STDIN.
176 If no input file is specified, input will be taken from STDIN.
178−2. `web2markdown` grabs a web page from a file or URL and converts
178+2. `html2markdown` grabs a web page from a file or URL and converts
179 it to markdown-formatted text, using `tidy` and `pandoc`.
179 it to markdown-formatted text, using `tidy` and `pandoc`.
180 Unless input is from STDIN, an attempt is made to determine the
180 Unless input is from STDIN, an attempt is made to determine the
181 character encoding of the page from the "Content-type" meta tag.
181 character encoding of the page from the "Content-type" meta tag.
182 If this is not present, UTF-8 is assumed. Alternatively, a character
182 If this is not present, UTF-8 is assumed. Alternatively, a character
183 encoding may be specified explicitly using the `-e` option.
183 encoding may be specified explicitly using the `-e` option.
185− `web2markdown` searches for an available program (`wget`, `curl`,
185+ `html2markdown` searches for an available program (`wget`, `curl`,
186 or a text-mode browser) to fetch the contents of a URL.
186 or a text-mode browser) to fetch the contents of a URL.
187 Optionally, the `-g` command may be used to specify the command
187 Optionally, the `-g` command may be used to specify the command
188 to be used:
188 to be used:
190− web2markdown -g 'wget --user=foo --password=bar' mysite.com
190+ html2markdown -g 'wget --user=foo --password=bar' mysite.com
192Command-line options
192Command-line options
193====================
193====================