<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Jivespace: Message List - StringUtils.abbreviate() return wrong result</title>
    <link>http://www.jivesoftware.com/jivespace/community/support/jive_forums?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 09 Jul 2008 13:14:56 GMT</pubDate>
    <generator>Jive SBS 3.0.8 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2008-07-09T13:14:56Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: StringUtils.abbreviate() return wrong result</title>
      <link>http://www.jivesoftware.com/jivespace/message/104779?tstart=0#104779</link>
      <description>&lt;!-- [DocumentBodyStart:5027fe70-4680-47cf-a8c0-0c76aaddefde] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;That was the case,&lt;/p&gt;&lt;p&gt;Thanks, I have created my own function though.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5027fe70-4680-47cf-a8c0-0c76aaddefde] --&gt;</description>
      <pubDate>Wed, 09 Jul 2008 13:14:56 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/104779?tstart=0#104779</guid>
      <dc:date>2008-07-09T13:14:56Z</dc:date>
      <clearspace:dateToText>1 year, 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: StringUtils.abbreviate() return wrong result</title>
      <link>http://www.jivesoftware.com/jivespace/message/104719?tstart=0#104719</link>
      <description>&lt;!-- [DocumentBodyStart:d2d7df6d-afb7-4fec-913f-c7c1146e33a5] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Is there a newline at the beginning of the message? If there is, it'll chop the message right away (or wherever the \n is) and all you'll get is the text leading up to that newline. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d2d7df6d-afb7-4fec-913f-c7c1146e33a5] --&gt;</description>
      <pubDate>Wed, 09 Jul 2008 01:56:36 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/104719?tstart=0#104719</guid>
      <dc:date>2008-07-09T01:56:36Z</dc:date>
      <clearspace:dateToText>1 year, 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>StringUtils.abbreviate() return wrong result</title>
      <link>http://www.jivesoftware.com/jivespace/message/104199?tstart=0#104199</link>
      <description>&lt;!-- [DocumentBodyStart:210f8b12-282a-4c9b-a03a-c61fce0c6771] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I have the following line of code :&lt;/p&gt;&lt;p style="height: 8pt"&gt;&lt;/p&gt;&lt;p&gt;StringUtils.abbreviate( StringUtils.removeIgnorableCharacters(message.getBody()), 500 )&lt;/p&gt;&lt;p style="height: 8pt"&gt;&lt;/p&gt;&lt;p&gt;It is supposed to format the body of message for a RSS feed.&lt;/p&gt;&lt;p&gt;However, passing a message with a body of over 500 characters result in "..." .&lt;/p&gt;&lt;p&gt;The removeIgnorableCharacters() returns the correct body. &lt;/p&gt;&lt;p style="height: 8pt"&gt;&lt;/p&gt;&lt;p&gt;Is it reproduceable ?&lt;/p&gt;&lt;p style="height: 8pt"&gt;&lt;/p&gt;&lt;p&gt;Thanks, &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:210f8b12-282a-4c9b-a03a-c61fce0c6771] --&gt;</description>
      <pubDate>Fri, 04 Jul 2008 20:02:53 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/104199?tstart=0#104199</guid>
      <dc:date>2008-07-04T20:02:53Z</dc:date>
      <clearspace:dateToText>1 year, 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

