summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2013-03-23 11:21:55 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2013-03-23 11:21:55 +0000
commitab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb (patch)
treecb689e72b9be6b19d4879536fe8c16aaead8bfee
parentfeed updates (diff)
downloadfeeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.tar.gz
feeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.tar.bz2
feeder-ab6cd0c6f010a35de48385cb1a5e9c57faf6e2eb.zip
use my own metacpan feed
-rw-r--r--feeder.pl6
-rw-r--r--lib/Feed.pm2
2 files changed, 6 insertions, 2 deletions
diff --git a/feeder.pl b/feeder.pl
index 6a11f99..30d1589 100644
--- a/feeder.pl
+++ b/feeder.pl
@@ -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 => '*/*',
),