aboutsummaryrefslogtreecommitdiff
path: root/source/01_raw
diff options
context:
space:
mode:
Diffstat (limited to 'source/01_raw')
-rw-r--r--source/01_raw/blip_feed.xsl22
-rw-r--r--source/01_raw/blog_feed.xsl (renamed from source/01_raw/article_feed.xsl)4
2 files changed, 24 insertions, 2 deletions
diff --git a/source/01_raw/blip_feed.xsl b/source/01_raw/blip_feed.xsl
new file mode 100644
index 0000000..3ebebba
--- /dev/null
+++ b/source/01_raw/blip_feed.xsl
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:InputXSLT="function.inputxslt.application"
+ exclude-result-prefixes="InputXSLT"
+>
+
+<xsl:include href="[utility/datasource.xsl]"/>
+<xsl:include href="[utility/remove_namespace.xsl]"/>
+
+<xsl:variable name="meta">
+ <datasource type="main" mode="full" source="00_content/blip_feed.xml" target="feed"/>
+ <datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
+ <target mode="plain" value="blip_feed.xml"/>
+</xsl:variable>
+
+<xsl:template match="feed">
+ <xsl:apply-templates mode="remove_namespace" select="entry[position() &lt;= $root/meta/overview/blip_count]"/>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/source/01_raw/article_feed.xsl b/source/01_raw/blog_feed.xsl
index 18c8d51..bb555fc 100644
--- a/source/01_raw/article_feed.xsl
+++ b/source/01_raw/blog_feed.xsl
@@ -10,9 +10,9 @@
<xsl:include href="[utility/remove_namespace.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="00_content/article_feed.xml" target="feed"/>
+ <datasource type="main" mode="full" source="00_content/blog_feed.xml" target="feed"/>
<datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
- <target mode="plain" value="article_feed.xml"/>
+ <target mode="plain" value="blog_feed.xml"/>
</xsl:variable>
<xsl:template match="feed">