Subject: RDF/XML Help

Posted on: 28/07/04 11:16pm
By: eyecravedvd

I've searched the web and have found no answers. I'm trying to figure out why my feed won't open in the browser like this one. RDF Feed

Mine forces you to open the file using a different program RDF Feed

Is it coding within GL or is it server side? If it's server side what do I need to get installed on the server (Linux/Apache) to display it like the first URL?


Posted on: 29/07/04 12:04am
By: mrjeff

I looked at your rdf file and noticed this at the top
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN"

Try removing it, and see if that works, as its the only thing I can see that would cause this. Also make sure you are using a plain text editor.



Posted on: 29/07/04 12:55am
By: r_f_o_t

More than likely it's because your server has the "proper" MIME type set to
application/rdf+xml   rdf

while the other site does not, so it uses apache's
DefaultType text/plain

rendering any mime types not listed in the mime.types config as plain text.

If you have control over the server, you could remove that MIME type and it would render as plain text. If not, maybe an htaccess could override the MIME types, not sure though. It's late and I'm too tired to research htaccess stuff right now.




Posted on: 29/07/04 12:22pm
By: eyecravedvd

I can't change the MIME types, nor does removing that DOCTYPE help.


Posted on: 29/07/04 12:30pm
By: eyecravedvd

I changed the extension to *.xml and it fixed the problem.


Posted on: 29/07/04 02:58pm
By: eyecravedvd

Oh BTW here's the new file

Geeklog - Forum