summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2019-05-17 01:07:22 +0300
committerdefanor <defanor@uberspace.net>2019-05-17 01:07:22 +0300
commit0c50e642d4afdebba7e01aa314bf98d41f50d8fb (patch)
tree2a90f917574a13a4fc6def8dee28d175d48b55ac
parent5c06b527215c20b76e64d9c666b251021ad5e5d8 (diff)
downloadhomepage-0c50e642d4afdebba7e01aa314bf98d41f50d8fb.zip
homepage-0c50e642d4afdebba7e01aa314bf98d41f50d8fb.tar.gz
homepage-0c50e642d4afdebba7e01aa314bf98d41f50d8fb.tar.bz2
Move atom.xml into /notes/
-rwxr-xr-xtools/publish.sh2
-rw-r--r--tools/xml-notes-to-atom.xsl8
2 files changed, 4 insertions, 6 deletions
diff --git a/tools/publish.sh b/tools/publish.sh
index b07a736..e57bee6 100755
--- a/tools/publish.sh
+++ b/tools/publish.sh
@@ -3,7 +3,7 @@
BASEDIR=~/homepage
TOOLS="${BASEDIR}/tools"
BUILD="${BASEDIR}/build"
-ATOM="${BASEDIR}/atom.xml"
+ATOM="${BASEDIR}/notes/atom.xml"
SOURCES="${BASEDIR}/src"
NOTES="${SOURCES}/notes"
diff --git a/tools/xml-notes-to-atom.xsl b/tools/xml-notes-to-atom.xsl
index fd18072..3c1f07f 100644
--- a/tools/xml-notes-to-atom.xsl
+++ b/tools/xml-notes-to-atom.xsl
@@ -13,11 +13,9 @@
<xsl:template match="notes">
<feed>
<title>defanor's notes</title>
- <link rel="self" href="{$baseIRI}atom.xml" />
- <link rel="alternate" href="{$baseIRI}" />
- <id>
- <xsl:value-of select="$baseIRI" />
- </id>
+ <link rel="self" href="{$baseIRI}notes/atom.xml" />
+ <link rel="alternate" href="{$baseIRI}notes/" />
+ <id><xsl:value-of select="$baseIRI" />notes/</id>
<!--
Setting <updated> statically, since it applies to some
meaningful feed updates. Perhaps should be modified on