According to the W3 Feed Validation Service, the "updated" property of the feed is not in compliance with RFC-3339. The four offset digits should have a colon in the middle, and at the moment, they don't.
For example, this feed is not valid:
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Blog posts</title>
<link rel="alternate" type="text/html" hreflang="en" href="http://example.com/" />
<link rel="self" type="application/atom+xml" href="http://example.com/blog.atom" />
<id>http://example.com/blog.atom</id>
<updated>2020-04-13T20:37:41+0000</updated>
</feed>
Whereas this one is:
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Blog posts</title>
<link rel="alternate" type="text/html" hreflang="en" href="http://example.com/" />
<link rel="self" type="application/atom+xml" href="http://example.com/blog.atom" />
<id>http://example.com/blog.atom</id>
<updated>2020-04-13T20:37:41+00:00</updated>
</feed>
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | atom-update_property_invalid-3127341-3.patch | 785 bytes | alexdmccabe |
| #2 | atom-update_property_invalid-3127341-2.patch | 962 bytes | alexdmccabe |
Comments
Comment #2
alexdmccabeI solved this by switching out Drupal's html_datetime format for PHP's DATE_ATOM constant.
Comment #3
alexdmccabeRerolled patch without newline fix.
Didn't include an interdiff because it was empty.
Comment #5
spotzero commentedApplied. Thanks!