On Wed, 2007-05-09 at 02:06 +0000, Bryan Veloso wrote:
> Thanks for the help Malcom,
> 
> > The feed framework looks at the attribute called "pubdate" to determine
> > the publication date for items. Your attribute is called "pub_date", so
> > ti isn't being examined. Simplest solution here is to add a pubdate()
> > method or property to your model that returns the value of
> > self.pub_date.
> 
> Now, after I make this change, is there anything else I have to do to
> make it work? I did make the change you suggested above, but it seems
> like that a date isn't being recognized at all.

Sorry, I gave you really bad information, because I wasn't
concentrating. :-(

Let's try that again...

The secret is to look in the syndication documentation and search for
the word "pubdate". There, it talks about the item_pubdate() method that
can be used to generate the date for a single item.

That makes more sense than the rubbish I posted earlier, since I don't
remember having to jump through any of the hoops I recommended to you,
now that I think about it.

Sorry again for the bad advice. Sometimes you really do get what you pay
for, it seems. :-(

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to