src/rss_converter_twitter.com.xsl: make images more adaptive
[tweeper.git] / src / rss_converter_pump.io.xsl
index bf9f674..66e73cd 100644 (file)
@@ -1,7 +1,7 @@
 <!--
   Stylesheet to convert Pump.io activity streams to RSS.
 
-  Copyright (C) 2013-2014  Antonio Ospite <ao2@ao2.it>
+  Copyright (C) 2013-2018  Antonio Ospite <ao2@ao2.it>
 
   This file is part of tweeper.
 
@@ -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"/>