diff --git a/rssfinder/finder.js b/rssfinder/finder.js index aed4c89..d4bd2f0 100644 --- a/rssfinder/finder.js +++ b/rssfinder/finder.js @@ -9,7 +9,13 @@ if (document.getElementsByTagName('title').lenght > 0) { } for (link of links) { - if (link.getAttribute('rel') == 'alternate' && link.getAttribute('type') == 'application/rss+xml') { + if ( (link.getAttribute('rel') == 'alternate') + && ( (link.getAttribute('type') == 'application/rss+xml') + || (link.getAttribute('type') == 'application/atom+xml') + || (link.getAttribute('type') == 'application/stream+json') + || (link.getAttribute('type') == 'application/rdf+xml') + ) + ) { var linkTitle; var linkUrl;