Page 1 of 1

RSS links don't work

Posted: Thu Aug 04, 2005 3:59 am
by Collectonian
I'm using Serendipity for my anime blog and I love it. I decided to try turning on the RSS feeds so I could tie it to my Yahoo! 360 page, however the link for the RSS 2 feed doesn't take me to a valid feed (nor Yahoo).

I double checked my settings and I'm not sure what I'm doing wrong.

You can see the link it makes at http://eclectic-world.com/myaddictions/animania/

Any ideas? I'm running the current version.

Posted: Thu Aug 04, 2005 4:17 am
by Anthem
feedvalidator says:

Code: Select all

line 37, column 10507: content:encoded should not contain onmouseover tag (41 occurrences)
line 37, column 10507: content:encoded should not contain onmouseout tag (41 occurrences)

line 63, column 1902: content:encoded contains bad characters (6 occurrences)
... >When you are totally bored with life\x85is it time to end it all?</p ...
                                             ^
The onmouseover/onmouseout seem to come from the window.status-code. The invalid character is the acute“ instead of the apostrophe '.
But I'm not an expert on RSS-feeds :)

Posted: Thu Aug 04, 2005 4:32 am
by Collectonian
Fixed all the invalid characters feedvalidator reported, and that fixed it.

Thanks :-)

Is there anyway I can limit the entries it sends to the RSS feed to 5?

Posted: Thu Aug 04, 2005 12:36 pm
by garvinhicking
You can limit the amount of RSS feed entries by editing your rss.php file and search for this line:

Code: Select all

serendipity_fetchEntries(null, true, 15, false,
Just replace the "15" to "5". :)

Regards,
Garvin

Posted: Thu Aug 04, 2005 4:51 pm
by Collectonian
Awesome, thanks :-)