rss_converter_instagram.com.xsl: use better name for the image variable
[tweeper.git] / rss_converter_instagram.com.xsl
index d9dfcdd..1bb580f 100644 (file)
@@ -40,7 +40,7 @@
     <xsl:variable name="user-name" select="//ProfilePage/XML_Serializer_Tag/user/username"/>
 
     <xsl:template match="//media/nodes/XML_Serializer_Tag">
-        <xsl:variable name="item-content-src" select="./display_src"/>
+        <xsl:variable name="item-content-image" select="./display_src"/>
         <xsl:variable name="item-permalink" select="concat($BaseURL, '/p/', ./code, '/')"/>
         <xsl:variable name="item-content-title" select="concat($user-name, ': ', $item-permalink, ', comments: ', ./comments/count, ', likes: ', ./likes/count)"/>
         <item>
@@ -60,7 +60,7 @@
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
                 <p><xsl:value-of select="$item-content-title"/></p><br />
-                <a href="{$item-permalink}"><img src="{$item-content-src}" /></a>
+                <a href="{$item-permalink}"><img src="{$item-content-image}" /></a>
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>
             <xsl:if test="$generateEnclosure = 1">