summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-10-12 20:42:17 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-10-12 20:42:17 +0200
commit65df3f2e9a3961541ac33f1a147d373f814aedf9 (patch)
treeb6e59874e7b06ffeab720e3260b64d856ea6a17b
parentdb9a53d95dddb5b668be498d9274ba700ac3b529 (diff)
add a comment about the intended date priority
-rw-r--r--sfeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed.c b/sfeed.c
index 3cb6712..7eab8ab 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -46,7 +46,7 @@ typedef struct string {
enum TagId {
TagUnknown = 0,
/* RSS */
- RSSTagDcdate, RSSTagPubdate,
+ RSSTagDcdate, RSSTagPubdate, /* creation date has higher priority */
RSSTagTitle,
RSSTagMediaDescription, RSSTagDescription, RSSTagContentEncoded,
RSSTagGuid,
@@ -58,7 +58,7 @@ enum TagId {
RSSTagAuthor, RSSTagDccreator,
RSSTagCategory,
/* Atom */
- AtomTagUpdated, AtomTagPublished,
+ AtomTagUpdated, AtomTagPublished, /* creation date has higher priority */
AtomTagTitle,
AtomTagMediaDescription, AtomTagSummary, AtomTagContent,
AtomTagId,