Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SFEED_GOPHER(1) 	     General Commands Manual		 SFEED_GOPHER(1)

NAME
     sfeed_gopher -- format feed data to Gopher files

SYNOPSIS
     sfeed_gopher [file ...]

DESCRIPTION
     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.  If an index file is used then feeds
     with new items are marked as new with the prefix "N" at the  start  of  the
     line.

ENVIRONMENT
     SFEED_GOPHER_PATH
	     This  environment	variable can be used as the prefix for each path
	     in the index file.  The default is "/".

     SFEED_GOPHER_HOST
	     This environment variable can be used as  the  Gopher  Host  field.
	     The default is "127.0.0.1".

     SFEED_GOPHER_PORT
	     This  environment	variable  can  be used as the Gopher Port field.
	     The default is "70".

     SFEED_NEW_AGE
	     Overwrite the maximum age in seconds to mark feeds as new.  By  de-
	     fault this is 86400, which equals one day.

EXIT STATUS
     The sfeed_gopher utility exits 0 on success, and >0 if an error occurs.

EXAMPLES
     SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PATH="/feeds/" \
	     sfeed_gopher ~/.sfeed/feeds/*

SEE ALSO
     sfeed(1), sfeed(5)

STANDARDS
     The Internet Gopher Protocol, RFC 1436, March 1993.

AUTHORS
     Hiltjo Posthuma <hiltjo@codemadness.org>

CAVEATS
     The  common-used  'h'  and 'i' types are used in this program.  These types
     are an extension to Gopher.

FreeBSD ports 15.quarterly     September 21, 2025		 SFEED_GOPHER(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sfeed_gopher&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help