sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit a1516cb7869a0dd99ebaacf846ad4161f2b9b9a2
parent e43b7a48b08a6bbcb4e730e80395b3257681b33e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 12 Oct 2020 18:41:31 +0200

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.

Diffstat:
Msfeed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,