diff options
-rwxr-xr-x | tools/publish.sh | 2 | ||||
-rw-r--r-- | tools/xml-notes-to-atom.xsl | 8 |
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 |