<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>sfeed, branch HEAD</title>
<subtitle>RSS and Atom parser
</subtitle>
<entry>
<id>b2b2426f7742a8a640f1bd8bb9709452baebdca7</id>
<published>2024-11-02T11:31:26Z</published>
<updated>2024-11-02T11:31:26Z</updated>
<title>util.h: add a note about __dead and noreturn hints</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/b2b2426f7742a8a640f1bd8bb9709452baebdca7.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit b2b2426f7742a8a640f1bd8bb9709452baebdca7
parent 1c9433f80c0209c304236f84b58f87bd1ddf261f
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  2 Nov 2024 12:31:26 +0100

util.h: add a note about __dead and noreturn hints

- Add a note about the attribute for at least gcc/clang.
- _Noreturn has been deprecated.
- C23 introduces noreturn.

This is useful for testing with static analyzers like clang analyzer:
	scan-build make

Running with scan-build make would return all false-positives for functions
using err(), errx() and die().

</content>
</entry>
<entry>
<id>1c9433f80c0209c304236f84b58f87bd1ddf261f</id>
<published>2024-11-01T15:59:14Z</published>
<updated>2024-11-01T15:59:14Z</updated>
<title>sfeedrc.5: fix typo</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/1c9433f80c0209c304236f84b58f87bd1ddf261f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 1c9433f80c0209c304236f84b58f87bd1ddf261f
parent ec7abe8b5ea4c56bd442f536544c4dde4b38a847
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  1 Nov 2024 16:59:14 +0100

sfeedrc.5: fix typo

</content>
</entry>
<entry>
<id>ec7abe8b5ea4c56bd442f536544c4dde4b38a847</id>
<published>2024-10-27T08:23:53Z</published>
<updated>2024-11-01T15:52:45Z</updated>
<title>documentation improvements</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/ec7abe8b5ea4c56bd442f536544c4dde4b38a847.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit ec7abe8b5ea4c56bd442f536544c4dde4b38a847
parent 4b99778344bca3a1606046b5bf1087160ea1661c
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 27 Oct 2024 09:23:53 +0100

documentation improvements

- Add ETag example to sfeedrc.5 man page.
  This was in the README but now also added to the man page for visibility.
- Indent code examples to separate leading text from code examples.
- Some textual improvements.

</content>
</entry>
<entry>
<id>4b99778344bca3a1606046b5bf1087160ea1661c</id>
<published>2024-09-09T14:43:28Z</published>
<updated>2024-09-09T14:43:28Z</updated>
<title>Makefile: on install do not follow symlinks and just copy them</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/4b99778344bca3a1606046b5bf1087160ea1661c.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 4b99778344bca3a1606046b5bf1087160ea1661c
parent 19957bc272e745af7b56b79fa648e8b6b77113b1
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon,  9 Sep 2024 16:43:28 +0200

Makefile: on install do not follow symlinks and just copy them

By default this is not needed, but it is used for my local script to bundle the
sfeed tools and compile/link and symlink them in a compact way (similar to
busybox).

The -R flag is needed on OpenBSD, because it ignores -P if the -R flag is not
specified.  This issue is reported upstream, because POSIX defines -P can be
used without the -R flag.

</content>
</entry>
<entry>
<id>19957bc272e745af7b56b79fa648e8b6b77113b1</id>
<published>2024-07-04T16:26:51Z</published>
<updated>2024-07-04T16:29:27Z</updated>
<title>sfeed.c: separator T could be lowercase</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/19957bc272e745af7b56b79fa648e8b6b77113b1.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 19957bc272e745af7b56b79fa648e8b6b77113b1
parent 1f6dfac83e8325a42dc5faa2e31cc25593acdfc8
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu,  4 Jul 2024 18:26:51 +0200

sfeed.c: separator T could be lowercase

From RFC3339:
5.6. Internet Date/Time Format

&quot;
[...]
      NOTE: Per [ABNF] and ISO8601, the &quot;T&quot; and &quot;Z&quot; characters in this
      syntax may alternatively be lower case &quot;t&quot; or &quot;z&quot; respectively.

      This date/time format may be used in some environments or contexts
      that distinguish between the upper- and lower-case letters &#39;A&#39;-&#39;Z&#39;
      and &#39;a&#39;-&#39;z&#39; (e.g. XML).  Specifications that use this format in
      such environments MAY further limit the date/time syntax so that
      the letters &#39;T&#39; and &#39;Z&#39; used in the date/time syntax must always
      be upper case.  Applications that generate this format SHOULD use
      upper case letters.
&quot;

Reference: https://www.rfc-editor.org/rfc/rfc3339

</content>
</entry>
<entry>
<id>1f6dfac83e8325a42dc5faa2e31cc25593acdfc8</id>
<published>2024-06-30T07:59:48Z</published>
<updated>2024-06-30T07:59:48Z</updated>
<title>improve parsing whitespace after end tag names</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/1f6dfac83e8325a42dc5faa2e31cc25593acdfc8.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 1f6dfac83e8325a42dc5faa2e31cc25593acdfc8
parent 1f76c85ab88f0a1a36c7769a0b8ac13b9072105b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 30 Jun 2024 09:59:48 +0200

improve parsing whitespace after end tag names

Simplified test-case:

https://git.codemadness.org/sfeed_tests/commit/e091160c3125322193bd8f27691c87eaa48cfc93.html

</content>
</entry>
<entry>
<id>1f76c85ab88f0a1a36c7769a0b8ac13b9072105b</id>
<published>2023-12-29T13:29:04Z</published>
<updated>2023-12-29T13:29:04Z</updated>
<title>bump version to 2.0</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/1f76c85ab88f0a1a36c7769a0b8ac13b9072105b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 1f76c85ab88f0a1a36c7769a0b8ac13b9072105b
parent 391a556d308fe19b22614498d8bdefab0c3016be
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 29 Dec 2023 14:29:04 +0100

bump version to 2.0

</content>
</entry>
<entry>
<id>391a556d308fe19b22614498d8bdefab0c3016be</id>
<published>2023-12-29T13:21:30Z</published>
<updated>2023-12-29T13:21:30Z</updated>
<title>sfeed_update: reword some comments</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/391a556d308fe19b22614498d8bdefab0c3016be.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 391a556d308fe19b22614498d8bdefab0c3016be
parent 19cc32850dde2fe3fff1f02d8470727b84a5f67b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 29 Dec 2023 14:21:30 +0100

sfeed_update: reword some comments

</content>
</entry>
<entry>
<id>19cc32850dde2fe3fff1f02d8470727b84a5f67b</id>
<published>2023-12-29T13:10:38Z</published>
<updated>2023-12-29T13:10:38Z</updated>
<title>sfeed_gopher: fix a clang-analyzer warning</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/19cc32850dde2fe3fff1f02d8470727b84a5f67b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 19cc32850dde2fe3fff1f02d8470727b84a5f67b
parent 04c76f86b66d2c30cadc6fef4df98cb3077ebcd9
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 29 Dec 2023 14:10:38 +0100

sfeed_gopher: fix a clang-analyzer warning

When reading from stdin the fields `total` and `totalnew` structure of feed are
incremented. However this value was uninitialized.

For stdin the result was not read and unused anyway though.

</content>
</entry>
<entry>
<id>04c76f86b66d2c30cadc6fef4df98cb3077ebcd9</id>
<published>2023-12-29T12:56:42Z</published>
<updated>2023-12-29T12:56:42Z</updated>
<title>sfeed_update: code-style and consistency: add some comments for functions</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/04c76f86b66d2c30cadc6fef4df98cb3077ebcd9.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 04c76f86b66d2c30cadc6fef4df98cb3077ebcd9
parent cbf92f526528fc995e309d2f13b7dcebfd1e5c75
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 29 Dec 2023 13:56:42 +0100

sfeed_update: code-style and consistency: add some comments for functions

</content>
</entry>
<entry>
<id>cbf92f526528fc995e309d2f13b7dcebfd1e5c75</id>
<published>2023-12-29T12:50:55Z</published>
<updated>2023-12-29T12:50:55Z</updated>
<title>sfeed_update/sfeed_opml_export: only allow regular files</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/cbf92f526528fc995e309d2f13b7dcebfd1e5c75.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit cbf92f526528fc995e309d2f13b7dcebfd1e5c75
parent 03a0a0ddb450f33e59a911a8be1b17d31507fa43
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 29 Dec 2023 13:50:55 +0100

sfeed_update/sfeed_opml_export: only allow regular files

Be more strict and only allow regular files. It makes no sense to use device
files or fifos with sfeed_update and it can cause issues, because sfeed_update
expects to read the config file for each (child) invocation also.

</content>
</entry>
<entry>
<id>03a0a0ddb450f33e59a911a8be1b17d31507fa43</id>
<published>2023-12-28T15:48:06Z</published>
<updated>2023-12-28T15:48:06Z</updated>
<title>sfeed_opml_export: disallow using a directory as a config file</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/03a0a0ddb450f33e59a911a8be1b17d31507fa43.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 03a0a0ddb450f33e59a911a8be1b17d31507fa43
parent 0a5e36032373b34558e62f309be0b0ef7e925459
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 28 Dec 2023 16:48:06 +0100

sfeed_opml_export: disallow using a directory as a config file

Same as the commit 9754fe74f7b5c0600cc41eef8c6f5c8305a74a18 for sfeed_update

Tested on NetBSD 5.1: evaluating directories as config files could allow
garbage, so disallow it.

Devices / fifo, etc are still allowed.

</content>
</entry>
<entry>
<id>0a5e36032373b34558e62f309be0b0ef7e925459</id>
<published>2023-12-27T12:20:07Z</published>
<updated>2023-12-27T12:20:07Z</updated>
<title>sfeed_update: rename local variables just in case</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/0a5e36032373b34558e62f309be0b0ef7e925459.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 0a5e36032373b34558e62f309be0b0ef7e925459
parent 1a5fa7454c92c5497c23e179e599224f0d96a920
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 27 Dec 2023 13:20:07 +0100

sfeed_update: rename local variables just in case

The config is loaded for each child program. These could override these
variables if the user specifies the same name.

</content>
</entry>
<entry>
<id>1a5fa7454c92c5497c23e179e599224f0d96a920</id>
<published>2023-12-27T12:18:03Z</published>
<updated>2023-12-27T12:18:03Z</updated>
<title>sfeed_update: remove xargs -s</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/1a5fa7454c92c5497c23e179e599224f0d96a920.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 1a5fa7454c92c5497c23e179e599224f0d96a920
parent 8bdb849e449c5236a1ef7e8b4b91186790f7fb29
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 27 Dec 2023 13:18:03 +0100

sfeed_update: remove xargs -s

Theres no need to specify. POSIX defines it should support at least LINE_MAX
(2048 typically).

OpenIndiana xargs doesn&#39;t conform to POSIX. It doesn&#39;t use the largest constraint but
errors out.

From POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html

&quot;Values of size up to at least {LINE_MAX} bytes shall be supported, provided
that the constraints specified in the DESCRIPTION are met. It shall not be
considered an error if a value larger than that supported by the implementation
or exceeding the constraints specified in the DESCRIPTION is given; xargs shall
use the largest value it supports within the constraints.&quot;

</content>
</entry>
<entry>
<id>8bdb849e449c5236a1ef7e8b4b91186790f7fb29</id>
<published>2023-12-27T12:16:40Z</published>
<updated>2023-12-27T12:16:40Z</updated>
<title>sfeed_update: suppress output to stderr, like merge() already does</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/8bdb849e449c5236a1ef7e8b4b91186790f7fb29.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 8bdb849e449c5236a1ef7e8b4b91186790f7fb29
parent 20bfe3d26d68d69539740110d3663b7853dad0e2
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 27 Dec 2023 13:16:40 +0100

sfeed_update: suppress output to stderr, like merge() already does

Noticed while testing TMPDIR=/noaccess sort on Illumos/OpenIndiana, which gives
a warning to stderr. For sort temporary directories might be used for large
output.

</content>
</entry>
<entry>
<id>20bfe3d26d68d69539740110d3663b7853dad0e2</id>
<published>2023-12-26T15:38:14Z</published>
<updated>2023-12-26T18:07:30Z</updated>
<title>LICENSE: bump year</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/20bfe3d26d68d69539740110d3663b7853dad0e2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 20bfe3d26d68d69539740110d3663b7853dad0e2
parent 87d5c99ebfee6e2255bd057e0eb45f1631b8b987
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 16:38:14 +0100

LICENSE: bump year

</content>
</entry>
<entry>
<id>87d5c99ebfee6e2255bd057e0eb45f1631b8b987</id>
<published>2023-12-26T15:34:58Z</published>
<updated>2023-12-26T18:07:30Z</updated>
<title>sfeedrc: bump default maxjobs from 8 to 16</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/87d5c99ebfee6e2255bd057e0eb45f1631b8b987.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 87d5c99ebfee6e2255bd057e0eb45f1631b8b987
parent 89dbf565de7b980d2b336c58633b7a27681adaf5
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 16:34:58 +0100

sfeedrc: bump default maxjobs from 8 to 16

</content>
</entry>
<entry>
<id>89dbf565de7b980d2b336c58633b7a27681adaf5</id>
<published>2023-12-26T15:37:21Z</published>
<updated>2023-12-26T18:07:30Z</updated>
<title>README: update dependency information for xargs for sfeed_update</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/89dbf565de7b980d2b336c58633b7a27681adaf5.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 89dbf565de7b980d2b336c58633b7a27681adaf5
parent cdb8f7feb135adf6f18e389b4bbf47886089474a
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 16:37:21 +0100

README: update dependency information for xargs for sfeed_update

Remove the parallel xargs example because it is now the default.

</content>
</entry>
<entry>
<id>cdb8f7feb135adf6f18e389b4bbf47886089474a</id>
<published>2023-12-26T14:59:39Z</published>
<updated>2023-12-26T18:06:47Z</updated>
<title>sfeed_update: use xargs -P -0</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/cdb8f7feb135adf6f18e389b4bbf47886089474a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit cdb8f7feb135adf6f18e389b4bbf47886089474a
parent 62bfed65ca91c34ea24b81b191c23d4542a7075b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 15:59:39 +0100

sfeed_update: use xargs -P -0

Some of the options, like -P are as of writing (2023) non-POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html. However
many systems support this useful extension for many years now.

Some historic context:

The xargs -0 option was added on 1996-06-11, about a year after the NetBSD
import (over 27 years ago at the time of writing):

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/xargs/xargs.c?rev=1.2&amp;content-type=text/x-cvsweb-markup

On OpenBSD the xargs -P option was added on 2003-12-06 by syncing the FreeBSD
code:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/xargs/xargs.c?rev=1.14&amp;content-type=text/x-cvsweb-markup

Looking at the imported git history log of GNU findutils (which has xargs), the
very first commit already had the -0 and -P option on Sun Feb 4 20:35:16 1996
+0000.

Tested on many systems, old and new, some notable:

- OpenBSD 7.4
- Void Linux
- FreeBSD 12
- NetBSD 9.3
- HaikuOS (uses GNU tools).
- Slackware 11
- OpenBSD 3.8
- NetBSD 5.1

Some shells:
- oksh
- bash
- dash
- zsh

During testing there are some incompatibilities found in parsing the fields so
the arguments are passed as one argument which is split later on by the child
program.

</content>
</entry>
<entry>
<id>62bfed65ca91c34ea24b81b191c23d4542a7075b</id>
<published>2023-12-26T14:23:15Z</published>
<updated>2023-12-26T14:23:15Z</updated>
<title>sfeed_update: mktemp: improve compatibility with older systems</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/62bfed65ca91c34ea24b81b191c23d4542a7075b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 62bfed65ca91c34ea24b81b191c23d4542a7075b
parent 9754fe74f7b5c0600cc41eef8c6f5c8305a74a18
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 15:23:15 +0100

sfeed_update: mktemp: improve compatibility with older systems

Tested on NetBSD 5.1:
- mktemp -p doesn&#39;t exist there yet.
- mktemp without any arguments/template doesnt work
- mktemp -d without any arguments/template doesnt work

</content>
</entry>
<entry>
<id>9754fe74f7b5c0600cc41eef8c6f5c8305a74a18</id>
<published>2023-12-26T14:17:17Z</published>
<updated>2023-12-26T14:17:17Z</updated>
<title>sfeed_update: disallow using a directory as a config file</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/9754fe74f7b5c0600cc41eef8c6f5c8305a74a18.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 9754fe74f7b5c0600cc41eef8c6f5c8305a74a18
parent 7526bd914c314dd86cc7386bbfaf55ad0d130130
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 26 Dec 2023 15:17:17 +0100

sfeed_update: disallow using a directory as a config file

Tested on NetBSD 5.1: evaluating directories as config files could allow
garbage, so disallow it.

Devices / fifo, etc are still allowed.

</content>
</entry>
<entry>
<id>7526bd914c314dd86cc7386bbfaf55ad0d130130</id>
<published>2023-12-15T12:48:49Z</published>
<updated>2023-12-15T12:48:49Z</updated>
<title>README: sfeed_opml_export uses awk</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/7526bd914c314dd86cc7386bbfaf55ad0d130130.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 7526bd914c314dd86cc7386bbfaf55ad0d130130
parent a2aa09baf8a1f4a98313f8691d999eaff8b4ceea
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 15 Dec 2023 13:48:49 +0100

README: sfeed_opml_export uses awk

</content>
</entry>
<entry>
<id>a2aa09baf8a1f4a98313f8691d999eaff8b4ceea</id>
<published>2023-12-15T12:46:21Z</published>
<updated>2023-12-15T12:46:21Z</updated>
<title>sfeed_update: add die() function for exit and cleanup, respect $TMPDIR</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/a2aa09baf8a1f4a98313f8691d999eaff8b4ceea.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit a2aa09baf8a1f4a98313f8691d999eaff8b4ceea
parent 63308527f5197ddbcad6b06c5c1bbaf12f997e57
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 15 Dec 2023 13:46:21 +0100

sfeed_update: add die() function for exit and cleanup, respect $TMPDIR

- Add a die() helper function to cleanup and exit.
  - NOTE that with an empty sfeedtmpdir the case rm -rf &quot;&quot; is fine.
- Respect $TMPDIR for creating temporary files like many UNIX tools do.
- Fix: when creating &quot;${sfeedtmpdir}/ok&quot; fails for some reason cleanup the
  whole temporary directory as well.
- Fix: when the feeds() function is not defined exit with status code 1 (this
  was incorrectly status code 0).
  Reproduce: sfeed_update /dev/null; echo $?

</content>
</entry>
<entry>
<id>63308527f5197ddbcad6b06c5c1bbaf12f997e57</id>
<published>2023-12-09T20:51:45Z</published>
<updated>2023-12-09T20:52:08Z</updated>
<title>improve compatibility with zsh as a non-interactive shell</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/63308527f5197ddbcad6b06c5c1bbaf12f997e57.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 63308527f5197ddbcad6b06c5c1bbaf12f997e57
parent da8adbc02e4667a68077e5f0cab8548e2bb81c1b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  9 Dec 2023 21:51:45 +0100

improve compatibility with zsh as a non-interactive shell

In zsh the variables $path and $status are special.

https://zsh.sourceforge.io/Doc/Release/Parameters.html#index-path
https://zsh.sourceforge.io/Doc/Release/Parameters.html#index-status

(No promises I will keep up with this insanity in the future though)

</content>
</entry>
<entry>
<id>da8adbc02e4667a68077e5f0cab8548e2bb81c1b</id>
<published>2023-11-30T16:59:18Z</published>
<updated>2023-11-30T16:59:18Z</updated>
<title>sfeed_json: fix name of url field for attachments</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/da8adbc02e4667a68077e5f0cab8548e2bb81c1b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit da8adbc02e4667a68077e5f0cab8548e2bb81c1b
parent db69f0f81d4796816c04e6330b963f907cbfded1
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 30 Nov 2023 17:59:18 +0100

sfeed_json: fix name of url field for attachments

This was a typo: &quot;url:&quot; should be &quot;url&quot;.

</content>
</entry>
<entry>
<id>db69f0f81d4796816c04e6330b963f907cbfded1</id>
<published>2023-09-20T21:20:19Z</published>
<updated>2023-09-22T12:01:03Z</updated>
<title>sfeed_curses: mark functions as static</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/db69f0f81d4796816c04e6330b963f907cbfded1.gph" />
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<content>commit db69f0f81d4796816c04e6330b963f907cbfded1
parent a2af022b42beea7b8c29ca475f38efd10caf35e8
Author: NRK &lt;nrk@disroot.org&gt;
Date:   Thu, 21 Sep 2023 03:20:19 +0600

sfeed_curses: mark functions as static

no reason for them not to be `static` and this also silences
-Wmissing-prototypes warning

(note: most of this patch was done by a sed(1) command.)

</content>
</entry>
<entry>
<id>a2af022b42beea7b8c29ca475f38efd10caf35e8</id>
<published>2023-09-20T21:13:52Z</published>
<updated>2023-09-22T12:01:03Z</updated>
<title>sfeed_gopher: mark function as static</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/a2af022b42beea7b8c29ca475f38efd10caf35e8.gph" />
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<content>commit a2af022b42beea7b8c29ca475f38efd10caf35e8
parent c43e677d80f5eae1e05bcb71d88008fb8ded8cab
Author: NRK &lt;nrk@disroot.org&gt;
Date:   Thu, 21 Sep 2023 03:13:52 +0600

sfeed_gopher: mark function as static

</content>
</entry>
<entry>
<id>c43e677d80f5eae1e05bcb71d88008fb8ded8cab</id>
<published>2023-08-18T16:40:05Z</published>
<updated>2023-08-18T16:40:05Z</updated>
<title>bump version to 1.9</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/c43e677d80f5eae1e05bcb71d88008fb8ded8cab.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit c43e677d80f5eae1e05bcb71d88008fb8ded8cab
parent 21a263cb27aeaf02b4a0a0319f435fac92f1ea28
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 18 Aug 2023 18:40:05 +0200

bump version to 1.9

</content>
</entry>
<entry>
<id>21a263cb27aeaf02b4a0a0319f435fac92f1ea28</id>
<published>2023-08-15T17:10:51Z</published>
<updated>2023-08-15T17:14:16Z</updated>
<title>improve wording and small typos</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/21a263cb27aeaf02b4a0a0319f435fac92f1ea28.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 21a263cb27aeaf02b4a0a0319f435fac92f1ea28
parent ea04ae0101ae0607295ebea0a23364d31d1d37aa
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 15 Aug 2023 19:10:51 +0200

improve wording and small typos

</content>
</entry>
<entry>
<id>ea04ae0101ae0607295ebea0a23364d31d1d37aa</id>
<published>2023-08-09T21:04:21Z</published>
<updated>2023-08-09T21:04:21Z</updated>
<title>Makefile: change -lcurses to -lncurses for Gentoo in the comment</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/ea04ae0101ae0607295ebea0a23364d31d1d37aa.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit ea04ae0101ae0607295ebea0a23364d31d1d37aa
parent 5e9dfb2a28a0305abb4e27df3b15214588c88468
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed,  9 Aug 2023 23:04:21 +0200

Makefile: change -lcurses to -lncurses for Gentoo in the comment

Reported by commodorian, thanks!

</content>
</entry>
<entry>
<id>5e9dfb2a28a0305abb4e27df3b15214588c88468</id>
<published>2023-08-01T16:56:06Z</published>
<updated>2023-08-01T16:56:06Z</updated>
<title>sfeed_update.1: remove mentioning of / in path names here</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/5e9dfb2a28a0305abb4e27df3b15214588c88468.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 5e9dfb2a28a0305abb4e27df3b15214588c88468
parent 3eb8fb2bb4fec18cc3e82b52086368bc837a41bd
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue,  1 Aug 2023 18:56:06 +0200

sfeed_update.1: remove mentioning of / in path names here

This is documented in the sfeedrc.5 also where it is more suitable.

</content>
</entry>
<entry>
<id>3eb8fb2bb4fec18cc3e82b52086368bc837a41bd</id>
<published>2023-08-01T16:55:49Z</published>
<updated>2023-08-01T16:55:49Z</updated>
<title>sfeed_curses.1: fix 2 typos</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/3eb8fb2bb4fec18cc3e82b52086368bc837a41bd.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 3eb8fb2bb4fec18cc3e82b52086368bc837a41bd
parent d6eb193ec08f576d60cfe0e9f79e43fdb9c9634a
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue,  1 Aug 2023 18:55:49 +0200

sfeed_curses.1: fix 2 typos

</content>
</entry>
<entry>
<id>d6eb193ec08f576d60cfe0e9f79e43fdb9c9634a</id>
<published>2023-08-01T16:55:03Z</published>
<updated>2023-08-01T16:55:03Z</updated>
<title>sfeed_json.1: make the formatting consistent with other similar man pages</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/d6eb193ec08f576d60cfe0e9f79e43fdb9c9634a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit d6eb193ec08f576d60cfe0e9f79e43fdb9c9634a
parent f2e7a3fca1c05599456a60494fff61bb7b1ecf4e
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue,  1 Aug 2023 18:55:03 +0200

sfeed_json.1: make the formatting consistent with other similar man pages

Such as sfeed_atom.1 or sfeed_twtxt.1

</content>
</entry>
<entry>
<id>f2e7a3fca1c05599456a60494fff61bb7b1ecf4e</id>
<published>2023-07-31T16:58:40Z</published>
<updated>2023-07-31T16:58:40Z</updated>
<title>fix typo: current -&gt; currently</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/f2e7a3fca1c05599456a60494fff61bb7b1ecf4e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit f2e7a3fca1c05599456a60494fff61bb7b1ecf4e
parent 92e833940f8a418157e84f8c1827c40a6a8a44c3
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 31 Jul 2023 18:58:40 +0200

fix typo: current -&gt; currently

Reported by Allan Wind, thanks!

</content>
</entry>
<entry>
<id>92e833940f8a418157e84f8c1827c40a6a8a44c3</id>
<published>2023-07-07T09:47:31Z</published>
<updated>2023-07-07T09:47:31Z</updated>
<title>sfeed_markread: fail early if creating a temporary file failed</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/92e833940f8a418157e84f8c1827c40a6a8a44c3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 92e833940f8a418157e84f8c1827c40a6a8a44c3
parent c63b60816ff996c89a07131da411269152852cd7
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  7 Jul 2023 11:47:31 +0200

sfeed_markread: fail early if creating a temporary file failed

</content>
</entry>
<entry>
<id>c63b60816ff996c89a07131da411269152852cd7</id>
<published>2023-07-07T09:43:41Z</published>
<updated>2023-07-07T09:43:41Z</updated>
<title>sfeedrc.5: document each feed name should be unique</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/c63b60816ff996c89a07131da411269152852cd7.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit c63b60816ff996c89a07131da411269152852cd7
parent 7afd4987e578631e41333867aa702e326cab87f1
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  7 Jul 2023 11:43:41 +0200

sfeedrc.5: document each feed name should be unique

Asked via e-mail. This confused a person which converted an OPML file which
yielded an sfeedrc with duplicate names or multiple &quot;unnamed&quot; entries.

This caused sfeed_update to fail, because it tried to merge files with the same
name and causing a race-condition because the temporary file with the same name
was already moved.

</content>
</entry>
<entry>
<id>7afd4987e578631e41333867aa702e326cab87f1</id>
<published>2023-07-07T09:10:01Z</published>
<updated>2023-07-07T09:10:01Z</updated>
<title>sfeed_curses: move one line down when marking an item as read or unread</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/7afd4987e578631e41333867aa702e326cab87f1.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 7afd4987e578631e41333867aa702e326cab87f1
parent 4601a1d688d05d300308d2bd861e16c1c81787a3
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  7 Jul 2023 11:10:01 +0200

sfeed_curses: move one line down when marking an item as read or unread

I don&#39;t mind either behaviour, but it has been suggested by a few people.
For example the mutt mail client also has this behaviour.

</content>
</entry>
<entry>
<id>4601a1d688d05d300308d2bd861e16c1c81787a3</id>
<published>2023-07-01T10:51:04Z</published>
<updated>2023-07-02T10:06:36Z</updated>
<title>sfeedrc.5: remove branding (shaken, not stirred)</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/4601a1d688d05d300308d2bd861e16c1c81787a3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 4601a1d688d05d300308d2bd861e16c1c81787a3
parent 229f33c4a66b8d4c60bfe39a068c34bf095f5728
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  1 Jul 2023 12:51:04 +0200

sfeedrc.5: remove branding (shaken, not stirred)

</content>
</entry>
<entry>
<id>229f33c4a66b8d4c60bfe39a068c34bf095f5728</id>
<published>2023-06-09T12:45:57Z</published>
<updated>2023-06-09T12:45:57Z</updated>
<title>sfeedrc.5: improve example by setting a different User-Agent</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/229f33c4a66b8d4c60bfe39a068c34bf095f5728.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 229f33c4a66b8d4c60bfe39a068c34bf095f5728
parent e96bdb644ae2f49125079e6218e2777caf633e1c
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  9 Jun 2023 14:45:57 +0200

sfeedrc.5: improve example by setting a different User-Agent

This is useful for sites that block clients that don&#39;t have a User-Agent header
set.

</content>
</entry>
<entry>
<id>e96bdb644ae2f49125079e6218e2777caf633e1c</id>
<published>2023-06-09T12:44:34Z</published>
<updated>2023-06-09T12:44:34Z</updated>
<title>README: improve note about CDNs and user-agent blocking</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/e96bdb644ae2f49125079e6218e2777caf633e1c.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit e96bdb644ae2f49125079e6218e2777caf633e1c
parent 44a4824eeba93a13511251a907179393f247c201
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  9 Jun 2023 14:44:34 +0200

README: improve note about CDNs and user-agent blocking

Prompted by a question from a user. Specificly mention reddit.com now blocks
clients which don&#39;t set the User-Agent header. It is specificly mentioned
because there is a reddit feed in the example sfeedrc.

</content>
</entry>
<entry>
<id>44a4824eeba93a13511251a907179393f247c201</id>
<published>2023-06-09T12:42:52Z</published>
<updated>2023-06-09T12:42:52Z</updated>
<title>add comment to reference to the man pages and README file</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/44a4824eeba93a13511251a907179393f247c201.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 44a4824eeba93a13511251a907179393f247c201
parent 96d7afc7d7511f05ba07c5acbb5bbfb2847bc126
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  9 Jun 2023 14:42:52 +0200

add comment to reference to the man pages and README file

These file contain examples and more details and may be overlooked/forgotten.

</content>
</entry>
<entry>
<id>96d7afc7d7511f05ba07c5acbb5bbfb2847bc126</id>
<published>2023-06-09T12:40:40Z</published>
<updated>2023-06-09T12:40:40Z</updated>
<title>sfeed_update/sfeedrc: add url as parameter to the filter() and order() function</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/96d7afc7d7511f05ba07c5acbb5bbfb2847bc126.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 96d7afc7d7511f05ba07c5acbb5bbfb2847bc126
parent 21790adad1672689225efe38b6a59494181d323b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  9 Jun 2023 14:40:40 +0200

sfeed_update/sfeedrc: add url as parameter to the filter() and order() function

This might make it easier to set filters or ordering by pattern matching on a
group of feeds by the feed URL. For example youtube or reddit feeds.

Another way which was already possible is prefixing names with for example:
&quot;reddit somename&quot; or &quot;yt somename&quot;.

</content>
</entry>
<entry>
<id>21790adad1672689225efe38b6a59494181d323b</id>
<published>2023-05-16T18:11:21Z</published>
<updated>2023-05-16T18:11:21Z</updated>
<title>improve to use proper includes</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/21790adad1672689225efe38b6a59494181d323b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 21790adad1672689225efe38b6a59494181d323b
parent 6245c2866bd38dcad51833f39677f99fb25fd0ef
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 16 May 2023 20:11:21 +0200

improve to use proper includes

Reduce using some of the unneeded sys/* headers too. This makes it slightly
more portable or easier to port also.

</content>
</entry>
<entry>
<id>6245c2866bd38dcad51833f39677f99fb25fd0ef</id>
<published>2023-05-16T16:30:09Z</published>
<updated>2023-05-16T16:30:09Z</updated>
<title>README: RSS 0.90+ is supported, not 0.91+</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/6245c2866bd38dcad51833f39677f99fb25fd0ef.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 6245c2866bd38dcad51833f39677f99fb25fd0ef
parent bb89b1e4dbfc63857adb829c4fe31c63e9ca1b14
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 16 May 2023 18:30:09 +0200

README: RSS 0.90+ is supported, not 0.91+

See also:
https://www.rssboard.org/rss-0-9-0

</content>
</entry>
<entry>
<id>bb89b1e4dbfc63857adb829c4fe31c63e9ca1b14</id>
<published>2023-05-15T16:53:19Z</published>
<updated>2023-05-15T16:53:19Z</updated>
<title>sfeed_atom: gmtime_r make it consistent with sfeed_mbox</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/bb89b1e4dbfc63857adb829c4fe31c63e9ca1b14.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit bb89b1e4dbfc63857adb829c4fe31c63e9ca1b14
parent 5027669efb6a969afa2c8adcf7c2322dcf75de1f
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 15 May 2023 18:53:19 +0200

sfeed_atom: gmtime_r make it consistent with sfeed_mbox

When gmtime_r is called to get the current time show the same error message as
sfeed_mbox does.

</content>
</entry>
<entry>
<id>5027669efb6a969afa2c8adcf7c2322dcf75de1f</id>
<published>2023-05-15T16:48:56Z</published>
<updated>2023-05-15T16:48:56Z</updated>
<title>fix typo</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/5027669efb6a969afa2c8adcf7c2322dcf75de1f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 5027669efb6a969afa2c8adcf7c2322dcf75de1f
parent 3f7b8da537dca5b97657519eb8544f02f6b32d55
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 15 May 2023 18:48:56 +0200

fix typo

</content>
</entry>
<entry>
<id>3f7b8da537dca5b97657519eb8544f02f6b32d55</id>
<published>2023-05-14T21:58:54Z</published>
<updated>2023-05-14T21:58:54Z</updated>
<title>sfeed_gopher: reduce scope and shadowing a variable</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/3f7b8da537dca5b97657519eb8544f02f6b32d55.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 3f7b8da537dca5b97657519eb8544f02f6b32d55
parent 538e7dc0ccf065bf59b952a46ff5658ea19f3bab
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 14 May 2023 23:58:54 +0200

sfeed_gopher: reduce scope and shadowing a variable

</content>
</entry>
<entry>
<id>538e7dc0ccf065bf59b952a46ff5658ea19f3bab</id>
<published>2023-05-14T21:38:17Z</published>
<updated>2023-05-14T21:38:17Z</updated>
<title>sfeed_curses.c: make struct urls static like the other variables</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/538e7dc0ccf065bf59b952a46ff5658ea19f3bab.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 538e7dc0ccf065bf59b952a46ff5658ea19f3bab
parent 3909786d90499355617cba619d3668771b7a56d3
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 14 May 2023 23:38:17 +0200

sfeed_curses.c: make struct urls static like the other variables

</content>
</entry>
<entry>
<id>3909786d90499355617cba619d3668771b7a56d3</id>
<published>2023-05-14T21:37:40Z</published>
<updated>2023-05-14T21:37:40Z</updated>
<title>xml.h: _XML_H_: macro name with an underscore is a reserved identifier</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/3909786d90499355617cba619d3668771b7a56d3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 3909786d90499355617cba619d3668771b7a56d3
parent bdcbf8589716c047a732db3cc349ee6114ccc25f
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 14 May 2023 23:37:40 +0200

xml.h: _XML_H_: macro name with an underscore is a reserved identifier

Found with clang -Wreserved-macro-identifier

See also:
https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

</content>
</entry>
<entry>
<id>bdcbf8589716c047a732db3cc349ee6114ccc25f</id>
<published>2023-05-07T10:39:26Z</published>
<updated>2023-05-07T11:33:29Z</updated>
<title>iterate on previous commit which adds $SFEED_NEW_MAX_SECS</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/bdcbf8589716c047a732db3cc349ee6114ccc25f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit bdcbf8589716c047a732db3cc349ee6114ccc25f
parent ccee88cb02cb54f586d22c53e8bb8865817c3dc4
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun,  7 May 2023 12:39:26 +0200

iterate on previous commit which adds $SFEED_NEW_MAX_SECS

Separate the common pattern to get the time to compare new items in format
tools to the new util function: getcomparetime().

Some changes and notes:
- Change it so it is OK to set this value to 0 or negative (in the future).
- sfeed_curses: truncating newmaxsecs to an int would limit the value too much.
- Just use strtotime() and parse the value to time_t. This is a signed long
  (32-bit, until 2038) or signed long long (64-bit) on most platforms.
- sfeed_curses gets the comparison time on reload aswell and it needs errno =
  0, because it uses die(). time() is not guaranteed to set an errno if it fails.
- Rename environment variable to $SFEED_NEW_AGE.

</content>
</entry>
<entry>
<id>ccee88cb02cb54f586d22c53e8bb8865817c3dc4</id>
<published>2023-05-07T10:56:46Z</published>
<updated>2023-05-07T11:29:56Z</updated>
<title>sfeed: datetounix: code-style, change , to separate lines (-Wcomma)</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/ccee88cb02cb54f586d22c53e8bb8865817c3dc4.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit ccee88cb02cb54f586d22c53e8bb8865817c3dc4
parent 6e4136753bd0faa15c198118b05c529d96d908c5
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun,  7 May 2023 12:56:46 +0200

sfeed: datetounix: code-style, change , to separate lines (-Wcomma)

</content>
</entry>
<entry>
<id>6e4136753bd0faa15c198118b05c529d96d908c5</id>
<published>2023-04-24T20:01:23Z</published>
<updated>2023-05-07T11:22:55Z</updated>
<title>sfeed_{curses,frames,gopher,html,plain}: SFEED_NEW_MAX_SECS</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/6e4136753bd0faa15c198118b05c529d96d908c5.gph" />
<author>
<name>Alvar Penning</name>
<email>post@0x21.biz</email>
</author>
<content>commit 6e4136753bd0faa15c198118b05c529d96d908c5
parent aed47142611e23b363298bbb534c5cc4bd11a86b
Author: Alvar Penning &lt;post@0x21.biz&gt;
Date:   Mon, 24 Apr 2023 22:01:23 +0200

sfeed_{curses,frames,gopher,html,plain}: SFEED_NEW_MAX_SECS

By introducing the new environment variable $SFEED_NEW_MAX_SECS in all
sfeed_* utilities marking feeds as new based on comparing their age, it
is now possible to override this age limit.

This allows, for example, to be notified about new feeds within the last
hour with

  SFEED_NEW_MAX_SECS=3600 sfeed_plain ~/.sfeed/feeds/*

while creating a beautiful web report for last week&#39;s news by

  SFEED_NEW_MAX_SECS=604800 sfeed_html ~/.sfeed/feeds/*

</content>
</entry>
<entry>
<id>aed47142611e23b363298bbb534c5cc4bd11a86b</id>
<published>2023-04-23T12:03:55Z</published>
<updated>2023-04-23T12:03:55Z</updated>
<title>bump version to 1.8</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/aed47142611e23b363298bbb534c5cc4bd11a86b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit aed47142611e23b363298bbb534c5cc4bd11a86b
parent eb5ca56e76013ac281129659efa2169ac125188e
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 23 Apr 2023 14:03:55 +0200

bump version to 1.8

</content>
</entry>
<entry>
<id>eb5ca56e76013ac281129659efa2169ac125188e</id>
<published>2023-04-14T17:11:38Z</published>
<updated>2023-04-14T17:11:38Z</updated>
<title>use errno ENOMEM instead of EOVERFLOW</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/eb5ca56e76013ac281129659efa2169ac125188e.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit eb5ca56e76013ac281129659efa2169ac125188e
parent ebd7175e56141e8e8816b1b27f1abc773818b6aa
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 14 Apr 2023 19:11:38 +0200

use errno ENOMEM instead of EOVERFLOW

This matches the behaviour of setting errno for malloc/calloc on the following
systems too:

glibc, musl libc, OpenBSD libc.

It is also more portable for (older) systems.

</content>
</entry>
<entry>
<id>ebd7175e56141e8e8816b1b27f1abc773818b6aa</id>
<published>2023-04-14T17:11:03Z</published>
<updated>2023-04-14T17:11:03Z</updated>
<title>slightly reduce stack size for entities</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/ebd7175e56141e8e8816b1b27f1abc773818b6aa.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit ebd7175e56141e8e8816b1b27f1abc773818b6aa
parent eb8d6cf63815bff6697ebc7ae1b83f998b6eab53
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 14 Apr 2023 19:11:03 +0200

slightly reduce stack size for entities

A numeric entity could be 5 bytes, so use a round number of 8 bytes.

</content>
</entry>
<entry>
<id>eb8d6cf63815bff6697ebc7ae1b83f998b6eab53</id>
<published>2023-04-12T22:34:23Z</published>
<updated>2023-04-12T22:34:23Z</updated>
<title>atom, json, mbox: fix reading past the buffer with an escaped NUL byte (\ NUL)</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/eb8d6cf63815bff6697ebc7ae1b83f998b6eab53.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit eb8d6cf63815bff6697ebc7ae1b83f998b6eab53
parent 728270f69c34a84cb10aa891178c90c8fe36320d
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 13 Apr 2023 00:34:23 +0200

atom, json, mbox: fix reading past the buffer with an escaped NUL byte (\ NUL)

This would skip checking the end of the string of checking a NUL byte, because
the iteration was done before checking it.

It would proceed into the data that comes after. Note that sfeed itself can&#39;t
generate such malformed data itself.

Example input:

	0	title	link	content\	html

Would incorrect print &quot;contenthtml&quot; as the content.

</content>
</entry>
<entry>
<id>728270f69c34a84cb10aa891178c90c8fe36320d</id>
<published>2023-04-12T20:55:54Z</published>
<updated>2023-04-12T20:55:54Z</updated>
<title>fix some typos</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/728270f69c34a84cb10aa891178c90c8fe36320d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 728270f69c34a84cb10aa891178c90c8fe36320d
parent ced0dd7f8a01dedad3ba16c4cf209aea673c3e82
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 12 Apr 2023 22:55:54 +0200

fix some typos

</content>
</entry>
<entry>
<id>ced0dd7f8a01dedad3ba16c4cf209aea673c3e82</id>
<published>2023-04-10T15:03:57Z</published>
<updated>2023-04-10T15:03:57Z</updated>
<title>sfeed_json: add JSON output format tool</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/ced0dd7f8a01dedad3ba16c4cf209aea673c3e82.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit ced0dd7f8a01dedad3ba16c4cf209aea673c3e82
parent 3f1d323497e5aefce65a3758d1bc408130d9bbe0
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 10 Apr 2023 17:03:57 +0200

sfeed_json: add JSON output format tool

This outputs the TSV data to JSON.

It uses a subset of JSON Feed 1.1:

	https://www.jsonfeed.org/version/1.1/

</content>
</entry>
<entry>
<id>3f1d323497e5aefce65a3758d1bc408130d9bbe0</id>
<published>2023-04-10T14:49:39Z</published>
<updated>2023-04-10T14:49:39Z</updated>
<title>sfeed.c: slightly reduce stack size for entities</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/3f1d323497e5aefce65a3758d1bc408130d9bbe0.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 3f1d323497e5aefce65a3758d1bc408130d9bbe0
parent bf378f4350b0e92efcefd9c0c34f7b5c57c098f4
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 10 Apr 2023 16:49:39 +0200

sfeed.c: slightly reduce stack size for entities

A numeric entity could be 5 bytes, so use a round number of 8 bytes.

No other change intended and no performance difference noticed.

</content>
</entry>
<entry>
<id>bf378f4350b0e92efcefd9c0c34f7b5c57c098f4</id>
<published>2023-04-10T14:44:13Z</published>
<updated>2023-04-10T14:44:13Z</updated>
<title>remove sfeed &quot;branding&quot; in outputs</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/bf378f4350b0e92efcefd9c0c34f7b5c57c098f4.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit bf378f4350b0e92efcefd9c0c34f7b5c57c098f4
parent 14cce37fa54608362dc2d19ff66d10b64e5777b1
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 10 Apr 2023 16:44:13 +0200

remove sfeed &quot;branding&quot; in outputs

Technically for sfeed_atom this violates the RFC standard. There must be an
author in the feed or for an item. However sfeed is not the author, it is a
generator.  All readers will read these feeds anyway.

https://www.rfc-editor.org/rfc/rfc4287#section-4.1.1
&quot;atom:feed elements MUST contain one or more atom:author elements, unless all of
the atom:feed element&#39;s child atom:entry elements contain at least one
atom:author element.&quot; *shrug*

</content>
</entry>
<entry>
<id>14cce37fa54608362dc2d19ff66d10b64e5777b1</id>
<published>2023-04-10T14:40:56Z</published>
<updated>2023-04-10T14:40:56Z</updated>
<title>sfeed_atom: in Atom the default for a type is text</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/14cce37fa54608362dc2d19ff66d10b64e5777b1.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 14cce37fa54608362dc2d19ff66d10b64e5777b1
parent a15c98f32d8a768fee7b6783f7cea710cc5878a9
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 10 Apr 2023 16:40:56 +0200

sfeed_atom: in Atom the default for a type is text

Save a few bytes in the output by removing it.

https://www.rfc-editor.org/rfc/rfc4287
3.1.1.  The &quot;type&quot; Attribute

The title is an atomTextConstruct.

</content>
</entry>
<entry>
<id>a15c98f32d8a768fee7b6783f7cea710cc5878a9</id>
<published>2023-04-07T16:43:06Z</published>
<updated>2023-04-07T16:43:06Z</updated>
<title>sfeed.c: datetounix: add comments</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/a15c98f32d8a768fee7b6783f7cea710cc5878a9.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit a15c98f32d8a768fee7b6783f7cea710cc5878a9
parent 0c938df27bf335fb290d6ea3612f5b397ed3da56
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  7 Apr 2023 18:43:06 +0200

sfeed.c: datetounix: add comments

</content>
</entry>
<entry>
<id>0c938df27bf335fb290d6ea3612f5b397ed3da56</id>
<published>2023-04-06T18:22:54Z</published>
<updated>2023-04-06T18:22:54Z</updated>
<title>README: sfeed_download: change youtube-dl to yt-dlp</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/0c938df27bf335fb290d6ea3612f5b397ed3da56.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 0c938df27bf335fb290d6ea3612f5b397ed3da56
parent f11a83207e85e9007cf908a50318d50ef1e7bab9
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu,  6 Apr 2023 20:22:54 +0200

README: sfeed_download: change youtube-dl to yt-dlp

This is an active maintained fork.

</content>
</entry>
<entry>
<id>f11a83207e85e9007cf908a50318d50ef1e7bab9</id>
<published>2023-04-06T18:22:00Z</published>
<updated>2023-04-06T18:22:00Z</updated>
<title>README: improve error checking for temporary files in examples</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/f11a83207e85e9007cf908a50318d50ef1e7bab9.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit f11a83207e85e9007cf908a50318d50ef1e7bab9
parent 15d18283616a951f060daf8f96996def532b8e21
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu,  6 Apr 2023 20:22:00 +0200

README: improve error checking for temporary files in examples

Similar to the recent fix for sfeed_update in commit
5a27c58675ddf4113d64a84f715cb3fecb681a6d

</content>
</entry>
<entry>
<id>15d18283616a951f060daf8f96996def532b8e21</id>
<published>2023-04-06T17:35:24Z</published>
<updated>2023-04-06T17:35:24Z</updated>
<title>README: fix typo JSONfeed -&gt; JSON Feed</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/15d18283616a951f060daf8f96996def532b8e21.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 15d18283616a951f060daf8f96996def532b8e21
parent 5a27c58675ddf4113d64a84f715cb3fecb681a6d
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu,  6 Apr 2023 19:35:24 +0200

README: fix typo JSONfeed -&gt; JSON Feed

https://www.jsonfeed.org/version/1.1/

</content>
</entry>
<entry>
<id>5a27c58675ddf4113d64a84f715cb3fecb681a6d</id>
<published>2023-04-05T19:41:19Z</published>
<updated>2023-04-05T19:41:19Z</updated>
<title>sfeed_update: fail early if creating a temporary directory or status file fails</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/5a27c58675ddf4113d64a84f715cb3fecb681a6d.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 5a27c58675ddf4113d64a84f715cb3fecb681a6d
parent 92dfc055ce7a24bc8120c7eece3caca0ae84b653
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed,  5 Apr 2023 21:41:19 +0200

sfeed_update: fail early if creating a temporary directory or status file fails

If creating a temporary directory for the feed files failed then $sfeedtmpdir
would be empty and it would try to:

	mkdir -p &quot;/feed&quot;
	touch &quot;/feed/ok&quot;

After failing it would also still try to process all the feeds.

Now just fail early.

mktemp or touch themselve will print the actual error to stderr.

</content>
</entry>
<entry>
<id>92dfc055ce7a24bc8120c7eece3caca0ae84b653</id>
<published>2023-03-26T16:40:31Z</published>
<updated>2023-03-26T16:55:58Z</updated>
<title>sfeed.c: parsetime improve parsing RFC2822 obsolete short year</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/92dfc055ce7a24bc8120c7eece3caca0ae84b653.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 92dfc055ce7a24bc8120c7eece3caca0ae84b653
parent c7739b9c04b4b49888e1161164b1cdac0d9930ca
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 26 Mar 2023 18:40:31 +0200

sfeed.c: parsetime improve parsing RFC2822 obsolete short year

https://datatracker.ietf.org/doc/html/rfc2822#section-4.3
&quot;Where a two or three digit year occurs in a date, the year is to be
interpreted as follows: If a two digit year is encountered whose
value is between 00 and 49, the year is interpreted by adding 2000,
ending up with a value between 2000 and 2049.  If a two digit year is
encountered with a value between 50 and 99, or any three digit year
is encountered, the year is interpreted by adding 1900.&quot;

Improvement on commit 7086670e4335714e1df982bf1058082b7400b653

For example (output from TZ=UTC sfeed_plain):

input: Sun, 26 Jul 049 19:26:34
was: 2049-07-26 19:26
now: 1949-07-26 19:26 (because this is a 3-digit year)

input: Sun, 26 Jul 1 19:26:34
was: 2001-07-26 19:26
now: 0001-07-26 19:26 (because this is a 1-digit year and doesn&#39;t match the short year rule)

input: Sun, 26 Jul 001 19:26:34
was: 2001-07-26 19:26
now: 1901-07-26 19:26 (because this is a 3 digit year)

These cases are all added to the tests in the sfeed_tests repo (times.xml file).

</content>
</entry>
<entry>
<id>c7739b9c04b4b49888e1161164b1cdac0d9930ca</id>
<published>2023-03-26T16:03:24Z</published>
<updated>2023-03-26T16:03:24Z</updated>
<title>sfeed.c: datetounix: simplify calculation and make it slightly easier to read</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/c7739b9c04b4b49888e1161164b1cdac0d9930ca.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit c7739b9c04b4b49888e1161164b1cdac0d9930ca
parent 04db56ad05b207374c973b8651a6bfa14bbbac4b
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 26 Mar 2023 18:03:24 +0200

sfeed.c: datetounix: simplify calculation and make it slightly easier to read

This also fixes a calculation (possibly a compiler bug) with Open Watcom 1.9.

</content>
</entry>
<entry>
<id>04db56ad05b207374c973b8651a6bfa14bbbac4b</id>
<published>2023-03-26T13:30:18Z</published>
<updated>2023-03-26T13:30:18Z</updated>
<title>README: add Open Watcom as a tested compiler</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/04db56ad05b207374c973b8651a6bfa14bbbac4b.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 04db56ad05b207374c973b8651a6bfa14bbbac4b
parent d2f63645bf165726384f50f4e8b0f3ee048e7ae3
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 26 Mar 2023 15:30:18 +0200

README: add Open Watcom as a tested compiler

Tested sfeed, sfeed_plain and sfeed_html for now.

There are minor changes required for sfeed and some additional compatibility
function changes required to make the format tools compile.

Rough list of changes required:
- xml.c: rename getchar_unlocked -&gt; getchar
- sfeed.c: EOVERFLOW -&gt; ENOMEM
- wcwidth: just filter ASCII range &lt; 32 = -1 and &gt; 127 = 0, rest = 1.
- getline
- localtime_r -&gt; just do a localtime + memcpy.

Make sure to increase stack size when compiling:

	owcc -k32768 -Os -s -o sfeed.exe sfeed.c util.c xml.c

Resulting .exe binary is 27KB, 17KB compressed with UPX.

The HTML output looks fine in Netscape Navigator and Internet Explorer 3 :)

</content>
</entry>
<entry>
<id>d2f63645bf165726384f50f4e8b0f3ee048e7ae3</id>
<published>2023-03-26T13:26:08Z</published>
<updated>2023-03-26T13:26:08Z</updated>
<title>sfeed.c: datetounix: fix incorrect int type to long</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/d2f63645bf165726384f50f4e8b0f3ee048e7ae3.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit d2f63645bf165726384f50f4e8b0f3ee048e7ae3
parent daf56f2cb0a6994c4be8f1b57f1eb4b4cb8c91ba
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 26 Mar 2023 15:26:08 +0200

sfeed.c: datetounix: fix incorrect int type to long

Found while testing sfeed on MS-DOS with Open Watcom (for fun :)).

There an int is 16-bit and sfeed incorrectly wrapped the value, which produced
incorrect parsed UNIX timestamps as output.

</content>
</entry>
<entry>
<id>daf56f2cb0a6994c4be8f1b57f1eb4b4cb8c91ba</id>
<published>2023-03-14T17:30:47Z</published>
<updated>2023-03-14T17:30:47Z</updated>
<title>Makefile: remove duplicate CPPFLAGS for sfeed_curses</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/daf56f2cb0a6994c4be8f1b57f1eb4b4cb8c91ba.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit daf56f2cb0a6994c4be8f1b57f1eb4b4cb8c91ba
parent 426fa33dd276fbe662b3794c41db1ab6d59b3c2a
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 14 Mar 2023 18:30:47 +0100

Makefile: remove duplicate CPPFLAGS for sfeed_curses

</content>
</entry>
<entry>
<id>426fa33dd276fbe662b3794c41db1ab6d59b3c2a</id>
<published>2023-03-07T20:04:36Z</published>
<updated>2023-03-07T20:09:38Z</updated>
<title>sfeed_curses: fix (very hard to trigger) memleak when getline() returns EOF for lazyloaded items</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/426fa33dd276fbe662b3794c41db1ab6d59b3c2a.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 426fa33dd276fbe662b3794c41db1ab6d59b3c2a
parent 19a4c010f95ad17e02ca59e9949524e801ad22f2
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue,  7 Mar 2023 21:04:36 +0100

sfeed_curses: fix (very hard to trigger) memleak when getline() returns EOF for lazyloaded items

Fix the code pattern of freeing the line when getline returns -1 but no error
flag is set on the stream (such as EOF).

Note that on errors (even ENOMEM: out-of-memory) an error flag is set on the
stream and the process would exit and clean up all it&#39;s resources.

This would be very hard to trigger. The following conditions would have to be
true:

* Lazyloading of items is enabled: SFEED_LAZYLOAD=1 is set.
* Items of the feed are read and their offsets stored.
* The line is read/lazy-loaded again by it&#39;s offset but returns EOF (not a read
  error) this time.
  This could maybe happen if the feed file was changed and made smaller while
  sfeed_curses is running and the remembered offset is now beyond the file.

  Note that the sfeed_curses(1) man page describes a workaround for a similar
  condition by sending SIGHUP if the sfeed(5) data was changed to reload the feed
  file.

References:
* https://man.openbsd.org/getline
  &quot;It is the responsibility of the caller to free(3) *lineptr when it is no
  longer needed. Even when it fails, getdelim() may update *lineptr.&quot;
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html

</content>
</entry>
<entry>
<id>19a4c010f95ad17e02ca59e9949524e801ad22f2</id>
<published>2023-02-25T13:40:11Z</published>
<updated>2023-02-25T13:40:11Z</updated>
<title>bump version to 1.7</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/19a4c010f95ad17e02ca59e9949524e801ad22f2.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 19a4c010f95ad17e02ca59e9949524e801ad22f2
parent 9d6dd2a5072c0702cb56cced861ca4539e98c553
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat, 25 Feb 2023 14:40:11 +0100

bump version to 1.7

</content>
</entry>
<entry>
<id>9d6dd2a5072c0702cb56cced861ca4539e98c553</id>
<published>2023-02-17T14:39:29Z</published>
<updated>2023-02-17T14:39:29Z</updated>
<title>sfeed_update, sfeed_opml_export, README: reference the example sfeedrc man page</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/9d6dd2a5072c0702cb56cced861ca4539e98c553.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 9d6dd2a5072c0702cb56cced861ca4539e98c553
parent eb635966d33e2718094aab9d6ee06b5655b8efeb
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 17 Feb 2023 15:39:29 +0100

sfeed_update, sfeed_opml_export, README: reference the example sfeedrc man page

... and some small rewording.

</content>
</entry>
<entry>
<id>eb635966d33e2718094aab9d6ee06b5655b8efeb</id>
<published>2023-02-16T19:33:51Z</published>
<updated>2023-02-16T19:35:36Z</updated>
<title>sfeed_curses: add SUN keys support</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/eb635966d33e2718094aab9d6ee06b5655b8efeb.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit eb635966d33e2718094aab9d6ee06b5655b8efeb
parent f95834446f8d722cc09b4ed8eab642d1cc01c505
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 16 Feb 2023 20:33:51 +0100

sfeed_curses: add SUN keys support

This fixes the keys on the sun-color console on OpenIndiana/Illumos/OpenSolaris
(and other systems using these keys).

See also the table:
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Section &quot;Non-Function Keys&quot;.

</content>
</entry>
<entry>
<id>f95834446f8d722cc09b4ed8eab642d1cc01c505</id>
<published>2023-02-16T19:32:23Z</published>
<updated>2023-02-16T19:35:07Z</updated>
<title>sfeed_curses: add SCO keys for next, prior (CSI I and CSI G)</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/f95834446f8d722cc09b4ed8eab642d1cc01c505.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit f95834446f8d722cc09b4ed8eab642d1cc01c505
parent 3ee28da0f47d6a3b59d1c8493374df4e01bc0af4
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 16 Feb 2023 20:32:23 +0100

sfeed_curses: add SCO keys for next, prior (CSI I and CSI G)

This fixes the page up and page down keys in the cons25 console on
DragonFlyBSD.

See also the table:
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Section &quot;Non-Function Keys&quot;.

</content>
</entry>
<entry>
<id>3ee28da0f47d6a3b59d1c8493374df4e01bc0af4</id>
<published>2023-02-16T19:29:22Z</published>
<updated>2023-02-16T19:29:22Z</updated>
<title>README: small rewording in how to add new parsed tags and fields</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/3ee28da0f47d6a3b59d1c8493374df4e01bc0af4.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 3ee28da0f47d6a3b59d1c8493374df4e01bc0af4
parent aeb1398411ce245fa7982365640f7852d63b3d52
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 16 Feb 2023 20:29:22 +0100

README: small rewording in how to add new parsed tags and fields

</content>
</entry>
<entry>
<id>aeb1398411ce245fa7982365640f7852d63b3d52</id>
<published>2023-02-04T11:34:56Z</published>
<updated>2023-02-04T11:22:11Z</updated>
<title>README: describe how to add new parsed tags and fields to sfeed.c</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/aeb1398411ce245fa7982365640f7852d63b3d52.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit aeb1398411ce245fa7982365640f7852d63b3d52
parent dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  4 Feb 2023 12:34:56 +0100

README: describe how to add new parsed tags and fields to sfeed.c

</content>
</entry>
<entry>
<id>dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca</id>
<published>2023-02-03T15:15:35Z</published>
<updated>2023-02-04T11:15:08Z</updated>
<title>fix comment for ASCII symbols for dumb terminals</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit dbb7f7b66d2d10a4bf14a404b66fa20cbf8a02ca
parent f83f6cd4dc21664721602ceb449631957e941215
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  3 Feb 2023 16:15:35 +0100

fix comment for ASCII symbols for dumb terminals

This was a copy-pasta.

</content>
</entry>
<entry>
<id>f83f6cd4dc21664721602ceb449631957e941215</id>
<published>2023-02-03T15:12:30Z</published>
<updated>2023-02-04T11:11:32Z</updated>
<title>sfeed_gopher: remove PATH_MAX and restricting the path length</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/f83f6cd4dc21664721602ceb449631957e941215.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit f83f6cd4dc21664721602ceb449631957e941215
parent e77a675e83ccbea65a50fe85dc9cb49fff5e0443
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri,  3 Feb 2023 16:12:30 +0100

sfeed_gopher: remove PATH_MAX and restricting the path length

This make it also cleanly compile without any other changes on GNU/Hurd.

Reference: https://www.gnu.org/software/hurd/hurd/porting/guidelines.html
Section: &quot;PATH_MAX, MAX_PATH, MAXPATHLEN, _POSIX_PATH_MAX&quot;

The fopen() functions will return NULL when the path is too long and set
errno = ENAMETOOLONG.

&quot;The length of a pathname exceeds {PATH_MAX}, or pathname resolution of a
symbolic link produced an intermediate result with a length that exceeds
{PATH_MAX}.&quot;

Reference: https://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html

</content>
</entry>
<entry>
<id>e77a675e83ccbea65a50fe85dc9cb49fff5e0443</id>
<published>2023-01-18T18:53:58Z</published>
<updated>2023-01-18T18:53:58Z</updated>
<title>sfeedrc.5: improve documentation a bit</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/e77a675e83ccbea65a50fe85dc9cb49fff5e0443.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit e77a675e83ccbea65a50fe85dc9cb49fff5e0443
parent 6a762a1d62df6d6fe8e2fbd1e28cf9ee8d9a8103
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 18 Jan 2023 19:53:58 +0100

sfeedrc.5: improve documentation a bit

- Fix a typo &quot;Url&quot; -&gt; &quot;URL&quot;.
- Be a bit more clear some overridable functions read from stdin.
- Some small rewording.

</content>
</entry>
<entry>
<id>6a762a1d62df6d6fe8e2fbd1e28cf9ee8d9a8103</id>
<published>2023-01-07T11:08:14Z</published>
<updated>2023-01-07T11:08:14Z</updated>
<title>sfeed.1: reference sfeed_opml_import</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/6a762a1d62df6d6fe8e2fbd1e28cf9ee8d9a8103.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 6a762a1d62df6d6fe8e2fbd1e28cf9ee8d9a8103
parent 9460075b7cb2b909f164f5fb99380f7a9ec7aa58
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  7 Jan 2023 12:08:14 +0100

sfeed.1: reference sfeed_opml_import

It is used in the examples.

(Do not directly reference iconv to keep some kind of clear reference list)

</content>
</entry>
<entry>
<id>9460075b7cb2b909f164f5fb99380f7a9ec7aa58</id>
<published>2023-01-07T10:05:58Z</published>
<updated>2023-01-07T10:05:58Z</updated>
<title>sfeed.5: remove a caveat in the file format man page</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/9460075b7cb2b909f164f5fb99380f7a9ec7aa58.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 9460075b7cb2b909f164f5fb99380f7a9ec7aa58
parent 7d4043084c2e933603243f259f4f9f080e1d8911
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat,  7 Jan 2023 11:05:58 +0100

sfeed.5: remove a caveat in the file format man page

It is a caveat while parsing the data in the sfeed(1) program.
Keep it described in the sfeed(1) man page.

</content>
</entry>
<entry>
<id>7d4043084c2e933603243f259f4f9f080e1d8911</id>
<published>2022-12-28T10:18:44Z</published>
<updated>2022-12-28T10:18:44Z</updated>
<title>README: small rewording &quot;can be supported&quot; -&gt; &quot;are supported&quot;</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/7d4043084c2e933603243f259f4f9f080e1d8911.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 7d4043084c2e933603243f259f4f9f080e1d8911
parent b7965c20cddaf8a33a289ba12fe9865d49d72d95
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 28 Dec 2022 11:18:44 +0100

README: small rewording &quot;can be supported&quot; -&gt; &quot;are supported&quot;

</content>
</entry>
<entry>
<id>b7965c20cddaf8a33a289ba12fe9865d49d72d95</id>
<published>2022-12-20T21:23:21Z</published>
<updated>2022-12-20T21:23:51Z</updated>
<title>LICENSE: bump year</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/b7965c20cddaf8a33a289ba12fe9865d49d72d95.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit b7965c20cddaf8a33a289ba12fe9865d49d72d95
parent d77bd7c1e0b38b3320134fed0f496182bf1354e7
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 20 Dec 2022 22:23:21 +0100

LICENSE: bump year

</content>
</entry>
<entry>
<id>d77bd7c1e0b38b3320134fed0f496182bf1354e7</id>
<published>2022-12-20T21:22:39Z</published>
<updated>2022-12-20T21:22:39Z</updated>
<title>sfeed_curses.1: small rewording and tweaks in the example</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/d77bd7c1e0b38b3320134fed0f496182bf1354e7.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit d77bd7c1e0b38b3320134fed0f496182bf1354e7
parent f29d7e8eb2bd877eaa11b5e15c5f14f9ee7116b0
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue, 20 Dec 2022 22:22:39 +0100

sfeed_curses.1: small rewording and tweaks in the example

</content>
</entry>
<entry>
<id>f29d7e8eb2bd877eaa11b5e15c5f14f9ee7116b0</id>
<published>2022-12-15T18:15:48Z</published>
<updated>2022-12-15T18:15:48Z</updated>
<title>sfeed_update.1: &quot;return status&quot; -&gt; &quot;exit status&quot;</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/f29d7e8eb2bd877eaa11b5e15c5f14f9ee7116b0.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit f29d7e8eb2bd877eaa11b5e15c5f14f9ee7116b0
parent 60e402d0f2c086dbbbd21436bb1b3aa5ad9b77d6
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Thu, 15 Dec 2022 19:15:48 +0100

sfeed_update.1: &quot;return status&quot; -&gt; &quot;exit status&quot;

</content>
</entry>
<entry>
<id>60e402d0f2c086dbbbd21436bb1b3aa5ad9b77d6</id>
<published>2022-08-26T19:55:35Z</published>
<updated>2022-08-26T19:55:35Z</updated>
<title>improve comment: uppercase cdata -&gt; CDATA</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/60e402d0f2c086dbbbd21436bb1b3aa5ad9b77d6.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 60e402d0f2c086dbbbd21436bb1b3aa5ad9b77d6
parent 411f5e83c38da298175b69c572485a421f44fb28
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Fri, 26 Aug 2022 21:55:35 +0200

improve comment: uppercase cdata -&gt; CDATA

</content>
</entry>
<entry>
<id>411f5e83c38da298175b69c572485a421f44fb28</id>
<published>2022-08-17T14:47:52Z</published>
<updated>2022-08-17T14:47:52Z</updated>
<title>bump version to 1.6</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/411f5e83c38da298175b69c572485a421f44fb28.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 411f5e83c38da298175b69c572485a421f44fb28
parent d69467dff3c00ec0a17a5856ccbbe124a8eb7d99
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 17 Aug 2022 16:47:52 +0200

bump version to 1.6

</content>
</entry>
<entry>
<id>d69467dff3c00ec0a17a5856ccbbe124a8eb7d99</id>
<published>2022-08-16T23:34:10Z</published>
<updated>2022-08-16T23:34:10Z</updated>
<title>sfeed_curses: fix a memleak caused by a mistake in refactoring the code</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/d69467dff3c00ec0a17a5856ccbbe124a8eb7d99.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit d69467dff3c00ec0a17a5856ccbbe124a8eb7d99
parent b6731ae35b125963a37dcaacaf76169992ad1f67
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 17 Aug 2022 01:34:10 +0200

sfeed_curses: fix a memleak caused by a mistake in refactoring the code

Introduced by a code cleanup/refactor in commit
59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22

</content>
</entry>
<entry>
<id>b6731ae35b125963a37dcaacaf76169992ad1f67</id>
<published>2022-07-20T18:37:14Z</published>
<updated>2022-07-20T18:37:14Z</updated>
<title>slightly improve some comments</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/b6731ae35b125963a37dcaacaf76169992ad1f67.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit b6731ae35b125963a37dcaacaf76169992ad1f67
parent 59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Wed, 20 Jul 2022 20:37:14 +0200

slightly improve some comments

</content>
</entry>
<entry>
<id>59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22</id>
<published>2022-07-17T10:46:34Z</published>
<updated>2022-07-17T10:46:34Z</updated>
<title>sfeed_curses: cleanup code for handling read items from an URL file</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 59ba2ed29bcbe67de6e9ee1e7fb18744f7490c22
parent 7b2bec5985b79a73613c0858a845b97ad614794d
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun, 17 Jul 2022 12:46:34 +0200

sfeed_curses: cleanup code for handling read items from an URL file

This makes it easier to reuse the code from reading plain-text list of items
from a file and uses a struct urls to keep its state in a cleaner way.

+ some small code-style improvements and reshuffling.

Inspired by a question from NRK by mail about implementing a &quot;read later&quot;
feature.

(A quick local experiment shows it can be done in ~70 lines of added code).

</content>
</entry>
<entry>
<id>7b2bec5985b79a73613c0858a845b97ad614794d</id>
<published>2022-07-05T15:11:37Z</published>
<updated>2022-07-05T21:06:02Z</updated>
<title>remove __dead code</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/7b2bec5985b79a73613c0858a845b97ad614794d.gph" />
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<content>commit 7b2bec5985b79a73613c0858a845b97ad614794d
parent 6890a40099bf940bb7bf21c0f5b073766ff67f5f
Author: NRK &lt;nrk@disroot.org&gt;
Date:   Tue,  5 Jul 2022 21:11:37 +0600

remove __dead code

this check is already done in util.h and is no longer needed after the
`sfeed_curses -&gt; sfeed` merge.

</content>
</entry>
<entry>
<id>6890a40099bf940bb7bf21c0f5b073766ff67f5f</id>
<published>2022-07-05T13:57:35Z</published>
<updated>2022-07-05T13:57:35Z</updated>
<title>sfeed_curses: write out plumbercmd argument in a verbose manner</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/6890a40099bf940bb7bf21c0f5b073766ff67f5f.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 6890a40099bf940bb7bf21c0f5b073766ff67f5f
parent 70007b61aaa485c7084badc5d8336ee480b2d138
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Tue,  5 Jul 2022 15:57:35 +0200

sfeed_curses: write out plumbercmd argument in a verbose manner

Write it in a more verbose, clear and C90-style manner.

This workarounds a bug in scc too (reported upstream and will be fixed of
course). All tools in sfeed can now be compiled with minicurses-mode with the
scc compiler and musl libc without any modifications needed.

scc: http://www.simple-cc.org/

</content>
</entry>
<entry>
<id>70007b61aaa485c7084badc5d8336ee480b2d138</id>
<published>2022-06-20T23:09:14Z</published>
<updated>2022-06-21T09:04:43Z</updated>
<title>fix some typis</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/70007b61aaa485c7084badc5d8336ee480b2d138.gph" />
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<content>commit 70007b61aaa485c7084badc5d8336ee480b2d138
parent 4b97fc93a6f8ae8cd4e7412884ba13137bc09c45
Author: NRK &lt;nrk@disroot.org&gt;
Date:   Tue, 21 Jun 2022 05:09:14 +0600

fix some typis

found via codespell

	$ codespell --ignore-regex Nd

</content>
</entry>
<entry>
<id>4b97fc93a6f8ae8cd4e7412884ba13137bc09c45</id>
<published>2022-06-20T11:25:12Z</published>
<updated>2022-06-20T11:25:35Z</updated>
<title>sfeed: reword a poorly-worded comment</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/4b97fc93a6f8ae8cd4e7412884ba13137bc09c45.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 4b97fc93a6f8ae8cd4e7412884ba13137bc09c45
parent bd5a0f5d36730ebb11a32c0c089b468b9d60ebe1
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 20 Jun 2022 13:25:12 +0200

sfeed: reword a poorly-worded comment

</content>
</entry>
<entry>
<id>bd5a0f5d36730ebb11a32c0c089b468b9d60ebe1</id>
<published>2022-06-20T11:18:43Z</published>
<updated>2022-06-20T11:18:43Z</updated>
<title>sfeed: fix a wrong comment</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/bd5a0f5d36730ebb11a32c0c089b468b9d60ebe1.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit bd5a0f5d36730ebb11a32c0c089b468b9d60ebe1
parent 0f2ddea7cfe31a651533cf170bc31627415db593
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon, 20 Jun 2022 13:18:43 +0200

sfeed: fix a wrong comment

</content>
</entry>
<entry>
<id>0f2ddea7cfe31a651533cf170bc31627415db593</id>
<published>2022-06-18T20:52:44Z</published>
<updated>2022-06-18T20:52:44Z</updated>
<title>README: add setsid example</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/0f2ddea7cfe31a651533cf170bc31627415db593.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 0f2ddea7cfe31a651533cf170bc31627415db593
parent 8737035999474283a28faa5780f43138f96ab82c
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sat, 18 Jun 2022 22:52:44 +0200

README: add setsid example

</content>
</entry>
<entry>
<id>8737035999474283a28faa5780f43138f96ab82c</id>
<published>2022-06-06T09:00:26Z</published>
<updated>2022-06-06T09:03:29Z</updated>
<title>themes: simplify empty macros, remove do { } while(0)</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/8737035999474283a28faa5780f43138f96ab82c.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit 8737035999474283a28faa5780f43138f96ab82c
parent cc3dd4534bcbbc750d563992b93b1131410a2a76
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Mon,  6 Jun 2022 11:00:26 +0200

themes: simplify empty macros, remove do { } while(0)

Multiple function calls should still be nested in a do { } while(0), but this
is hopefully obvious looking at the other lines.

While testing, gcc with -O0 created the same binary.
clang added a single jmp instruction.

</content>
</entry>
<entry>
<id>cc3dd4534bcbbc750d563992b93b1131410a2a76</id>
<published>2022-06-05T21:38:22Z</published>
<updated>2022-06-05T21:38:22Z</updated>
<title>sfeed_curses: processexit(): remove unneeded code for non-interactive processes</title>
<link rel="alternate" href="gopher://codemadness.org/1/git/sfeed/commit/cc3dd4534bcbbc750d563992b93b1131410a2a76.gph" />
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<content>commit cc3dd4534bcbbc750d563992b93b1131410a2a76
parent f8ef20b2593304fd08a4599edfe3a66aa3a845e3
Author: Hiltjo Posthuma &lt;hiltjo@codemadness.org&gt;
Date:   Sun,  5 Jun 2022 23:38:22 +0200

sfeed_curses: processexit(): remove unneeded code for non-interactive processes

This was used in commit a58fa45f25da4f18d7b8c1a815884f67b965406f and previous,
but the code for non-interactive process cleanup was later removed, so clearing
the struct is not not needed anymore, because it is unused.

</content>
</entry>
</feed>