aboutsummaryrefslogtreecommitdiff
path: root/source/01_raw/article_feed.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'source/01_raw/article_feed.xsl')
-rw-r--r--source/01_raw/article_feed.xsl10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/01_raw/article_feed.xsl b/source/01_raw/article_feed.xsl
index 96f918d..18c8d51 100644
--- a/source/01_raw/article_feed.xsl
+++ b/source/01_raw/article_feed.xsl
@@ -2,7 +2,6 @@
<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"
>
@@ -11,14 +10,13 @@
<xsl:include href="[utility/remove_namespace.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="00_content/meta.xml" target="meta"/>
+ <datasource type="main" mode="full" source="00_content/article_feed.xml" target="feed"/>
+ <datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
<target mode="plain" value="article_feed.xml"/>
</xsl:variable>
-<xsl:template match="meta">
- <xsl:apply-templates mode="remove_namespace" select="InputXSLT:external-command(
- 'curl http://blog.kummerlaender.eu/atom.xml'
- )/self::command/atom:feed/atom:entry[position() &lt;= $root/meta/overview/article_count]"/>
+<xsl:template match="feed">
+ <xsl:apply-templates mode="remove_namespace" select="entry[position() &lt;= $root/meta/overview/article_count]"/>
</xsl:template>
</xsl:stylesheet>