[Catalyst-commits] r12805 - Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML

lorn at dev.catalyst.perl.org lorn at dev.catalyst.perl.org
Wed Feb 3 17:11:34 GMT 2010


Author: lorn
Date: 2010-02-03 17:11:32 +0000 (Wed, 03 Feb 2010)
New Revision: 12805

Modified:
   Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm
Log:
Change feeds examples in docs, because they change and if they does not exists the C::M::XML::Feed throw a error 


Modified: Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm
===================================================================
--- Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm	2010-02-02 11:39:14 UTC (rev 12804)
+++ Catalyst-Model-XML-Feed/trunk/lib/Catalyst/Model/XML/Feed.pm	2010-02-03 17:11:32 UTC (rev 12805)
@@ -33,7 +33,7 @@
      
 Then from elsewhere in your application:
  
-     $c->model('Feeds')->register('delicious', 'http://del.icio.us/rss');
+     $c->model('Feeds')->register('delicious', 'http://feeds.delicious.com/v2/rss/?count=15');
      $c->model('Feeds')->register('http://blog.jrock.us/');
   
      my @feeds     = $c->model('Feeds')->get_all_feeds;
@@ -44,10 +44,9 @@
      ---
      Model::Feeds:
        feeds:
-         - uri: http://blog.jrock.us/
-         - uri: http://search.cpan.org/
+         - uri: http://search.cpan.org/uploads.rdf
          - title: delicious
-           uri: http://del.icio.us/rss/
+           uri: http://feeds.delicious.com/v2/rss/?count=15
 
 See CONFIGURATION below for details.
 
@@ -88,9 +87,9 @@
 
      Model::Feeds:
        feeds:
-         - uri: http://blog.jrock.us/
+         - uri: http://search.cpan.org/uploads.rdf
          - title: delicious
-           location: http://del.icio.us/rss/
+           location: http://feeds.delicious.com/v2/rss/?count=15
        ttl: 1337
 
 =head1 METHODS




More information about the Catalyst-commits mailing list