malformed RSS feed

J

Joris Gillis

Hey, I'm working on a PHP script to make an RSS feed for my weblog.
I've got a "malformed" error at this validator:

http://feedvalidator.org/check.cgi?url=http://www.krubner.com/rss/page1907.xml

I don't know enough about XML or RSS to figure this out. I've read
over this document:

http://www.w3.org/TR/REC-xml/#sec-well-formed
Hi,

The XMl is not well formed:
<?xml version="1.0" contentType="application/xml; charset=UTF-8" encoding="UTF-8"?>
The 'contentType' attribute is illegal, just omit it, like this:
<?xml version="1.0" encoding="UTF-8"?>

regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top