Fix URLs in atom feed
authorChristian Weiske <cweiske@cweiske.de>
Mon, 14 Mar 2022 17:41:06 +0000 (18:41 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 14 Mar 2022 17:41:06 +0000 (18:41 +0100)
data/templates/latest-atom.htm

index e3c40ff5869e4ad4b1bfeb59e740e8cfeb316b7c..3c8ac132929b4492f94674c510a0736dddfc601e 100644 (file)
@@ -1,9 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
  <title>Latest comments</title>
- <link href="{{baseUrl}}/latest-atom.php"/>
+ <link rel="alternate" type="text/html" href="{{baseUrl}}/latest.php"/>
+ <link rel="self" href="{{baseUrl}}/latest-atom.php"/>
  <updated>{{lastComment.comment_published|date("c")}}</updated>
  <id>{{baseUrl}}/latest-atom.php</id>
+ <generator uri="https://github.com/cweiske/anoweco">anoweco</generator>
 
  {% for comment in comments %}
  <entry>