RSS feed not validated

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
romulus
Regular
Posts: 49
Joined: Fri Sep 24, 2004 4:31 pm
Contact:

RSS feed not validated

Post by romulus »

As I'm still testing for my s9y new install, I've seen that the RSS feed that s9y delivers gets some warnings from feedvalidator.org. See for your self:

Validate my feed
(the warning about codepage is a problem with my server, please ignore it for now)

The warning I'm referring to, ist that s9y delivers some javascript with RSS feed to hide that all links are pointing to exit.php (onMouseOut, OnMouseOver). Does this make sense? Does any feed reader executes those scripts? At least thunderbird does it not and all links are displayed with their real URL.
If its intentionally could some dev please change it so that I can turn this off? I would like to validate my feed without any warning. ;)

Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RSS feed not validated

Post by garvinhicking »

My RSSBandit executes that JavaScript, yes. And I see it more of a problem of the feedvalidator, because there is nothing wrong with specifying javascript in feeds per se; if you wanted to disallow that, you'd probably not allow HTML at all.

It's a matter of the RSS Reader to forbid such javascript execution at a user's will...

It would be possible to create a switch for this setting, so that the exit tracking plugin would not be performed for the RSS output. But honestly I'm not willing to put work into it; if somone comes up with a working patch however, I of course will integrate it.

Sorry for maybe sounding stubborn, but I really don't think feedvalidator is allowed to emit a warning. :-)

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/
Guest

exit.php links in RSS output

Post by Guest »

Hi,

I was wondering about these strange links, too.

Is there a was to include the plain links in the RSS output - without mouseovers and exit.php etc.?

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

Re: exit.php links in RSS output

Post by garvinhicking »

There currently is no way, because the links in RSS are not really wrong. And if I enable Exit Tracking, I do want visits from RSS feeds to count as well.

You could disable the Track Exits plugin completely, if you want your RSS feed to not contain them...there would also probably be a way to create a configuration option for that, but I personally don't see the need...

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/
Guest

exit.php links in RSS output

Post by Guest »

Wow,

thanks for this very quick answer.

I agree. there doesn't seem to be a need for that option.

I managed to have my feed without the exit.php links but I don't know how i did it. I simply disabled everything whose name sounded remotely like "exit tracking". And it worked.

cheers,
Rainer
Post Reply