r56945 - in /branches/upstream/libxml-rss-perl/current: Changes META.yml lib/XML/RSS.pm

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Mon Apr 26 11:10:13 UTC 2010


Author: ansgar-guest
Date: Mon Apr 26 11:08:16 2010
New Revision: 56945

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56945
Log:
[svn-upgrade] Integrating new upstream version, libxml-rss-perl (1.48)

Modified:
    branches/upstream/libxml-rss-perl/current/Changes
    branches/upstream/libxml-rss-perl/current/META.yml
    branches/upstream/libxml-rss-perl/current/lib/XML/RSS.pm

Modified: branches/upstream/libxml-rss-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-rss-perl/current/Changes?rev=56945&op=diff
==============================================================================
--- branches/upstream/libxml-rss-perl/current/Changes (original)
+++ branches/upstream/libxml-rss-perl/current/Changes Mon Apr 26 11:08:16 2010
@@ -1,4 +1,10 @@
 Revision history for Perl module XML::RSS
+
+1.48 - April 23, 2010
+    - Fix the $rss->parse($string)->other_method() display (had to add
+    spaces between the << and >>). See:
+        - https://rt.cpan.org/Public/Bug/Display.html?id=56848
+        - Thanks to Slaven_Rezic for the report.
 
 1.47 - December 8, 2009
     - Made sure XML::RSS::save() can do its thing when in taint mode:

Modified: branches/upstream/libxml-rss-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-rss-perl/current/META.yml?rev=56945&op=diff
==============================================================================
--- branches/upstream/libxml-rss-perl/current/META.yml (original)
+++ branches/upstream/libxml-rss-perl/current/META.yml Mon Apr 26 11:08:16 2010
@@ -1,30 +1,34 @@
 ---
-name: XML-RSS
-version: 1.47
+abstract: 'creates and updates RSS files'
 author:
   - 'Shlomi Fish <shlomif at cpan.org>'
-abstract: creates and updates RSS files
-license: perl
-resources:
-  homepage: http://perl-rss.sourceforge.net/
-  license: http://dev.perl.org/licenses/
-  repository: https://svn.perl.org/modules/XML-RSS/trunk
 build_requires:
   Test::Manifest: 0.9
   Test::More: 0
-requires:
-  DateTime: 0
-  DateTime::Format::Mail: 0
-  DateTime::Format::W3CDTF: 0
-  HTML::Entities: 0
-  XML::Parser: 2.23
-  perl: 5.008
 configure_requires:
-  Module::Build: 0.35
+  Module::Build: 0.36
+generated_by: 'Module::Build version 0.3607'
+keywords:
+  - feed
+  - feeds
+  - generate
+  - generating
+  - parse
+  - parsing
+  - rss
+  - RSS
+  - web-feed
+  - web-feeds
+  - xml
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: XML-RSS
 provides:
   XML::RSS:
     file: lib/XML/RSS.pm
-    version: 1.47
+    version: 1.48
   XML::RSS::Private::Output::Base:
     file: lib/XML/RSS/Private/Output/Base.pm
   XML::RSS::Private::Output::Roles::ImageDims:
@@ -39,19 +43,15 @@
     file: lib/XML/RSS/Private/Output/V1_0.pm
   XML::RSS::Private::Output::V2_0:
     file: lib/XML/RSS/Private/Output/V2_0.pm
-generated_by: Module::Build version 0.35
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
-keywords:
-  - feed
-  - feeds
-  - generate
-  - generating
-  - parse
-  - parsing
-  - rss
-  - RSS
-  - web-feed
-  - web-feeds
-  - xml
+requires:
+  DateTime: 0
+  DateTime::Format::Mail: 0
+  DateTime::Format::W3CDTF: 0
+  HTML::Entities: 0
+  XML::Parser: 2.23
+  perl: 5.008
+resources:
+  homepage: http://perl-rss.sourceforge.net/
+  license: http://dev.perl.org/licenses/
+  repository: https://svn.perl.org/modules/XML-RSS/trunk
+version: 1.48

Modified: branches/upstream/libxml-rss-perl/current/lib/XML/RSS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libxml-rss-perl/current/lib/XML/RSS.pm?rev=56945&op=diff
==============================================================================
--- branches/upstream/libxml-rss-perl/current/lib/XML/RSS.pm (original)
+++ branches/upstream/libxml-rss-perl/current/lib/XML/RSS.pm Mon Apr 26 11:08:16 2010
@@ -16,7 +16,7 @@
 
 require 5.008;
 
-$VERSION = '1.47';
+$VERSION = '1.48';
 
 $AUTO_ADD = 0;
 
@@ -1731,8 +1731,17 @@
 is append, which adds the item to the end of the list. To insert an item, set the mode
 to B<insert>.
 
-The items are stored in the array @{$obj->{'items'}} where
+The items are stored in the array C<< @{$obj->{'items'}} >> where
 B<$obj> is a reference to an XML::RSS object.
+
+One can specify a category by using the B<'category'> key. B<'category'> can
+point to an array reference of categories:
+
+    $rss->add_item(
+        title => "Foo&Bar",
+        link => "http://www.my.tld/",
+        category => ["OneCat", "TooCat", "3Kitties"],
+    );
 
 =item as_string;
 
@@ -1768,7 +1777,7 @@
 
 Parses an RDF Site Summary which is passed into B<parse()> as the first 
 parameter. Returns the instance of the object so one can say 
-C<<$rss->parse($string)->other_method()>>.
+C<< $rss->parse($string)->other_method() >>.
 
 See the add_module() method for instructions on automatically adding
 modules as a string is parsed.




More information about the Pkg-perl-cvs-commits mailing list