I have the following suggestions from playing around with the RSS Feeds and checking several S9Y 1.3.1. blogs
against http://validator.w3.org/feed/ and www.feedvalidator.org (not working properly today).
I keep it short and sweet. Most important (probably) things first.
The RSS2 Content Feed validates OK, but the tool gives recommendations for
improving the interoperability.
Code: Select all
E.g. line 45, column 4: Ensure description precedes content:encoded
(15 occurrences) [help]
<content:encoded>
^
RSS feeds as input. Some seem to ignore the <content:encoded> totally.
A <description> could be introduced via the feed_2.0.tpl template easily.
For example it could be filled with the $entry.body content or just the first
200 characters of it.
- Is there a Smarty function for converting html2text?
Just found the solution in this thread: Stripping HTML tags from {$entry.body}'Smarty' is really great.Code: Select all
{if !empty($entry.body)} <description> {$entry.feed_body|strip_tags:false|truncate:200:"...":false|@escape} </description> <content:encoded> {$entry.feed_body|@escape} {$entry.feed_ext|@escape} </content:encoded> {/if}
description, they don't do HTML escape, they note it as <![CDATA[ ... ]]>
(I am sure you know.)
- Could I use the Extended Properties Plugin to introduce a sort of Excerpt
field to entries/posts and grab that in the template?
(From what I have checked out. I think so.)
Next issues:
Code: Select all
E.g. line 24, column 63: Image title doesn't match channel title [help]
Channel Title: <title>Serendipity</title>
Image Title: <title>RSS: Serendipity - The official Serendipity blog</title>
optionally it throws in the (Login as: Admin) in the image title
$metadata.additional_fields.image is created or where ever $metadata.title
is prepared.
Code: Select all
E.g. line 114, column 0: Ensure lastBuildDate is present when slash:comments
is used (15 occurrences) [help]
Code: Select all
E.g. line 591, column 0: Missing atom:link with rel="self" [help]
</channel>
Last but not least would be nice to have a <Copyright> entity in the
Channel, which can be configured in the Admin Panel.
(I actually have patched that but only for S9Y 1.1.2 so far...)
Yours
JohnCanary
P.S.: I have reported a time-offset issue in the bug section:
Wrong <pubDate> in RSS Feed, TimeOffset != 0