summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_web.c1
1 files changed, 1 insertions, 0 deletions
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));