src/rss_converter_pump.io.xsl: fix getting the channel logo URL
authorAntonio Ospite <ao2@ao2.it>
Wed, 6 Jun 2018 12:46:07 +0000 (14:46 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 6 Jun 2018 12:46:07 +0000 (14:46 +0200)
src/rss_converter_pump.io.xsl

index dea6155..66e73cd 100644 (file)
@@ -89,7 +89,7 @@
                         <xsl:value-of select="$channel-link"/>
                     </link>
                     <url>
-                        <xsl:value-of select="//div[@id='profile-block']/span/img[@class='img-rounded media-object']/@src"/>
+                        <xsl:value-of select="//div[@id='profile-block']/span/img[contains(@class, 'img-rounded media-object')]/@src"/>
                     </url>
                 </image>
                 <xsl:apply-templates select="//div[@id='user-content-activities']//ul[@id='major-stream']/li"/>