Hi,

when using the ttl attribute for an RSS 2.0 feed, Django will throw an
AttributeError ('int' object has no attribute 'replace'). This does
not happen with Atom feeds. Is this a known issue? It can be easily
reproduced with the following code:

feed = Rss201rev2Feed(feed_object.title, feed_url,
feed_object.content.encode('utf-8'), author_name='Jan Eden', ttl=600)

Using either Atom1Feed or removing the ttl attribute resolves the
problem (which occurs when writing the feed's content).

Kind regards,
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to