~tardypad/dotfiles

ref: f37f64d54c959fb7ec9796c00b8a3f7d4bbbd08c dotfiles/files/docs/shell/read-news.scd -rw-r--r-- 796 bytes
f37f64d5 — Damien Tardy-Panis Only show task name if -n option is set 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
read-news(1perso)

# NAME

read-news - Read news from feeds

# SYNOPSIS

read-news [-t _period_] [_feed_]

# DESCRIPTION

Open interface to display all news from each feed.
Diverse actions are then available on the selected news:
- open full news in text browser (_{key/return/return}_)
- open full news in external browser (_ctrl-{key/open/low}_)

# OPTIONS

*-t* _period_
	Integer defining the period of news to display in hours++
default: 36 (1.5 day)

# OPERANDS

_feed_
	Name of the feed to read

# ENVIRONMENT VARIABLES

None

# FILES

_$HOME/.sfeed/feeds_
	Directory containing the feeds

# DEPENDENCIES

- awk with strftime function #FIXME: This script is not POSIX compliant
- date with '%s' format #FIXME: This script is not POSIX compliant
- fzf
- sfeed_update
- stat
- w3m
- xdg-open