webdump: fix example and a typo - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 50be91b38e61a7c87eb1a44872133f321b2eb4bb
(DIR) parent 6334048b5ebe3bf3a2e718386ff43086bb2ea0a3
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 17 Jul 2024 22:27:37 +0200
webdump: fix example and a typo
Diffstat:
M config.cfg | 2 +-
M output/atom.xml | 4 ++--
M output/atom_content.xml | 10 +++++-----
M output/rss_content.xml | 6 +++---
M output/sitemap.xml | 2 +-
M pages/webdump.cfg | 2 +-
M pages/webdump.md | 4 ++--
7 files changed, 15 insertions(+), 15 deletions(-)
---
(DIR) diff --git a/config.cfg b/config.cfg
@@ -1,5 +1,5 @@
# last updated the site.
-siteupdated = 2024-07-16
+siteupdated = 2024-07-17
sitetitle = Codemadness
siteurl = https://www.codemadness.org
(DIR) diff --git a/output/atom.xml b/output/atom.xml
@@ -2,7 +2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Codemadness</title>
<subtitle>blog with various projects and articles about computer-related things</subtitle>
- <updated>2024-07-16T00:00:00Z</updated>
+ <updated>2024-07-17T00:00:00Z</updated>
<link rel="alternate" type="text/html" href="https://www.codemadness.org" />
<id>https://www.codemadness.org/atom.xml</id>
<link rel="self" type="application/atom+xml" href="https://www.codemadness.org/atom.xml" />
@@ -46,7 +46,7 @@
<title>webdump HTML to plain-text converter</title>
<link rel="alternate" type="text/html" href="https://www.codemadness.org/webdump.html" />
<id>https://www.codemadness.org/webdump.html</id>
- <updated>2024-07-16T00:00:00Z</updated>
+ <updated>2024-07-17T00:00:00Z</updated>
<published>2023-11-20T00:00:00Z</published>
<author>
<name>Hiltjo</name>
(DIR) diff --git a/output/atom_content.xml b/output/atom_content.xml
@@ -2,7 +2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title>Codemadness</title>
<subtitle>blog with various projects and articles about computer-related things</subtitle>
- <updated>2024-07-16T00:00:00Z</updated>
+ <updated>2024-07-17T00:00:00Z</updated>
<link rel="alternate" type="text/html" href="https://www.codemadness.org" />
<id>https://www.codemadness.org/atom_content.xml</id>
<link rel="self" type="application/atom+xml" href="https://www.codemadness.org/atom_content.xml" />
@@ -515,7 +515,7 @@ feeds() {
<title>webdump HTML to plain-text converter</title>
<link rel="alternate" type="text/html" href="https://www.codemadness.org/webdump.html" />
<id>https://www.codemadness.org/webdump.html</id>
- <updated>2024-07-16T00:00:00Z</updated>
+ <updated>2024-07-17T00:00:00Z</updated>
<published>2023-11-20T00:00:00Z</published>
<author>
<name>Hiltjo</name>
@@ -523,7 +523,7 @@ feeds() {
</author>
<summary>webdump HTML to plain-text converter</summary>
<content type="html"><![CDATA[<h1>webdump HTML to plain-text converter</h1>
- <p><strong>Last modification on </strong> <time>2024-07-16</time></p>
+ <p><strong>Last modification on </strong> <time>2024-07-17</time></p>
<p>webdump is (yet another) HTML to plain-text converter tool.</p>
<p>It reads HTML in UTF-8 from stdin and writes plain-text to stdout.</p>
<h2>Goals and scope</h2>
@@ -551,7 +551,7 @@ HTML (i)frames, etc.</li>
<li>Support for word-wrapping.</li>
<li>A mode to enable basic markup: bold, underline, italic and blink ;)</li>
<li>Indentation of headers, paragraphs, pre and list items.</li>
-<li>Basic support to query an elements or hide them.</li>
+<li>Basic support to query elements or hide them.</li>
<li>Show link references.</li>
<li>Show link references and resources such as img, video, audio, subtitles.</li>
<li>Export link references and resources to a TAB-separated format.</li>
@@ -587,7 +587,7 @@ printf '%s\n' "$title"
</code></pre>
<p>List audio and video-related content from a HTML page, redirect fd 3 to fd 1 (stdout):</p>
<pre><code>url="https://media.ccc.de/v/051_Recent_features_to_OpenBSD-ntpd_and_bgpd"
-curl -s "$url" | webdump -x -s 'audio,video' "$url" 3>&1 >/dev/null | cut -f 2
+curl -s "$url" | webdump -x -s 'audio,video' -b "$url" 3>&1 >/dev/null | cut -f 2
</code></pre>
<h2>Clone</h2>
<pre><code>git clone git://git.codemadness.org/webdump
(DIR) diff --git a/output/rss_content.xml b/output/rss_content.xml
@@ -503,7 +503,7 @@ feeds() {
<dc:date>2023-11-20T00:00:00Z</dc:date>
<author>Hiltjo</author>
<description><![CDATA[<h1>webdump HTML to plain-text converter</h1>
- <p><strong>Last modification on </strong> <time>2024-07-16</time></p>
+ <p><strong>Last modification on </strong> <time>2024-07-17</time></p>
<p>webdump is (yet another) HTML to plain-text converter tool.</p>
<p>It reads HTML in UTF-8 from stdin and writes plain-text to stdout.</p>
<h2>Goals and scope</h2>
@@ -531,7 +531,7 @@ HTML (i)frames, etc.</li>
<li>Support for word-wrapping.</li>
<li>A mode to enable basic markup: bold, underline, italic and blink ;)</li>
<li>Indentation of headers, paragraphs, pre and list items.</li>
-<li>Basic support to query an elements or hide them.</li>
+<li>Basic support to query elements or hide them.</li>
<li>Show link references.</li>
<li>Show link references and resources such as img, video, audio, subtitles.</li>
<li>Export link references and resources to a TAB-separated format.</li>
@@ -567,7 +567,7 @@ printf '%s\n' "$title"
</code></pre>
<p>List audio and video-related content from a HTML page, redirect fd 3 to fd 1 (stdout):</p>
<pre><code>url="https://media.ccc.de/v/051_Recent_features_to_OpenBSD-ntpd_and_bgpd"
-curl -s "$url" | webdump -x -s 'audio,video' "$url" 3>&1 >/dev/null | cut -f 2
+curl -s "$url" | webdump -x -s 'audio,video' -b "$url" 3>&1 >/dev/null | cut -f 2
</code></pre>
<h2>Clone</h2>
<pre><code>git clone git://git.codemadness.org/webdump
(DIR) diff --git a/output/sitemap.xml b/output/sitemap.xml
@@ -14,7 +14,7 @@
</url>
<url>
<loc>https://www.codemadness.org/webdump.html</loc>
- <lastmod>2024-07-16</lastmod>
+ <lastmod>2024-07-17</lastmod>
</url>
<url>
<loc>https://www.codemadness.org/mailservice.html</loc>
(DIR) diff --git a/pages/webdump.cfg b/pages/webdump.cfg
@@ -3,4 +3,4 @@ id = webdump
description = webdump HTML to plain-text converter
keywords = webdump, HTML to plain-text, converter, formatter
created = 2023-11-20
-updated = 2024-07-16
+updated = 2024-07-17
(DIR) diff --git a/pages/webdump.md b/pages/webdump.md
@@ -31,7 +31,7 @@ The tool will only convert HTML to stdout, similarly to links -dump or lynx
* Support for word-wrapping.
* A mode to enable basic markup: bold, underline, italic and blink ;)
* Indentation of headers, paragraphs, pre and list items.
-* Basic support to query an elements or hide them.
+* Basic support to query elements or hide them.
* Show link references.
* Show link references and resources such as img, video, audio, subtitles.
* Export link references and resources to a TAB-separated format.
@@ -81,7 +81,7 @@ To get the title from a HTML page:
List audio and video-related content from a HTML page, redirect fd 3 to fd 1 (stdout):
url="https://media.ccc.de/v/051_Recent_features_to_OpenBSD-ntpd_and_bgpd"
- curl -s "$url" | webdump -x -s 'audio,video' "$url" 3>&1 >/dev/null | cut -f 2
+ curl -s "$url" | webdump -x -s 'audio,video' -b "$url" 3>&1 >/dev/null | cut -f 2
## Clone