sfeed_update
—
update feeds and merge with old feeds
sfeed_update
writes TAB-separated feed files and merges
new items with the items in any existing files. The items are stored as one
file per feed in the directory $HOME/.sfeed/feeds by
default. The directory can be changed in the
sfeedrc(5)
file.
- sfeedrc
- Config file. The default is
$HOME/.sfeed/sfeedrc.
- sfeedrc
- This file is evaluated as a shellscript in
sfeed_update
. See also the
sfeedrc(5)
man page for a detailed description of the format and an example
file.
- feedname
- TAB-separated
sfeed(5)
format containing all items per feed. The
sfeed_update
script merges new items with this
file. The feed name cannot contain the '/' character because it is a path
separator, they will be replaced with '_'.
- SFEED_UPDATE_INCLUDE
- When set to "1"
sfeed_update
can be
sourced as a script, but it won't run the main
()
entry-point.
The sfeed_update
utility exits 0 on success,
and >0 if an error occurs.
To update your feeds and format them in various formats:
# Update
sfeed_update "configfile"
# Plain-text list
sfeed_plain ~/.sfeed/feeds/* > ~/.sfeed/feeds.txt
# HTML
sfeed_html ~/.sfeed/feeds/* > ~/.sfeed/feeds.html
# HTML with frames
mkdir -p somedir && cd somedir && sfeed_frames ~/.sfeed/feeds/*