commit a06b706edd825e766b732b8b7b83bc9dcc0d4215
parent 2a2309dd766611ef403e4e0b6de5f5b99a6d6e2c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 29 Jul 2015 18:24:26 +0200
improve documentation: some fixes
Diffstat:
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/README b/README
@@ -47,8 +47,6 @@ sfeed_frames - Format feeds as a HTML file with frames.
sfeed_opml_import - Generate a sfeedrc config file based on an opml file.
sfeed_opml_export - Generate an opml file based on a sfeedrc config file.
sfeed_plain - Format feeds file (TSV) from sfeed_update to plain text.
-sfeed_stats - Format feeds file to show a summary listing of the total
- amount, new amount and timestamp of the latest item.
sfeed_update - Shellscript; update feeds and merge with old feeds in the
file $HOME/.sfeed/feeds by default.
sfeed_web - Find urls to RSS/Atom feed from a webpage.
@@ -100,7 +98,7 @@ item id - string
item author - string
feed type - string, "rss" or "atom"
-CAVEAT: if a timezone is not supported (non-RFC822) the UNIX timestamp is
+CAVEAT: if a timezone is not supported (non-RFC-822) the UNIX timestamp is
interpreted as UTC+0.
diff --git a/sfeed.1 b/sfeed.1
@@ -48,5 +48,5 @@ string, "rss" or "atom"
.Sh AUTHORS
.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org
.Sh CAVEATS
-if a timezone is not supported (non-RFC822) the UNIX timestamp is interpreted
+if a timezone is not supported (non-RFC-822) the UNIX timestamp is interpreted
as UTC+0.
diff --git a/sfeed.c b/sfeed.c
@@ -206,7 +206,7 @@ string_append(String *s, const char *data, size_t len)
/* get timezone from string, return as formatted string and time offset,
* for the offset it assumes UTC.
- * NOTE: only parses timezones in RFC822, other timezones are ambiguous
+ * NOTE: only parses timezones in RFC-822, other timezones are ambiguous
* anyway. If needed you can add ones yourself, like "cest", "cet" etc. */
static int
gettimetz(const char *s, char *buf, size_t bufsiz, int *tzoffset)