projects
/
tweeper.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b14b71
)
rss_converter_instagram.com.xsl: improve the comment about full names
author
Antonio Ospite <ao2@ao2.it>
Mon, 10 Jul 2017 08:05:31 +0000
(10:05 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Mon, 10 Jul 2017 08:21:27 +0000
(10:21 +0200)
src/rss_converter_instagram.com.xsl
patch
|
blob
|
history
diff --git
a/src/rss_converter_instagram.com.xsl
b/src/rss_converter_instagram.com.xsl
index
609be66
..
1549512
100644
(file)
--- 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 != ''">