Changeset 46 for trunk

Show
Ignore:
Timestamp:
01/31/07 08:06:03 (5 years ago)
Author:
tim
Message:

initial opml support

Location:
trunk/cogplanet
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/cogplanet/controllers.py

    r43 r46  
    6060             
    6161 
     62    @expose() 
     63    def config(self, format="opml.xml"): 
     64        planet = Planet.selectone() 
     65        return {"planet": planet, 
     66                "tg_template": "cheetah:cogplanet.templates.opml"} 
     67 
    6268    @expose(template="genshi:cogplanet.templates.index") 
    6369    # @identity.require(identity.in_group("admin"))