diff options
-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 => '*/*', ), |