summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:21:34 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-07-06 18:21:34 +0200
commit303416241424af1810810073cce2f729114f68ea (patch)
treec4f9b45e3c52131f3d7b84bc1d6054f350843898
parentc34c9185c09a48abdacfdc1a2c68a60abf06b8b9 (diff)
sfeed.{1,5}: number fields in the man page
This makes it slightly easier to lookup fields and map the fields by field number in scripts (awk, cut) etc.
-rw-r--r--sfeed.122
-rw-r--r--sfeed.522
2 files changed, 22 insertions, 22 deletions
diff --git a/sfeed.1 b/sfeed.1
index adc2dc8..ed93775 100644
--- a/sfeed.1
+++ b/sfeed.1
@@ -1,4 +1,4 @@
-.Dd April 27, 2021
+.Dd July 6, 2021
.Dt SFEED 1
.Os
.Sh NAME
@@ -32,24 +32,24 @@ Other whitespace characters except spaces are removed.
Control characters are removed.
.Pp
The order and content of the fields are:
-.Bl -tag -width 12n
-.It timestamp
+.Bl -tag -width 15n
+.It 1. timestamp
UNIX timestamp in UTC+0, empty if missing or on parse failure.
-.It title
+.It 2. title
Title text, HTML code in titles is ignored and is treated as plain-text.
-.It link
+.It 3. link
Link
-.It content
+.It 4. content
Content, can have plain-text or HTML code depending on the content-type field.
-.It content-type
+.It 5. content-type
"html" or "plain" if it has content.
-.It id
+.It 6. id
RSS item GUID or Atom id.
-.It author
+.It 7. author
Item author.
-.It enclosure
+.It 8. enclosure
Item, first enclosure.
-.It category
+.It 9. category
Item, categories, multiple values are separated by |.
.El
.Sh EXIT STATUS
diff --git a/sfeed.5 b/sfeed.5
index 4061769..b8458b2 100644
--- a/sfeed.5
+++ b/sfeed.5
@@ -1,4 +1,4 @@
-.Dd April 27, 2021
+.Dd July 6, 2021
.Dt SFEED 5
.Os
.Sh NAME
@@ -23,24 +23,24 @@ Other whitespace characters except spaces are removed.
Control characters are removed.
.Pp
The order and content of the fields are:
-.Bl -tag -width 12n
-.It timestamp
+.Bl -tag -width 15n
+.It 1. timestamp
UNIX timestamp in UTC+0, empty if missing or on parse failure.
-.It title
+.It 2. title
Title text, HTML code in titles is ignored and is treated as plain-text.
-.It link
+.It 3. link
Link
-.It content
+.It 4. content
Content, can have plain-text or HTML code depending on the content-type field.
-.It content-type
+.It 5. content-type
"html" or "plain" if it has content.
-.It id
+.It 6. id
RSS item GUID or Atom id.
-.It author
+.It 7. author
Item author.
-.It enclosure
+.It 8. enclosure
Item, first enclosure.
-.It category
+.It 9. category
Item, categories, multiple values are separated by |.
.El
.Sh SEE ALSO