projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2e4404
)
rss_converter_instagram.com.xsl: add a label if the content is a video
author
Antonio Ospite <ao2@ao2.it>
Sat, 25 Jul 2015 13:45:33 +0000
(15:45 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Sat, 25 Jul 2015 13:49:31 +0000
(15:49 +0200)
rss_converter_instagram.com.xsl
patch
|
blob
|
history
diff --git
a/rss_converter_instagram.com.xsl
b/rss_converter_instagram.com.xsl
index
cc540ce
..
4f1d14f
100644
(file)
--- a/
rss_converter_instagram.com.xsl
+++ b/
rss_converter_instagram.com.xsl
@@
-70,7
+70,12
@@
</pubDate>
<description>
<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
</pubDate>
<description>
<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
- <p><xsl:value-of select="$item-content-caption"/></p><br />
+ <p>
+ <xsl:if test="./is_video/text() = 1">
+ (Video)
+ </xsl:if>
+ <xsl:value-of select="$item-content-caption"/>
+ </p><br />
<a href="{$item-permalink}"><img src="{$item-content-image}" /></a>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
<a href="{$item-permalink}"><img src="{$item-content-image}" /></a>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>