From bd328048e195c764bf9be5266605975dff73e387 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 28 Jul 2014 21:00:59 +0200 Subject: Implemented basic atom feed transformation * atom was choosen in favor of RSS mainly because it is not easily possible to generate the required RSS timestamp in xalan-c (day of the week required) * modified master template accordingly --- source/99_result/atom.xsl | 50 +++++++++++++++++++++++++++++++++++++++++++++++ utility/master.xsl | 4 ++-- 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 source/99_result/atom.xsl diff --git a/source/99_result/atom.xsl b/source/99_result/atom.xsl new file mode 100644 index 0000000..86f0217 --- /dev/null +++ b/source/99_result/atom.xsl @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + <xsl:value-of select="datasource/meta/title"/> + + Adrian Kummerländer + + + + + + + + + <xsl:value-of select="title"/> + /article/ + +
+ +
+
+ + + T00:00:01+02:00 + +
+
+ +
diff --git a/utility/master.xsl b/utility/master.xsl index 698aed5..cda2575 100644 --- a/utility/master.xsl +++ b/utility/master.xsl @@ -51,7 +51,7 @@
  • Archive
  • Projects
  • Contact
  • -
  • RSS
  • +
  • Feed
  • @@ -67,7 +67,7 @@ Made with XSLT
    -- cgit v1.2.3