| CROSSBOW(1) | General Commands Manual (urm) | CROSSBOW(1) |
crossbow-set —
Track a new feed, or update a feed configuration
crossbow set |
identifier [-hv]
[-C directory]
[-f format]
[-o mode]
[-t type]
URL |
crossbow set |
[-hv] [-C
directory] [-f
format] [-i
identifier] [-o
mode] [-t
type] [-u
-URL] |
The crossbow-set command is part of
crossbow(1), the
cron(8)-friendly RSS aggregator. It
allows to register a new feed to be monitored, or to modify the settings of
a previously registered feed.
Every invocation of crossbow-set must
refer to one feed, whose unique identifier is provided
either as first argument or preceded by the -i flag.
All the supplied flags, except for -i,
-v and -h, define how
crossbow-fetch(1) will
retrieve the feed and handle new items when invoked.
If the given identifier does not correspond
to an existing feed, a new one is created. It is mandatory in this case to
supply a URL, via -u flag or
as second argument. If the given identifier
corresponds to an existing feed, the feed settings are updated according to
the supplied arguments.
-C
directory-o
subproc or -o
pipe).-f
format-o pretty) or as
command template while launching sub-commands (-o
subproc or -o
pipe). See
crossbow-outfmt(5).
Security remark: Doing proper shell escaping against untrusted input is really hard, if not impossible. For this reason crossbow(1) never uses a shell to parse sub-commands. It is strongly discouraged to directly invoke a shell (or any other intepreter) from within a command template.
-h-i
identifier-o
modeprintpretty-o, as template. See
crossbow-outfmt(5).subproc-o, as template. See
crossbow-outfmt(5).pipesubproc, but with the
"description" field made available by means of a
pipe(7) to
stdin(3). This feature is
justified by the fact that the "description" often contains
an extended string of text, possibly a whole article in HTML
format.-t
typecrossbow-set will try to guess if the
given URL, refers to a local or a remote resource.
The nature of it can be explicitly claimed by means of this flag. Allowed
values are:
-u
URL-vSee crossbow-cookbook(7) for a collection of short recipes.
crossbow(1), crossbow-del(1), crossbow-fetch(1), crossbow-query(1), crossbow-outfmt(5), crossbow-cookbook(7)
Giovanni Simoni <dacav@fastmail.com>
| July 1, 2020 |