diff options
author | Adrian Kummerlaender | 2019-04-13 17:37:10 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2019-04-13 17:37:10 +0200 |
commit | 714a92a163645bb436b1e8f4c56a818656c35f8a (patch) | |
tree | 6309e2623062af6a32f6149b39607a0904056681 /source/01_raw | |
parent | 8505560ec12b96a3bcc9369352bf85faf3b9698c (diff) | |
download | Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.gz Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.bz2 Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.lz Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.xz Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.zst Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.zip |
Remove newly extracted features
i.e. Overview is now a mostly pure aggregator again.
The new commit / blip feature is now maintained in `blip.kummerlaender.eu`.
Diffstat (limited to 'source/01_raw')
-rw-r--r-- | source/01_raw/blip_feed.xsl | 22 | ||||
-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() <= $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"> |