From 38f5ca4169e6a77ddc1559bcdd243e9e92612bb5 Mon Sep 17 00:00:00 2001 From: Antonio Ospite <ao2@ao2.it> Date: Mon, 10 Jul 2017 10:05:31 +0200 Subject: [PATCH] rss_converter_instagram.com.xsl: improve the comment about full names --- src/rss_converter_instagram.com.xsl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 != ''"> -- 2.1.4