Re: rss feeds from django handled differently by firefox

2006-06-13 Thread Eugene Lazutkin
Bryan Murdock wrote: > > As for Eugene's example, firefox does display it, and confirms that > the content-type header was application/xml. That isn't what django > sets for Rss201rev2Feeds. Maybe, Eugene, you are overriding that > somewhere in your code? Yes, I override it. I remember having

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread James Bennett
On 6/13/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > And it sets them just as James indicates. That probably explains why > firefox isn't displaying them like I wish. Firefox is doing the right thing. Displaying raw XML to an end user is not a good thing, and is more likely to make the user th

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread James Bennett
On 6/13/06, coulix <[EMAIL PROTECTED]> wrote: > applocation/rss+xml is what appears in the http headers. > It does not get display as an xml doc however :/ This is because browsers are NOT supposed to display feeds as XML documents. Think of it like PDF -- instead of displaying the raw source te

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread Bryan Murdock
On 6/13/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > On 6/13/06, James Bennett <[EMAIL PROTECTED]> wrote: > > > > On 6/12/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > > > I suspect the difference is > > > due to different MIME type of these feeds --- I use 'application/xml', > > > which I be

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread coulix
applocation/rss+xml is what appears in the http headers. It does not get display as an xml doc however :/ http://127.0.0.1:8000/feeds/nouvelles/ GET /feeds/nouvelles/ HTTP/1.1 Host: 127.0.0.1:8000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 A

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread James Bennett
On 6/13/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > So are those the MIME types that django is returning for rss feeds (in > other words, how do I find out what MIME type django is using for > these)? In that case and from what you are saying, firefox is doing > the correct thing in asking me

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread Bryan Murdock
On 6/13/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 6/12/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > > I suspect the difference is > > due to different MIME type of these feeds --- I use 'application/xml', > > which I believe is the correct one. > > application/rss+xml for RSS > appli

Re: rss feeds from django handled differently by firefox

2006-06-13 Thread James Bennett
On 6/12/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > I suspect the difference is > due to different MIME type of these feeds --- I use 'application/xml', > which I believe is the correct one. application/rss+xml for RSS application/atom+xml for Atom Browsers should prompt to download on thes

Re: rss feeds from django handled differently by firefox

2006-06-12 Thread Eugene Lazutkin
Bryan Murdock wrote: > OK, it's the same with Internet Exploder. Here's two links to click > on and see if it's the same for you: > > Displays nicely: > > http://www.blueskyonmars.com/?feed=rss&cat=19 > > Doesn't: > > http://www.djangoproject.com/rss/weblog/ > > Bryan My feed displays nicel

Re: rss feeds from django handled differently by firefox

2006-06-12 Thread Eric Walstad
On Monday 12 June 2006 15:17, Bryan Murdock wrote: > OK, it's the same with Internet Exploder. Here's two links to click > on and see if it's the same for you: > > Displays nicely: > > http://www.blueskyonmars.com/?feed=rss&cat=19 > > Doesn't: > > http://www.djangoproject.com/rss/weblog/ > > Brya

Re: rss feeds from django handled differently by firefox

2006-06-12 Thread Bryan Murdock
OK, it's the same with Internet Exploder. Here's two links to click on and see if it's the same for you: Displays nicely: http://www.blueskyonmars.com/?feed=rss&cat=19 Doesn't: http://www.djangoproject.com/rss/weblog/ Bryan On 6/12/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > Djangonauts,