From 242559a6cdfe5ad7d021a50995bda916ee41dfc8 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 11 Nov 2014 20:14:31 +0100 Subject: sfeed_web: just assume rss/atom for application/xml too --- sfeed_web.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sfeed_web.c') diff --git a/sfeed_web.c b/sfeed_web.c index 608615a..bb9612a 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -60,6 +60,7 @@ xmlattr(XMLParser *p, const char *tag, size_t taglen, const char *name, } else if(islink) { if(!strncasecmp(name, "type", namelen)) { if(!strncasecmp(value, "application/atom", strlen("application/atom")) || + !strncasecmp(value, "application/xml", strlen("application/xml")) || !strncasecmp(value, "application/rss", strlen("application/rss"))) { isfeedlink = 1; strlcpy(feedtype, value, sizeof(feedtype)); -- cgit v1.2.3