sfeed

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

commit 17e42efaca7d14a3ad44deab4c4507bae16fe7c3
parent c0adf80f0233db547ed2726fbcde42ce3ea8656c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 17 Aug 2012 21:15:01 +0200

forgot to add content:encoded check in data handler

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

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

diff --git a/sfeed.c b/sfeed.c @@ -375,7 +375,7 @@ xml_handler_data(void *data, const XML_Char *s, int len) { string_append(&feeditem.title, s, len); else if(istag(feeditemtag, "link")) string_append(&feeditem.link, s, len); - else if(istag(feeditemtag, "description")) { + else if(istag(feeditemtag, "description") || istag(feeditemtag, "content:encoded")) { if(incdata) XML_DefaultCurrent(parser); /* pass to default handler to process inline HTML etc */ else