sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

sfeed_markread.1 (1003B)


      1.Dd July 25, 2021
      2.Dt SFEED_MARKREAD 1
      3.Os
      4.Sh NAME
      5.Nm sfeed_markread
      6.Nd mark items as read/unread
      7.Sh SYNOPSIS
      8.Nm
      9.Ar read | Ar unread
     10.Op Ar urlfile
     11.Sh DESCRIPTION
     12.Nm
     13reads a plain-text list of URLs from stdin.
     14The file format for the list of URLs is one URL per line.
     15.Nm
     16will write to the file specified as
     17.Ar urlfile
     18or with the environment variable
     19.Ev SFEED_URL_FILE .
     20The
     21.Nm
     22script can be used by
     23.Xr sfeed_curses 1
     24to mark items as read and unread.
     25.Sh ENVIRONMENT VARIABLES
     26.Bl -tag -width Ds
     27.It Ev SFEED_URL_FILE
     28This variable can be set to use as the path to the file containing a
     29plain-text list of read URLs.
     30.El
     31.Sh EXIT STATUS
     32.Ex -std
     33.Sh EXAMPLES
     34.Bd -literal
     35export SFEED_URL_FILE="$HOME/.sfeed/urls"
     36echo 'https://codemadness.org/sfeed.html' | sfeed_markread read
     37.Ed
     38.Pp
     39or
     40.Bd -literal
     41echo 'https://codemadness.org/sfeed.html' | sfeed_markread read ~/.sfeed/urls
     42.Ed
     43.Sh SEE ALSO
     44.Xr awk 1 ,
     45.Xr sfeed_curses 1
     46.Sh AUTHORS
     47.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org