diff options
-rw-r--r-- | source/01_raw/article_feed.xsl | 3 | ||||
-rw-r--r-- | source/01_raw/repository_feeds.xsl | 3 |
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() <= $root/meta/overview/article_count]"/> + )/self::command/atom:feed/atom:entry[position() <= $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> |