summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-10-12 18:41:31 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-10-12 20:12:01 +0200
commita1516cb7869a0dd99ebaacf846ad4161f2b9b9a2 (patch)
tree734e887f9267042be5f574de385005e7822fdb7f
parente43b7a48b08a6bbcb4e730e80395b3257681b33e (diff)
RSS: give Dublin Core <dc:date> higher priority over <pubDate>
This way dc:date could be the updated time of the item. For Atom there is <published> and <updated> with the same logic.
-rw-r--r--sfeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed.c b/sfeed.c
index 54f2244..400e326 100644
--- a/sfeed.c
+++ b/sfeed.c
@@ -46,7 +46,7 @@ typedef struct string {
enum TagId {
TagUnknown = 0,
/* RSS */
- RSSTagDcdate, RSSTagPubdate,
+ RSSTagPubdate, RSSTagDcdate,
RSSTagTitle,
RSSTagMediaDescription, RSSTagDescription, RSSTagContentEncoded,
RSSTagGuid,