diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2013-03-23 11:21:55 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2013-03-23 11:21:55 +0000 |
commit | ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb (patch) | |
tree | cb689e72b9be6b19d4879536fe8c16aaead8bfee | |
parent | feed updates (diff) | |
download | feeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.tar.gz feeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.tar.bz2 feeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.zip |
use my own metacpan feed
-rw-r--r-- | feeder.pl | 6 | ||||
-rw-r--r-- | lib/Feed.pm | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -128,7 +128,11 @@ feeds( mail_folders => 'Perl', }, 'http://www.simon-cozens.org/blogs/simon/feed', - 'http://search.cpan.org/uploads.rdf', + #'https://metacpan.org/feed/recent', + { + uri => 'file:///var/www/thenautilus/htdocs/metacpan.atom', + title => 'Recent CPAN uploads - MetaCPAN', + }, 'http://pugs.blogs.com/pugs/index.rdf', 'http://blog.plover.com/index.atom', 'http://blogs.perl.org/atom.xml', diff --git a/lib/Feed.pm b/lib/Feed.pm index 0bfe224..177e484 100644 --- a/lib/Feed.pm +++ b/lib/Feed.pm @@ -100,7 +100,7 @@ sub build_user_agent { }, timeout => 30, cookie_jar => {}, - protocols_allowed => [ 'http', 'https'], + protocols_allowed => [ 'http', 'https', 'file' ], default_headers => HTTP::Request->new( Accept => '*/*', ), |