Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
On Fri, Apr 11, 2008 at 7:40 AM, Ian Lawrence <[EMAIL PROTECTED]> wrote: > Hi > > > Is there any way I can change this behaviour as I need to overwrite the URL > > completely to something like > you could do something like in settings.py: > ROOT_URL = whogotmassive.com > > and in your feed.py:

Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
Hi > Is there any way I can change this behaviour as I need to overwrite the URL > completely to something like you could do something like in settings.py: ROOT_URL = whogotmassive.com and in your feed.py: link = "%s/balls" % settings.ROOT_URL the challenging thing for me now is trying to use th

Overwriting RSS item links

2008-04-11 Thread Matt Davies
Hello everyone I have a need to overwrite the item_link of my rss items in my feed. I'm using the item_link method described here. http://www.djangoproject.com/documentation/syndication_feeds/ If I use this code def item_link(self, obj): return 'balls' and my site url in djangoadmin