Commit Diff


commit - dca8ad435769ed40f114f6bb0b0cbbdcb5bf82de
commit + 501dbdc1aef84cb1e469a06decb09b5bd717145a
blob - 5eda73bcb9c0e534e1285a7c6de3fa60585eacf7
blob + 79808886f6a3ddd42fec52427b8c062793b9d775
--- capsule/index.gmi
+++ capsule/index.gmi
@@ -2,6 +2,8 @@
 
 Привет, я - continue. Добро пожаловать в мою Gemini капсулу.
 
+=> atom.xml Лента публикаций
+
 ## Gemini-сервер vostok (Восток)
 
 Эта страница хостится по протоколу Gemini с помощью небольшого сервера vostok (Восток).
blob - /dev/null
blob + 065c7bd3005b226aa9f16723d040664407806383 (mode 644)
--- /dev/null
+++ capsule/atom.xml
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+    <id>gemini://any-key.press</id>
+    <title>gemini://any-key.press</title>
+    <link href="gemini://any-key.press/atom.xml" rel="self"/>
+    <link href="gemini://any-key.press" rel="alternate"/>
+    <author>
+        <name>continue</name>
+        <email>continue@to.any-key.press</email>
+    </author>
+    <updated>2023-10-06T14:32:14.170141+00:00</updated>
+    <entry>
+        <id>gemini://any-key.press/squat/reports/aarch64_exception_model.gmi</id>
+        <link href="gemini://any-key.press/squat/reports/aarch64_exception_model.gmi" rel="alternate"/>
+        <title>Конспект документа AArch64 Exception Model (arm, 102412_0103_01_en)</title>
+        <updated>2023-10-06T14:32:14.170141+00:00</updated>
+    </entry>
+</feed>
blob - /dev/null
blob + 9cb42d32beefea159a24d3fbe6b4d04bbb153470 (mode 644)
--- /dev/null
+++ mtime_iso.py
@@ -0,0 +1,9 @@
+import sys, os, datetime
+
+# python3 mtime_iso.py capsule/squat/reports/aarch64_exception_model.gmi
+if len(sys.argv) == 2:
+    tz = datetime.datetime.now(datetime.timezone.utc).astimezone().tzinfo
+    print(datetime.datetime.fromtimestamp(os.stat(sys.argv[1]).st_mtime, tz=tz).isoformat())
+else:
+    print(f"Usage: {sys.argv[0]} <path>", file=sys.stderr)
+    sys.exit(1)