SFEED_GOPHER(1) | General Commands Manual | SFEED_GOPHER(1) |
sfeed_gopher
—
format feed data to Gopher files
sfeed_gopher |
[file ...] |
sfeed_gopher
formats feed data (TSV) from
sfeed(1) from stdin or for each file
to stdout in the raw Gopher output format.
If one or more file arguments are specified
then the basename of the file is used as the feed name
in the output. sfeed_gopher
creates an index file
named "index" and for each feed it creates a file with the same
name as the basename of the feed file.
If no file arguments are specified and so the data is read from stdin then the data is written to stdout and no files are written.
Items with a timestamp from the last day compared to the system time at the time of formatting are counted and marked as new. This value might be overridden through environment variables. Items are marked as new with the prefix "N" at the start of the line.
SFEED_GOPHER_PATH
SFEED_GOPHER_HOST
SFEED_GOPHER_PORT
SFEED_NEW_AGE
The sfeed_gopher
utility exits 0 on
success, and >0 if an error occurs.
SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PATH="/feeds/" \ sfeed_gopher ~/.sfeed/feeds/*
The Internet Gopher Protocol, RFC 1436, March 1993.
Hiltjo Posthuma <hiltjo@codemadness.org>
The common-used 'h' and 'i' types are used in this program. These types are an extension to Gopher.
May 14, 2022 | Debian |