RSS doesn't validate

Found a bug? Tell us!!
Post Reply
wcw
Regular
Posts: 7
Joined: Wed Apr 04, 2007 12:33 am

RSS doesn't validate

Post by wcw »

I recently found http://validator.w3.org/feed/ and turned it onto my serendipity RSS2/atom feeds. Each may work in my newsreaders, but each failed validation with one niggling error

Why should any serendipity feed ever fail to validate, even on a small error?

Curious,

A
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

It shouldn't. We've tried pretty hard to stick with the standards.

Of course, feeds are templated. If you've modified the templates, it could invalidate the feed.

And we're only human. There could be mistakes.

What error do you get?
Judebert
---
Website | Wishlist | PayPal
wcw
Regular
Posts: 7
Joined: Wed Apr 04, 2007 12:33 am

Post by wcw »

judebert wrote:If you've modified the templates, it could invalidate the feed.
I haven't, unless you can modify them by accident.
judebert wrote:What error do you get?
The Atom feed reports, "XML parsing error: <unknown>:43:86: not well-formed (invalid token)"

The RSS feed gave a complaint because I left height and width blank. The fix is to fill them in, but it would be nicer if I'd gotten an error from the plugin.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

To see what the error is, we would need your URL. By default, serendipity's XML and Atom feeds validate, but your content can throw of RSS feeds if they are not well-formed. Sadly there is little magic that serendipity can apply to correct things like "<b>my bold!</strong>" mistakes...
The RSS feed gave a complaint because I left height and width blank. The fix is to fill them in, but it would be nicer if I'd gotten an error from the plugin.
In which element did you leave that blank? How would serendipity get to know the height and width, if you do not specify it?

Best 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/
Post Reply