CROSSBOW(1) | General Commands Manual (urm) | CROSSBOW(1) |
crossbow
— The
minimalist feed aggregator
crossbow |
[-cDdqVv ] [-i ]
identifier |
crossbow |
-h |
crossbow
is simple RSS/Atom feed
aggregator, designed to be invoked periodically via
cron(8).
The feeds to be monitored are specified in the crossbow.conf(5) configuration file. Each feed must declare a URL that is checked for new entries upon invocation, and is associated with a handler that determines how entries are processed.
The available handlers are:
print
This handler is intended as a way to turn entries into email, since the output of a cron(8) job is normally mailed to the owner of the crontab(5).
exec
This handler allows to execute a specialized data scraper for each processed entry. The subprocess can be parametrised with various entry properties, such as the title and the link to the content.
pipe
exec
, but the content is made available to
the subprocess by means of a pipe(2),
so it can be handled regardless of the size.
This handler allows to process feeds that deliver a copious amount of content.
After each entry has been processed according to the corresponding feed handler, the set of their identifiers is persisted on the filesystem, so that they are marked as seen for the next invocation. The entries that could not be handled successfully (i.e. the subprocess failed) will be processed again on the next round.
-c
-D
, but feeds configured with the
print
handler are silenced too.-D
exec
or pipe
handlers.-d
-h
-i
identifier-q
-V
-v
crossbow
exits with 0 on success, and with
1 in case of failed feed retrieval or failed entry processing.
See crossbow-cookbook(7).
crossbow-format(5), crossbow.conf(5), crossbow-cookbook(7), cron(8)
Giovanni Simoni <dacav@fastmail.com>
File descriptors have been reported to leak to subprocesses. The problem has been corrected in crossbow(1) but it might still happen due to dependencies (e.g. OpenSSL under Debian Stable).
September 14, 2021 |