summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2016-08-30 21:17:44 +0200
committerYves Fischer <yvesf+git@xapek.org>2016-08-30 21:17:44 +0200
commit8d9be7142cb9644ae382d85aececfb8f1b1402fb (patch)
tree397505049b33d769d0cbe931711aaf9b28e06f06
parent0f4a29126300100ea5cf79e4b616ff9e933176a1 (diff)
downloadheise-eisschrank-8d9be7142cb9644ae382d85aececfb8f1b1402fb.tar.gz
heise-eisschrank-8d9be7142cb9644ae382d85aececfb8f1b1402fb.zip
Extend filter
-rw-r--r--filter.xsl5
1 files changed, 3 insertions, 2 deletions
diff --git a/filter.xsl b/filter.xsl
index a76d8f8..362eefa 100644
--- a/filter.xsl
+++ b/filter.xsl
@@ -29,9 +29,11 @@
<xsl:if test="contains($title, 'Dropbox') or contains($summary, 'Dropbox')">SKIP</xsl:if>
<xsl:if test="contains($title, 'Facebook')">SKIP</xsl:if>
<xsl:if test="contains($title, 'Zuckerberg')">SKIP</xsl:if>
+ <xsl:if test="contains($title, 'Blizzard')">SKIP</xsl:if>
<xsl:if test="contains($title, 'Uber')">SKIP</xsl:if>
<xsl:if test="contains($title, 'Microsoft')">SKIP</xsl:if>
<xsl:if test="contains($title, 'Windows 10')">SKIP</xsl:if>
+ <xsl:if test="starts-with($title, 'IFA: ')">SKIP</xsl:if>
</xsl:template>
<xsl:template match="atom:entry">
@@ -44,8 +46,7 @@
<xsl:choose>
<xsl:when test="contains($testResult, 'SKIP')">
<xsl:comment>
- Skip entry:
- <xsl:copy-of select="."/>
+ <xsl:copy-of select="concat('Skip entry: ', atom:id/text(), ' - ', atom:title/text())"/>
</xsl:comment>
</xsl:when>
<xsl:otherwise>