I'm trying to an RSS feed from scratch for a friend's script. The script allows her to post blog posts and updates. However, the script doesn't come with any type of RSS feed set up. So I'm trying to create one for her. However, I'm getting errors.

I am trying to connect the database for her current script up with this RSS feed. So it'll use the updates to automatically update the RSS feed. Does that make sense?

Anyway, the problem is that I'm getting errors. I don't understand why.

First, you can find the RSS Feed's coding at this location: [XML] RSS Feed Creation - Pastebin.com

The error is as following,

This page contains the following errors:

error on line 38 at column 28: Extra content at the end of the document
Below is a rendering of the page up to the first error.
Can anyone help?