Potential feed validation issue

Discussion corner for Developers of Serendipity.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Potential feed validation issue

Post by yellowled »

Completely not my expertise, but someone pointed out to me on Twitter that s9y might not be generating valid RSS and/or Atom feeds.

Example: http://feedvalidator.org/check.cgi?url= ... s/atom.xml

Note: Might be fixed already, said blog is running on 1.5.5.

YL
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Potential feed validation issue

Post by yellowled »

More info: According to the owner of the blog, this is supposed to be related to the flattr plugin …?

The person who pointed this out to me also said to ask if/why (again, not my expertise) XML is (not) being serialized or something …

YL
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Potential feed validation issue

Post by garvinhicking »

Hi!

The validity of a RSS file often relies on the author; if they enter invalid XHTML, this gets passed along to the feed. There is the XHTML fixup plugin, that would fix many of the issues; in case of zeitspuk, the <a> tag contains an "&" instead of "&".

The flattr plugin AFAIK doesn't emit this "var ..." stuff anymore, maybe it's not the most up to date version of the plugin?

s9y passes along the actual input of the blog as the simple content. It's really, really hard to fix up bad XHTML from the user. There is absolutely no way to make this bulletproof, once a user i.e. wraps "<b>...</strong>" wrongly, how would we be able to fix this.

XML is simple a hard format, it's not meant to be loosely validated; that's why the user has his part in this...either by not writing HTML manually and using "simple" markup, or by using WYSIWYG editors....

The flattr issue of course I'd like to fix, but for that first we need to be able to investigate/reproduce it.

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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Potential feed validation issue

Post by yellowled »

garvinhicking wrote:The flattr issue of course I'd like to fix, but for that first we need to be able to investigate/reproduce it.
I already asked for the blogger to maybe report back here in the forum to help troubleshoot this. Since he's running s9y 1.5.5, it's likely his plugins are not up to date, either. Not really sure how to proceed here.

YL
hds
Posts: 2
Joined: Thu Feb 07, 2013 1:06 pm

Re: Potential feed validation issue

Post by hds »

i'll try and update everything. then lets see. lazy me...
hds
Posts: 2
Joined: Thu Feb 07, 2013 1:06 pm

Re: Potential feed validation issue

Post by hds »

hi there.
i updated now. can't really tell what's wrong with the feed, though.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Potential feed validation issue

Post by garvinhicking »

Hi!

Great. Seems the only issue left is this:

Code: Select all

http://www.amazon.de/Ekstasis/dp/B0081TBZRO/ref=sr_1_3?ie=UTF8&qid
in your article you have a link to that, you need to change that to:

Code: Select all

http://www.amazon.de/Ekstasis/dp/B0081TBZRO/ref=sr_1_3?ie=UTF8&qid
(note the "&" vs. "&").

You could also install the xhtml cleanup event plugin that should fix an issue like this; however, doing it manually is less performance-expensive like installing a plugin ;)

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