RSS Feed

Forum thread started by admin on Wed, 2004-07-14 18:11

Hey guys, I know it was suggested somewhere, but I went ahead and attempted to make an RSS feed that people could leetch off of. It's cached every 10 minutes. You can find it here:

http://haiku-os.org/rss.php

I want to know if I did it right first before I post a link to it on the front page, so feel free to comment on it, as this is a new subject for me.

Comments

RSS Feed

kurtis,

it doesn't work here. I use Net News Wire Lite 1.0.8 on Mac OS X. The feed's name is "untitled source", and now items were shown.

The reader says me: "Can’t display news for this subscription because:The RSS feed for http://haiku-os.org/rss.php could not be found".

What's the right URL for the feed?

Thomas

RSS Feed

schlesi wrote:
kurtis,

it doesn't work here. I use Net News Wire Lite 1.0.8 on Mac OS X. The feed's name is "untitled source", and now items were shown.

The reader says me: "Can’t display news for this subscription because:The RSS feed for http://haiku-os.org/rss.php could not be found".

What's the right URL for the feed?

Thomas

RSS has so many versions and variations... but the URL is good, it returns data... I did notice that the <channel> tag is misspelled as <chanel> though... that could be causing a problem.

RSS Feed

Nice Kurtis.

Yeh I think that misspelling is the problem.

Just tried the feed with FeedReader and it said it wasn't a valid feed.

RSS Feed

Kurtis:

I found a nifty page to validate RSS feeds:

http://feedvalidator.org/

RSS Feed

Sweet! That's going on my Mozilla Webdeveloper toolbar's custom validator.

RSS Feed

sweet, thanks Urias, that's just what I needed =)

RSS Feed

kurtis wrote:
sweet, thanks Urias, that's just what I needed =)

No problem, can't wait till it's working - then i won't have to manually check the website every hour or so for news !

Now, if there was an RSS feed for the forums... ;)

RSS Feed

kurtis wrote:
sweet, thanks Urias, that's just what I needed =)

Yes! it works!!!

My RSS reader stretches the logo vertically though - looks like you put the wrong height and width on the logo (reversed I suspect)

RSS Feed

umccullough wrote:
kurtis wrote:
sweet, thanks Urias, that's just what I needed =)

No problem, can't wait till it's working - then i won't have to manually check the website every hour or so for news !

Now, if there was an RSS feed for the forums... ;)

Oh...there IS a feed for the forums in there...crappy though, my RSS reader doesn't separate the channels properly - they're all mixed into a single feed.

RSS Feed

According to that validator, it doesn't look like rss feeds are supposed to have multiple channels... strange

RSS Feed

Hm, I may have to seperate the channels into seperate feeds... Let me know if this way works... if not, I'll make 3 sepearate feeds, no big deal.

RSS Feed

kurtis wrote:
Hm, I may have to seperate the channels into seperate feeds... Let me know if this way works... if not, I'll make 3 sepearate feeds, no big deal.

Yeah, multiple channels seem to be screwing up my aggregator pretty bad...

3 separate feeds would be nice anyway, that way people could only subscribe to the ones they want (i.e. some people probably don't want all the forum posts to show up in their feed, or they may want different feeds to be checked at different intervals, etc.)

PS: Don't forget to fix the logo height/width

RSS Feed

How about seeing can you get the feed onto the Technology section of NewsNow (www.newsnow.co.uk)?

RSS Feed

Isn't the channel tag supposed to hold the description of the feed, but end before the items? I don't think it is meant to contain the bulk of the document in the way that <body> </body> does in HTML.
Am I wrong?

RSS Feed

I really have no idea... I just started looking this stuff up like 2 days ago, and I was going off of the extremely vague documentation at harvard.

And, I'll go fix the logo right now=P.

RSS Feed

h_ank wrote:
Isn't the channel tag supposed to hold the description of the feed, but end before the items? I don't think it is meant to contain the bulk of the document in the way that <body> </body> does in HTML.
Am I wrong?

From what I can tell looking at other samples, <channel></channel> is the container for all the items - I personally never really looked at the spec myself...

RSS Feed

umccullough wrote:
h_ank wrote:
Isn't the channel tag supposed to hold the description of the feed, but end before the items? I don't think it is meant to contain the bulk of the document in the way that <body> </body> does in HTML.
Am I wrong?

From what I can tell looking at other samples, <channel></channel> is the container for all the items - I personally never really looked at the spec myself...

There's some decent spec info at that freevalidator site:

http://feedvalidator.org/docs/rss2.html

RSS Feed

Yea, that's an exact replica of the harvard docs
no biggie though

here's the seperate feeds:

http://haiku-os.org/rss.php?channel=news
http://haiku-os.org/rss.php?channel=forums
http://haiku-os.org/rss.php?channel=newsletters

needless to say, the news is the default

let me know if it works right =P

RSS Feed

kurtis wrote:
Yea, that's an exact replica of the harvard docs
no biggie though

here's the seperate feeds:

http://haiku-os.org/rss.php?channel=news
http://haiku-os.org/rss.php?channel=forums
http://haiku-os.org/rss.php?channel=newsletters

needless to say, the news is the default

let me know if it works right =P

They all seem to work - the forum feed doesn't display much of anything in my aggregator and actually is quite confusing... i'll have to try some other tools to see if I can get anything decent out of that.

RSS Feed

Yes, they work for me. Great!

Thomas

RSS Feed

Now there's a problem with the RSS-feeds. All three feeds are giving the content of http://www.haiku-os.org/learn.php.

Thomas

RSS Feed

doh, i'll look at it when i get back from lunch

RSS Feed

k, fixed... it was a GET var prob

Haiku News feed looks fine

but the dates in NetNewsWire are all 1 Jan 1970
-----
Mark

RSS Feed

It must not be parsing the dates right... I know I'm using the right date format because I read it in the RSS documentation =)

if you look at the xml for the pages, you can see the pubDate's and stuff are all current:
<pubDate>Tue, 27 Jul 2004 23:42:38 PST</pubDate>

RSS Feed

This could be an order problem;
I've noticed in the rss that the &lt;pubDate&gt; element for each &lt;item&gt; comes before the &lt;author&gt; one; Checking through some RSS2.0 sites, they have author before pubDate.
Though nothing in the spec mentions order, I presume since it's xml, it'll want correct order

I hope this is problem. - if not, :roll:

RSS Feed

Firefox doesn't seem to be able to pick up the RSS feeds. :|

RSS Feed

yeh I noticed that ... I'm sure Kurtis will fix that when he gets the chance.

It's a nice feature in FF those smart links (aka RSS).

RSS Feed

really?

i have it working in firefox on my comp... hmmm....

RSS Feed

Hey, there's some mysterious problem with the feeds. Thunderbird's RSS reader doesn't seem to display new items anymore, and opening the RSS URL in Firefox gives this parsing error (which seems quite odd anyway, as &eacute; ain't that exotic entity at all):

XML Parsing Error: undefined entity
Location: http://haiku-os.org/rss.php?channel=news
Line Number 31, Column 21:
In the last weeks, J&eacute;r&ocirc;me Duval has worked...
--------------------^

RSS Feed

mortee wrote:
Hey, there's some mysterious problem with the feeds. Thunderbird's RSS reader doesn't seem to display new items anymore, and opening the RSS URL in Firefox gives this parsing error (which seems quite odd anyway, as &eacute; ain't that exotic entity at all):

feedvalidator.org complains about it as well... I see this crop up on other RSS feeds occasionally when someone introduces extended characters to a newsitem (maybe a codepage problem?):

http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fhaiku-os.org%2Frss.php%3Fchannel%3Dnews

RSS Feed

fix?

RSS Feed

hm, i'll work on it when i get back from class...

RSS Feed

it just doesn't seem to like the
&eacute;
and
&ocirc;
characters for some reason...

any ideas for a fix? (other than just replacing those chars with ascii letters)

RSS Feed

kurtis wrote:
it just doesn't seem to like the
&eacute;
and
&ocirc;
characters for some reason...

any ideas for a fix? (other than just replacing those chars with ascii letters)

did you include this DTD fragment in your DTD ?

http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent

international characters are included in it.

RSS Feed

ok, I know pretty much zero about xml, but I managed to read a little bit, but now I have to leave for class... I see that the &<letters>; entities are undefined in xml, so the dtd's are used to define them...

but for the life of me I can't get the xml doc to correctly include/import the dtd, and I was trying to follow the example on the site =/

RSS Feed

Funnily enough, to cure this problem you have to convert & into &amp;
It's an xml issue, it only has a few entities available to it, so &*anything* causes problems.

so &amp;eacute; would go to &amp;amp;eacute; or you could just get the script to convert it to an e.

re http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent, this is a DTD for xhtml, not for rss.

To fix the feed, you should remove the <!DOCTYPE xhtml, and the <xhtml> tag

RSS Feed

ok, there we go... thx beta that fixed it

RSS Feed

Question:

Are the News Feeds still working after the downtime?
the Mozilla Thunderbird won't download them...

Kanten

RSS Feed

had to fix an include...
fixed now

but i never did get the non-standard characters to work correctly

RSS Feed

Thank's, it works now !

Kanten