summaryrefslogtreecommitdiff
path: root/sfeed_gph.1
blob: ff4edf3a4a9f97fb9bf8d0f74d64a32dac882c2b (plain)
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
.Dd July 20, 2019
.Dt SFEED_GPH 1
.Os
.Sh NAME
.Nm sfeed_gph
.Nd format feed data to geomyidae .gph files
.Sh SYNOPSIS
.Nm
.Op Ar file...
.Sh DESCRIPTION
.Nm
formats feed data (TSV) from
.Xr sfeed 1
from stdin or
.Ar file
to stdout in the geomyidae .gph file format.
.Pp
If one or more
.Ar file
are specified, the basename of the
.Ar file
is used as the feed name in the output.
.Nm
creates a index.gph index file and for each feed creates a file in the
format feedname.gph.
.Pp
If no
.Ar file
parameters are specified and the data is read from stdin then the gph data
is written to stdout and no files are written.
.Pp
Items with a timestamp from the last day compared to the system time at the
time of formatting are counted and marked as new.
.Bl -tag -width Ds
.It Ev SFEED_GPH_PATH
This environment variable can be used as the prefix for each path in the
index.gph file.
The default is "/".
.El
.Sh SEE ALSO
.Xr sfeed 1 ,
.Xr sfeed 5 ,
.Xr geomyidae 8
.Sh AUTHORS
.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org