[Jifty-commit] r6297 - in jifty/trunk: plugins/NewsFeed/lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 4 03:27:24 EST 2009


Author: c9s
Date: Wed Feb  4 03:27:23 2009
New Revision: 6297

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/plugins/NewsFeed/lib/Jifty/Plugin/NewsFeed.pm

Log:
 r7084 at Oulixeus:  c9s | 2009-02-04 16:26:56 +0800
  - pod update , synopsis for newsfeed plugin


Modified: jifty/trunk/plugins/NewsFeed/lib/Jifty/Plugin/NewsFeed.pm
==============================================================================
--- jifty/trunk/plugins/NewsFeed/lib/Jifty/Plugin/NewsFeed.pm	(original)
+++ jifty/trunk/plugins/NewsFeed/lib/Jifty/Plugin/NewsFeed.pm	Wed Feb  4 03:27:23 2009
@@ -14,11 +14,24 @@
   Plugins:
     - NewsFeed: {}
 
+# In your jifty application view
+
+    template 'news' => page { title is 'News' } content  {
+        show 'display_feed', 'http://path/to/feed', { max_items => 6 };
+    };
+  
+
 
 =head1 DESCRIPTION
 
-Provides templates to include site news feeds in your Jifty app. See L<Jifty::Plugin::NewsFeed::View>
+Provides templates to include site news feeds in your Jifty app. 
+More detail about templates , see L<Jifty::Plugin::NewsFeed::View>
+
+=head2 AUTHOR
+
+Yo-An Lin ( Cornelius )
 
 =cut
 
+
 1;


More information about the Jifty-commit mailing list