Digital-Humanities-Quarterly / dhq-journal

DHQ is an open-access, peer-reviewed journal of digital humanities.
http://www.digitalhumanities.org/dhq/
10 stars 5 forks source link

Fix invalidities in Atom news feed #61

Open amclark42 opened 5 months ago

amclark42 commented 5 months ago

When I set up the static site generation of the Atom news feed, I noticed that everything was marked <updated>T00:00:00Z</updated>. This seemed erroneous, so I validated the feed with a W3C tool and got these results:

  1. "updated must be an RFC-3339 date-time: T00:00:00Z" (34 instances)
  2. "Invalid character in a URI: http://www.digitalhumanities.org/dhq/vol/17/3/000677 .html"

The feed is linked in every HTML page as <link rel="alternate" type="application/atom+xml" href="/dhq/feed/news.xml">. Because it's not visible, this isn't pressing. However, with a little work, the feed might become something DHQ could visibly link to.