Re: XML RSS - Unexpected End of File error
| From: | Jonathan Tapicer | Date: | Thu, 08 Oct 2009 18:54:53 +0000 |
| Subject: | Re: XML RSS - Unexpected End of File error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298777@lists.php.net to get a copy of this message | ||
Can you show the generated XML?
Jonathan
On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
<ash@ashleysheridan.co.uk> wrote:
> Hi guys,
>
> I've knocked up a quick RSS feed on my site. It works fine in Fx 2 & 3,
> in Opera it throws an error "unexpected end of file" but allows the feed
> to be added anyway, and Chrome just says there's an XML error, and gives
> the second from last line as the one containing the error.
>
> I tried adding a newline to the end of the file, but that just makes the
> error message report the next line. Any ideas where I'm going wrong? The
> file is using utf-8 character encoding.
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>