commit: a3b763e54c930b2107bb399999c6c6890479c8d3
parent dad37549ff6d3e65c36fafeea209a9fe73fe72ea
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 17 Mar 2024 15:09:00 +0100
bookmarks.atom.xsl: sort entries
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bookmarks.atom.xsl b/bookmarks.atom.xsl
@@ -14,7 +14,9 @@
<!-- Technically XBEL doesn't have modified for the <xbel> element but whatever-->
<updated><xsl:value-of select="/xbel/@modified"/></updated>
-<xsl:apply-templates select="/xbel//bookmark"/>
+<xsl:apply-templates select="/xbel//bookmark">
+ <xsl:sort select="@added" lang="en" order="descending"/>
+</xsl:apply-templates>
</feed></xsl:template>
<xsl:template match="bookmark"> <entry>