Skip to content
Browse files

Merge branch 'master' of github.com:davorg/xml-feed

Conflicts:
	Changes
  • Loading branch information...
2 parents 8a1d6c9 + b6028b1 commit 0fe62009bcf4bef894c16b21c2fb9afd896f980b @davorg committed Jan 4, 2013
Showing with 23 additions and 0 deletions.
  1. +7 −0 Build.PL
  2. +15 −0 Changes
  3. +1 −0 lib/XML/Feed.pm
View
7 Build.PL
@@ -24,6 +24,13 @@ my $build = Module::Build
'Test::More' => 0,
},
create_makefile_pl => 'traditional',
+ meta_merge =>
+ {
+ resources =>
+ {
+ repository => "https://github.com/davorg/xml-feed",
+ },
+ },
);
$build->create_build_script;
View
15 Changes
@@ -1,5 +1,20 @@
2012-07-10 Dave Cross <dave@dave.org.uk>
+ * Change the User Agent to identify as XML::Feed (SZABGAB)
+ as two sites refused to server the default user agent:
+ http://code.foo.no/feed gave 'Bad Behavior'
+ http://thorsen.pm/atom gave 'Forbidden'
+
+2012-04-10 Jakob Voss <voss@gbv.de>
+
+ * Add support for RFC 5005 Feed Paging and Archiving in Atom feeds
+
+2012-04-05 Dave Cross <dave@dave.org.uk>
+
+ * lib/XML/Feed.pm: Remove svn tag.
+
+ * lib/XML/Feed.pm: Changed contact details from non-working 6A email address.
+
* lib/XML/Feed.pm, lib/XML/Feed/Format/Atom.pm, lib/XML/Feed/Format/RSS.pm:
Added an image() method to Feed objects. Does something useful for RSS feeds;
not for Atom feeds currently.
View
1 lib/XML/Feed.pm
@@ -38,6 +38,7 @@ sub parse {
my $xml = '';
if (UNIVERSAL::isa($stream, 'URI')) {
my $ua = LWP::UserAgent->new;
+ $ua->agent(__PACKAGE__ . "/$VERSION");
$ua->env_proxy; # force allowing of proxies
my $res = URI::Fetch->fetch($stream, UserAgent => $ua)
or return $class->error(URI::Fetch->errstr);

0 comments on commit 0fe6200

Please sign in to comment.
Something went wrong with that request. Please try again.