Re: feeds and get_object()

2012-07-11 Thread geaden
Hello, Eric! I got an error: get_object() got an unexpected keyword argument 'url', when running the cod which is similiar to your code. Do you know what the problem is? By the way, I do in on Django 1.4. Sorry, for not reply but asking a question insted. On Tuesday, 24 June 2008 06:24:21

Re: feeds and repetition

2009-01-28 Thread Donn
On Wednesday, 28 January 2009 14:49:27 Torsten Bronger wrote: > If the ID of an entry is already known to the feedreader, it isn't > displayed. Okay, so it's built-into the reader. Thanks. \d -- Where I web: http://otherwise.relics.co.za/ Comics, tutorials, software and sundry

Re: feeds and repetition

2009-01-28 Thread Torsten Bronger
Hallöchen! Donn writes: > [...] > > Do I have to worry about this sameness -- or does the syndication > system remove duplicates? Is this a Django thing or an RSS thing? > i.e. where does it look at the data and say 'drop this, it's the > same as last time'? If the ID of an entry is already

Re: Feeds

2007-11-21 Thread Miguel Galves
Eventually, I gave up using the django feed package, and ended up writing my own. If someone is interested, please contact me. On Nov 13, 2007 9:52 PM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 14-Nov-07, at 4:39 AM, Miguel Galves wrote: > > > I dont understand your question. What do

Re: Feeds

2007-11-13 Thread Kenneth Gonsalves
On 14-Nov-07, at 4:39 AM, Miguel Galves wrote: > I dont understand your question. What do you mean by > "if you want a feed, you have to give one"... if you want a feed, you have to give an absolute url -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: Feeds

2007-11-13 Thread Miguel Galves
Kenneth, I dont understand your question. What do you mean by "if you want a feed, you have to give one"... I'm trying to create one :-) On Nov 12, 2007 10:08 AM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 12-Nov-07, at 5:32 PM, Miguel Galves wrote: > > > I'm giving a feed to

Re: Feeds

2007-11-12 Thread Kenneth Gonsalves
On 12-Nov-07, at 5:32 PM, Miguel Galves wrote: > I'm giving a feed to index.html. > > Do I really need to have an absolute URL in my model? It seems to > me that > this need makes the app less portable. if you want a feed you have to give one - could you paste the your view for index.html?

Re: Feeds

2007-11-12 Thread Miguel Galves
I'm giving a feed to index.html. Do I really need to have an absolute URL in my model? It seems to me that this need makes the app less portable. On Nov 12, 2007 9:59 AM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 12-Nov-07, at 5:18 PM, Miguel Galves wrote: > > > def

Re: Feeds

2007-11-12 Thread Kenneth Gonsalves
On 12-Nov-07, at 5:18 PM, Miguel Galves wrote: > def get_absolute_url(self): > return "http://www.test.com/; this is not a url pointing to a view - unless you are giving a feed to your index.html -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: Feeds

2007-11-12 Thread Miguel Galves
Hi Justin, thanks for your help. I've added the get_absolute_url(self) method, def get_absolute_url(self): return "http://www.test.com/; But it`s still doesnt working. I`m getting the same problem. Here is the traceback: Traceback (most recent call last): File

Re: Feeds

2007-11-11 Thread justquick
Try giving your model a get_absolute_url(self) method which returns the absolute (http://...) url of the object for use in feed links. If that does not work, reply with the complete traceback (usually found by clicking 'Switch to copy-and-paste view' on a standard Django error report) Justin On

Re: Feeds don't work with Unicode URLs

2007-07-06 Thread web-junkie
On Jul 6, 4:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-07-06 at 07:25 -0700, web-junkie wrote: > > Thanks for your reply. I'll give more information: > > > # c:\django_src\django\core\handlers\base.py in get_response > > > 77. response = callback(request,

Re: Feeds don't work with Unicode URLs

2007-07-06 Thread Malcolm Tredinnick
On Fri, 2007-07-06 at 07:25 -0700, web-junkie wrote: > Thanks for your reply. I'll give more information: > > # c:\django_src\django\core\handlers\base.py in get_response > > 77. response = callback(request, *callback_args, > **callback_kwargs) ... > > #

Re: Feeds don't work with Unicode URLs

2007-07-06 Thread web-junkie
Thanks for your reply. I'll give more information: # c:\django_src\django\core\handlers\base.py in get_response 77. response = callback(request, *callback_args, **callback_kwargs) ... # c:\django_src\django\contrib\syndication\views.py in feed 19. feedgen = f(slug,

Re: Feeds don't work with Unicode URLs

2007-07-06 Thread Malcolm Tredinnick
On Fri, 2007-07-06 at 06:51 -0700, web-junkie wrote: > Hi, I have a problem of getting my feeds to work with unicode URLs. > > File "/usr/local/lib/python2.4/site-packages/django/contrib/ > syndication/feeds.py", line 12, in add_domain >url = u'http://%s%s' % (domain, url) > >