From xieyihui at gmail.com  Thu Oct 15 22:31:48 2009
From: xieyihui at gmail.com (Yihui Xie)
Date: Thu, 15 Oct 2009 15:31:48 -0500
Subject: [Rd] R RSS feed
In-Reply-To: <4AD774DE.4080506@stats.uwo.ca>
References: <D611103AA7EE3B4DAE7F7D49C72B291A01E48C9E@EXMAIL2.bocad.bank-banque-canada.ca>
	<4AD774DE.4080506@stats.uwo.ca>
Message-ID: <89b6b8c90910151331m435bb49dsa7c12de46a131efb@mail.gmail.com>

I do not think the problem was caused by DTD. I checked the content of
the RSS feed and found there were several places containing characters
that were not converted to HTML entities (e.g. "&" should be "&amp;"),
or opening tags without corresponding closing tags (e.g. <LI> without
</LI>, a typical problem I found, at least in
http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/index.rss).

These problems will make the browsers choke but I also find Google
Reader does not mind at all -- you can still read the RSS messages
normally there. I'm not sure how other RSS readers deal with those
non-standard HTML content.

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-6609 Web: http://yihui.name
Department of Statistics, Iowa State University
3211 Snedecor Hall, Ames, IA



On Thu, Oct 15, 2009 at 2:15 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 10/15/2009 2:46 PM, Paul Gilbert wrote:
>>
>> I was trying to subscribe to an RSS feed from
>> <http://developer.r-project.org/RSSfeeds.html> but IE chokes on DTDs and
>> Firefox also has trouble with this feed. (I'm not sure if it has trouble
>> with DTDs in general.)
>> I went to one of our web developers to see what I should use to read the
>> feed, and he pointed out that the mix of RSS 2.00 and rss-0.91 looks
>> like a mistake:
>>
>> <!-- name="generator" content="blosxom/2.0" -->
>> <!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 2.00//EN"
>> "http://www.rssboard.org/rss-0.91.dtd">
>>
>> and that DTDs are a little bit unusual in RSS feeds (but said it is not
>> impossible). I'm a complete novice in this, just pointing it out in case
>> it is a bug.
>
> I agree it's a bug, but I'm also a novice here (even though I set up the
> feed!)
>
> If your web developer (or anyone else on this list) can suggest what the
> header should look like, I'll fix it.
>
> Duncan Murdoch
>
>>
>> Paul
>>
>>



[Rd] R RSS feed
Yihui Xie