Hi

when trying to get the rss feeds to work I made something like :

'title' : T('my_title')
'link' : ''
 'description':T('my_description')
 'created_on' : '',
 'entries'


But I gor that error "   no rss, so I opened my generic.rss file and
printed the exception error message
I got the error :

lazyT' object has no attribute 'publish'

so I went there to lazyT and made a function

    def publish(self, f):
         return str(self)


As you see I just ignored the f or xml.sax.saxutils.XMLGenerator and
just returned the str(self) and every thing seems to work fine

I don't feel this's the right way to do things , so any suggestions ?



-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to