comparison js/background.js @ 16:a59d322e5826

Support feeds served as text/xml
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Wed, 12 Dec 2018 10:56:37 +0100
parents 376a0e415bba
children 688d75e554e0
comparison
equal deleted inserted replaced
15:150f07c7595f 16:a59d322e5826
130 switch (contentType.mediaType) { 130 switch (contentType.mediaType) {
131 case 'application/atom+xml': 131 case 'application/atom+xml':
132 case 'application/rss+xml': 132 case 'application/rss+xml':
133 case 'application/rdf+xml': 133 case 'application/rdf+xml':
134 case 'application/xml': 134 case 'application/xml':
135 case 'text/xml':
135 break; 136 break;
136 default: 137 default:
137 // non-XML media type 138 // non-XML media type
138 return {}; 139 return {};
139 } 140 }