Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 7 and Version 8 of FeedObject


Ignore:
Timestamp:
04/29/06 17:23:53 (13 years ago)
Author:
jorge.vargas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FeedObject

    v7 v8  
    1919#!python 
    2020        def get_feed_data(self): 
     21            entrys = [] 
     22 
    2123            return dict( 
    2224                title="my fine blog", 
     
    2527                id = "http://blog.foo.org", 
    2628                subtitle="a blog about turbogears" 
     29                entrys=entrys 
    2730            ) 
    2831}}} 
    2932 
    3033Now we need to get some elements for the posts in the feed so we extend our get_feed_data method for that. 
     34 
     35Plese note that each foo dict is populated with the default for well form feeds but each entry object can be whatever you define, you can even populate it from diferent SQLObjects. So there is no need for you to know the definition of BlogEntry. 
    3136{{{ 
    3237#!python