October 1, 2003

rss creation.

I've tried making an rss feed by hand but for some reason it doesn't seem to be quite right. I've compared my Rudy feed with the Tapesty 5th wave file and I can't see any obvious difference as a text file, but firebird colour codes the tapestry feed and leaves mine as plain text (and doesn't render mine in my rss feeder.)
any ideas of what I could be doing wrong?

Posted by Andy at October 1, 2003 9:24 PM
Comments

It works mate.
http://feedvalidator.org/check?url=http://www.absoblogginlutely.net/rssscrapes/rudy.rdf

The reason Mozilla won't decode it for you is because you mime type needs changing, that's all.

GET /rssscrapes/rudy.rdf HTTP/1.1
Host: www.absoblogginlutely.net
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7


Content-Type: text/plain

GET /tapestry/fw.rdf HTTP/1.1
Host: dwlt.net
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Content-Type: text/xml
Content-Encoding: gzip

Posted by: Chris at October 2, 2003 7:05 AM

Presumably you're using Apache so you need a .htacess file with the line "AddType .rdf application/xml" . You could do the more correct "AddType .rdf application/rss+xml" but Firebird will not allow you to open it in the browser.

Posted by: Neil T. at October 2, 2003 6:25 PM