summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
50ccfa6)
The user name is not always defined, for example in case of locations,
so use the screen name in item titles.
<item>
<title>
<xsl:variable name="title-length" select="140"/>
<item>
<title>
<xsl:variable name="title-length" select="140"/>
- <xsl:variable name="item-content-title" select="normalize-space(concat($user-name, ': ', $item-content-caption))"/>
+ <xsl:variable name="item-content-title" select="normalize-space(concat($screen-name, ': ', $item-content-caption))"/>
<!-- ellipsize, inspired from http://stackoverflow.com/questions/13622338 -->
<xsl:choose>
<xsl:when test="string-length($item-content-title) > $title-length">
<!-- ellipsize, inspired from http://stackoverflow.com/questions/13622338 -->
<xsl:choose>
<xsl:when test="string-length($item-content-title) > $title-length">