summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-07-29 18:24:26 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-07-29 18:24:26 +0200
commita06b706edd825e766b732b8b7b83bc9dcc0d4215 (patch)
treea33be1f10b990bd23e3ef259331df947ae48c6c6
parent2a2309dd766611ef403e4e0b6de5f5b99a6d6e2c (diff)
improve documentation: some fixes
-rw-r--r--README4
-rw-r--r--sfeed.12
-rw-r--r--sfeed.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/README b/README
index e25c559..89bae1b 100644
--- 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
index 1b61b6f..476c337 100644
--- 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
index f9c901f..744e7a5 100644
--- 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)