rss_converter_instagram.com.xsl: use better name for the image variable
authorAntonio Ospite <ao2@ao2.it>
Sat, 25 Jul 2015 10:36:58 +0000 (12:36 +0200)
committerAntonio Ospite <ao2@ao2.it>
Sat, 25 Jul 2015 10:36:58 +0000 (12:36 +0200)
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="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>
         <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 />
             <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">
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>
             <xsl:if test="$generateEnclosure = 1">