hi i amnage to make the feed working, but when a user clic on it i
would it to be an xml file with foo.xml formal, actually now its only
foo so rss agregators still works but when you clic on it, t ask how to
open it ect.
For debugging, I did this:
Index: django/utils/feedgenerator.py
===================================================================
--- django/utils/feedgenerator.py (revision 2116)
+++ django/utils/feedgenerator.py (working copy)
@@ -117,7 +117,8 @@
self.url, self.length, self.mime_type = url, length, mime_type
class RssFeed(SyndicationFeed):
- mime_type = 'application/rss+xml'
+ #mime_type = 'application/rss+xml'
+ mime_type = 'text/xml'
def write(self, outfile, encoding):
handler = SimplerXMLGenerator(outfile, encoding)
handler.startDocument()
Come to think of it, it is still there, and every feed aggregator, atleast the ones I or my clients have tried, consumes this without any problem.
--
Amit Upadhyay
Blog: http://www.rootshell.be/~upadhyay
+91-9867-359-701
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---