+ <xsl:variable name="channel-link">
+ <xsl:choose>
+ <xsl:when test="$location-name != ''">
+ <xsl:variable name="location-id" select="//LocationsPage/location/id"/>
+ <xsl:value-of select="concat($BaseURL, '/explore/locations/', $location-id)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="concat($BaseURL, '/', $user-name)"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="channel-image" select="//ProfilePage/user/profile_pic_url"/>