From: Antonio Ospite <ao2@ao2.it> Date: Mon, 10 Jul 2017 08:05:31 +0000 (+0200) Subject: rss_converter_instagram.com.xsl: improve the comment about full names X-Git-Tag: v1.2.0~14 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/38f5ca4169e6a77ddc1559bcdd243e9e92612bb5?ds=sidebyside rss_converter_instagram.com.xsl: improve the comment about full names --- diff --git a/src/rss_converter_instagram.com.xsl b/src/rss_converter_instagram.com.xsl index 609be66..1549512 100644 --- a/src/rss_converter_instagram.com.xsl +++ b/src/rss_converter_instagram.com.xsl @@ -34,8 +34,14 @@ <xsl:variable name="user-name" select="//ProfilePage/user/username"/> - <!-- Some users do not specify the full name --> + <!-- + NOTE: some users do not specify the full name. + + Remember to handle this case when using it and fall-back to the plain + user name when appropriate. + --> <xsl:variable name="full-name" select="//ProfilePage/user/full_name"/> + <xsl:variable name="screen-name"> <xsl:choose> <xsl:when test="$full-name != ''">