aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/01_raw/article_feed.xsl3
-rw-r--r--source/01_raw/repository_feeds.xsl3
2 files changed, 4 insertions, 2 deletions
diff --git a/source/01_raw/article_feed.xsl b/source/01_raw/article_feed.xsl
index 6a55925..96f918d 100644
--- a/source/01_raw/article_feed.xsl
+++ b/source/01_raw/article_feed.xsl
@@ -2,6 +2,7 @@
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:InputXSLT="function.inputxslt.application"
exclude-result-prefixes="InputXSLT"
>
@@ -17,7 +18,7 @@
<xsl:template match="meta">
<xsl:apply-templates mode="remove_namespace" select="InputXSLT:external-command(
'curl http://blog.kummerlaender.eu/atom.xml'
- )/self::command/feed/entry[position() &lt;= $root/meta/overview/article_count]"/>
+ )/self::command/atom:feed/atom:entry[position() &lt;= $root/meta/overview/article_count]"/>
</xsl:template>
</xsl:stylesheet>
diff --git a/source/01_raw/repository_feeds.xsl b/source/01_raw/repository_feeds.xsl
index 24cc2d8..961c08a 100644
--- a/source/01_raw/repository_feeds.xsl
+++ b/source/01_raw/repository_feeds.xsl
@@ -2,6 +2,7 @@
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:InputXSLT="function.inputxslt.application"
exclude-result-prefixes="InputXSLT"
>
@@ -18,7 +19,7 @@
<entry handle="{@handle}">
<xsl:apply-templates mode="remove_namespace" select="InputXSLT:external-command(
concat('./utility/fetch_feed.sh ', feed/text())
- )/self::command/feed/entry"/>
+ )/self::command/atom:feed/atom:entry"/>
</entry>
</xsl:template>