View Ticket
Not logged in
Ticket UUID: 109ae2e904411211448db56e6e6b8e51bd1672ed
Title: RSS feed is not always valid
Status: Fixed Type: Code_Defect
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2011-09-12 19:45:25
Version Found In:
Description & Comments:
According to W3C Validator at http://validator.w3.org/feed/ the current feed has some minor issues:
This feed does not validate.

    line 14, column 17: Invalid email address: drh (21 occurrences) [help]

              <author>drh</author>
                         ^

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

    line 42, column 123: title should not contain HTML: i (4 occurrences) [help]

        ... ; status still Open with 2 other changes</title>
                                                     ^

    line 189, column 2: Missing atom:link with rel="self" [help]

          </channel>
          ^


Clearly the one that should be fixed is the "invalid email one". Following their explanation should not be hard - whenever we get only a user name (without domain), it is sufficient to append "@example.com" to it. This leaves us with a warning about lack of real name, which we can ignore.


dmitry added on 2011-08-26 16:01:36 UTC:
I do not like the idea of using fake email addresses. Since "author" field is optional, can we just replace it with dc:creator.


dmitry added on 2011-08-26 16:10:05 UTC:
Note: dc:creator requires adding namespace to rss element:

<rss xmlns:dc="http://purl.org/dc/elements/1.1/">

lrem added on 2011-08-29 12:39:11 UTC:
I agree. Using dc:creator is both better and easier.


dmitry added on 2011-09-12 19:45:25 UTC:
Fixed in [71b862af7d].