diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2012-08-03 12:03:17 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2012-08-03 12:03:17 +0200 |
commit | db5ffcaa8c133d249aafa4a64f3d827dd513d995 (patch) | |
tree | dd3ece08c9f65ebcab6cd7406d87b6b932e19900 /sfeed_update.1 |
New initial repo
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeed_update.1')
-rw-r--r-- | sfeed_update.1 | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/sfeed_update.1 b/sfeed_update.1 new file mode 100644 index 0000000..e9cffc1 --- /dev/null +++ b/sfeed_update.1 @@ -0,0 +1,82 @@ +.TH SFEED 1 sfeed\-VERSION +.SH NAME +sfeed_update \- update feeds and merge with old feeds +.SH SYNOPSIS +.B sfeed_update +.RB [configfile] +.SH OPTIONS +.TP +.B [configfile] +config file, if not specified uses the location $HOME/.sfeed/sfeedrc by default (see FILES READ section for more information). +.SH DESCRIPTION +.TP +Update feeds and merge with old feeds in the file $HOME/.sfeed/feeds by default. +.SH TAB-SEPARATED FORMAT +The items are saved in a TSV-like format except newlines, tabs and +backslash are escaped with \\ (\\n, \\t and \\\\). Carriage returns (\\r) are +removed. +.TP +.B item timestamp (unix timestamp in GMT+0) +string +.TP +.B item timestamp (formatted) +string (YYYY-mm-dd HH:MM:SS tzname[+-]HHMM +.TP +.B item title +string +.TP +.B item link +string +.TP +.B item description +string +.TP +.B item contenttype +string (html or plain) +.TP +.B item id +string +.TP +.B item author +string +.TP +.B feed type +string (rss or atom) +.TP +.B feed name +string (extra field added by sfeed_update) +.TP +.B feed url +string (extra field added by sfeed_update) +.SH FILES READ +.TP +.B sfeedrc +Config file, see the sfeedrc.example file for an example. +This file is evaluated as a shellscript in sfeed_update. +You can for example override the fetchfeed() function to +use wget, fetch or an other download program or you can +override the merge() function to change the merge logic. +The function feeds() is called to fetch the feeds. The +function feed() can safely be executed as a parallel job +in your sfeedrc config file to speedup updating. +.SH FILES WRITTEN +.TP +.B feeds +Tab-separated format containing all feeds. +The sfeed_update script merges new items with this file. +.TP +.B feeds.new +Temporary file used by sfeed_update to merge items. +.SH EXAMPLES +.TP +To update feeds and format the feeds file: +.nf +sfeed_update "configfile" +sfeed_plain < $HOME/.sfeed/feeds > $HOME/.sfeed/feeds.txt +sfeed_html < $HOME/.sfeed/feeds > $HOME/.sfeed/feeds.html +.SH SEE ALSO +.BR sh(1) +.BR sfeed_plain(1) +.BR sfeed_html(1) +.SH BUGS +Please report them! |