Re: Misspell elixir in SAContext

2007-07-20 Thread Olli Wang
Hi, currently I temporarily call add_engine_from_config by passing default_url parameter. It's okay, no errors about config. But I notice one more thing, when I set up sac instance by "PylonsSAContext(strategy=ElixirStrategy)" I got a traceback said "TypeError: unbound method create_metadata() m

Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread voltron
Hi! I apologize if this should not be asked here.Does anyone have any experience in generating and consuming RSS feeds with from a pylons controller? I have seen a few RSS parser modules in the net, but I thought I should ask the forum first for tips. Thanks --~--~-~--~~---

Re: Misspell elixir in SAContext

2007-07-20 Thread Mike Orr
On 7/20/07, Olli Wang <[EMAIL PROTECTED]> wrote: > > Hi, currently I temporarily call add_engine_from_config by passing > default_url parameter. It's okay, no errors about config. > > But I notice one more thing, when I set up sac instance by > "PylonsSAContext(strategy=ElixirStrategy)" I got a tr

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread Walter Cruz
The pylons webhelpers has a feedgenerator that is pretty cool and simple. To read rss, you can use the feedparser library (http://feedparser.org/) []'s - Walter On 7/20/07, voltron <[EMAIL PROTECTED]> wrote: > > Hi! > > I apologize if this should not be asked here.Does anyone have any > experi

stripping the cgi part in h.url_for and others helpers

2007-07-20 Thread Walter Cruz
Hi. I'm testing a Pylons app throug cgi. I have configured clean urls through .htaccess.. In the example above: h.url_for(controller='manage',action='edit',id=pagina.id) It generates a link as : http://localhost/artigos/roda.cgi/manage/edit/11 But I want to strip the roda.cgi! If I access

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread voltron
Thanks Walter for the hint. I´m not sure if I understand the docs though. Following the docs, I can create a feed, then use: feed_string = feed.writeString return response(feed_string) In my controllers? On Jul 20, 9:55 pm, "Walter Cruz" <[EMAIL PROTECTED]> wrote: > The pylons webhelpers has

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread Walter Cruz
Exactly what i'm doing! :) saida = feed.writeString('utf-8') return Response(saida) []'s - Walter On 7/20/07, voltron <[EMAIL PROTECTED]> wrote: > > Thanks Walter for the hint. I´m not sure if I understand the docs > though. Following the docs, I can create a feed, then use: >

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread voltron
Cool! Thanks! Have a nice weekend :-) On Jul 20, 11:22 pm, "Walter Cruz" <[EMAIL PROTECTED]> wrote: > Exactly what i'm doing! :) > > saida = feed.writeString('utf-8') > return Response(saida) > > []'s > - Walter > > On 7/20/07, voltron <[EMAIL PROTECTED]> wrote: > > > > > Thanks