[wp-trac] [WordPress Trac] #39434: German Blog creates invalid RSS feed
WordPress Trac
noreply at wordpress.org
Sun Jan 1 10:56:33 UTC 2017
#39434: German Blog creates invalid RSS feed
--------------------------+-----------------------------
Reporter: 1manfactory | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Just tested it with a brand new WordPress local installation without any
other plugins or themes to make sure that this problems is (so a presume)
a core problem.
When validating my RSS feed with https://validator.w3.org/feed/ it gives
the following only error:
{{{
line 15, column 46: lastBuildDate must be an RFC-822 date-time: Mi, 16 Sep
2015 16:31:18 +0000
}}}
this is the line mentioned:
{{{
<lastBuildDate>Mi, 16 Sep 2015 16:31:18 +0000</lastBuildDate>
}}}
Help says: ''Common errors include localizing the month name or the days
of the week, not using the exact abbreviation provided by the
specification, or attempting to use a time zone name that is not listed.''
So I switched from a German to English settings which gives me the
following RSS date:
{{{
<lastBuildDate>Wed, 16 Sep 2015 16:31:18 +0000</lastBuildDate>
}}}
This line now validates without any problems.
I think this should be fixed as many people (so do I) rely on a valid RSS
feed. Better save than sorry. It should not be a big issues as all other
dates used inside RSS are valid – even in a German RSS feed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39434>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list