summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/atom.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/atom.sh b/src/atom.sh
index cf694b3..8816e89 100644
--- a/src/atom.sh
+++ b/src/atom.sh
@@ -7,6 +7,7 @@ echo "<feed xmlns=\"http://www.w3.org/2005/Atom\">"
echo "<title type=\"text\">dzwdz</title>"
echo "<updated>$(date -Iseconds)</updated>"
echo "<id>urn:uuid:677e5055-07e1-43d6-bd58-fda18d3c5277</id>"
+echo '<link rel="self" type="application/atom+xml" href="https://tilde.town/~dzwdz/blog/feed.atom"/>'
to_atom_entry() {
while read line; do
@@ -16,7 +17,8 @@ to_atom_entry() {
echo "<entry>"
echo "<title>$entry_title</title>"
echo "<link href=\"$entry_url\"/>"
- echo "<updated>${entry_date}T00:00Z</updated>"
+ echo "<updated>${entry_date}T00:00:00Z</updated>"
+ echo "<author><name>dzwdz</name></author>"
echo "<id>${entry_url}?${entry_date}</id>"
echo "</entry>"
done