[Bast-commits] r8053 - ironman/IronMan-Web/lib/IronMan
castaway at dev.catalyst.perl.org
castaway at dev.catalyst.perl.org
Wed Dec 9 10:25:10 GMT 2009
Author: castaway
Date: 2009-12-09 10:25:09 +0000 (Wed, 09 Dec 2009)
New Revision: 8053
Modified:
ironman/IronMan-Web/lib/IronMan/Feeds.pm
Log:
Added text/xml as a valid feed content type (feedburner)
Modified: ironman/IronMan-Web/lib/IronMan/Feeds.pm
===================================================================
--- ironman/IronMan-Web/lib/IronMan/Feeds.pm 2009-12-09 01:40:51 UTC (rev 8052)
+++ ironman/IronMan-Web/lib/IronMan/Feeds.pm 2009-12-09 10:25:09 UTC (rev 8053)
@@ -41,7 +41,7 @@
} else {
$url = $feeds[0];
}
- } elsif($response->header('Content-Type') !~ m{\Qapplication/atom+xml\E|\Qapplication/rss+xml\E|\Qapplication/rdf+xml\E|\Qapplication/xml\E}) {
+ } elsif($response->header('Content-Type') !~ m{\Qapplication/atom+xml\E|\Qapplication/rss+xml\E|\Qapplication/rdf+xml\E|\Qapplication/xml\E|\Qtext/xml\E}) {
push @$errors, "URL $url is not an Atom or RSS feed";
}
More information about the Bast-commits
mailing list