errors in XML code

Having trouble installing serendipity?
Post Reply
polkipa
Regular
Posts: 6
Joined: Wed Jun 30, 2004 9:03 am
Contact:

errors in XML code

Post 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
Paul De Bruyne
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: errors in XML code

Post 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?
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
polkipa
Regular
Posts: 6
Joined: Wed Jun 30, 2004 9:03 am
Contact:

Post subject: Re: errors in XML code

Post 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
Paul De Bruyne
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Post subject: Re: errors in XML code

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
polkipa
Regular
Posts: 6
Joined: Wed Jun 30, 2004 9:03 am
Contact:

Re: errors in XML code

Post 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
Paul De Bruyne
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: errors in XML code

Post 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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
polkipa
Regular
Posts: 6
Joined: Wed Jun 30, 2004 9:03 am
Contact:

Re: errors in XML code

Post by polkipa »

Thanks Garvin

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

Paul
Paul De Bruyne
Post Reply