Page 1 of 1

errors in XML code

Posted: Wed Jun 30, 2004 9:10 am
by polkipa
The XML generated seems to contain errors

<?xml version="1.0" encoding="utf-8" ?>
- <rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
- <channel>
<title>time-smart community blog</title>
<link>http://www.time-smart.org/serendipity/</link>

When Validating I get an error on uft-8, it should be UFT-8 the no error
+
- <channel> and others should be without -

Where can I change that

Thanks
Paul

Re: errors in XML code

Posted: Wed Jun 30, 2004 10:24 am
by garvinhicking
Which validator do you use? utf-8 and UTF-8 should be synonymous.

Where do those '-' in front of the lines come from? Those are not inside serendipity code, I guess those are a copy+paste product when you copied it from the IE output or something like that?

Post subject: Re: errors in XML code

Posted: Wed Jun 30, 2004 11:17 am
by polkipa
Thanks Garvin,

The validator is http://feedvalidator.org/

The code is automatically generated. I didn't touch a thing :)

Have look in http://www.time-smart.org/serendipity and click on one of the XML buttons in the right column

Paul

Re: Post subject: Re: errors in XML code

Posted: Wed Jun 30, 2004 1:10 pm
by garvinhicking
When I use your URL "http://www.time-smart.org/serendipity/r ... ersion=2.0" for the feedvalidator, it only shows me one warning (which is, however, totally stupid to report)...

Regards,
Garvin.

Re: errors in XML code

Posted: Wed Jun 30, 2004 4:14 pm
by polkipa
Seems to be OK now Garvin

The thing I didn't know was the correct address to get the feed. :?

What I still don't understand is what the XML button is about. When someone pushes that, an XML code comes in the browser. Sorry I am a newbie with RSS :oops:

Thanks
Paul

Re: errors in XML code

Posted: Wed Jun 30, 2004 8:03 pm
by garvinhicking
Ok, great.

For the RSS/XML thing: Just read http://www.s9y.org/49.html, we put a documentation up on our wiki. :)

Regards,
Garvin.

Re: errors in XML code

Posted: Thu Jul 01, 2004 6:41 am
by polkipa
Thanks Garvin

All clear to me now . :D . Have a great day

Paul