<?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 : Document List - All Communities</title>
    <link>http://www.jivesoftware.com/jivespace/index.jspa?view=documents</link>
    <description>Latest Documents in Jivespace</description>
    <language>en</language>
    <pubDate>Sat, 21 Nov 2009 06:16:49 GMT</pubDate>
    <generator>Jive SBS 3.0.8 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-21T06:16:49Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Logan Lexington</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9179</link>
      <description>&lt;!-- [DocumentBodyStart:75563882-6c33-41ad-98a4-0553c1a8e90f] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.logansoflexington.com"&gt;Men&amp;rsquo;s Clothing Lexington KY&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.logansoflexington.com"&gt;Allen Edmonds Lexington KY&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.logansoflexington.com"&gt;Bills khakis Lexington KY&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.logansoflexington.com"&gt;Ike behar Lexington KY&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:75563882-6c33-41ad-98a4-0553c1a8e90f] --&gt;</description>
      <pubDate>Sat, 21 Nov 2009 06:15:46 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9179</guid>
      <dc:date>2009-11-21T06:15:46Z</dc:date>
      <clearspace:dateToText>6 hours, 46 minutes ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>lexhomes</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9178</link>
      <description>&lt;!-- [DocumentBodyStart:d61f9452-ddde-4871-bdb9-56851d6d8096] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.lexhomes.com/zrealestateman"&gt;lex ky real estate&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.lexhomes.com/zrealestateman"&gt;homes for sale lex ky&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.lexhomes.com/zrealestateman"&gt;kentucky horse farms&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.lexhomes.com/zrealestateman"&gt;real estate Lexington ky&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d61f9452-ddde-4871-bdb9-56851d6d8096] --&gt;</description>
      <pubDate>Sat, 21 Nov 2009 06:09:35 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9178</guid>
      <dc:date>2009-11-21T06:09:35Z</dc:date>
      <clearspace:dateToText>6 hours, 52 minutes ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>RobertBrown.pdf</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9174</link>
      <description>&lt;!-- [DocumentBodyStart:a5cc0158-395e-49c8-b06c-21c10402ee05] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a5cc0158-395e-49c8-b06c-21c10402ee05] --&gt;</description>
      <pubDate>Fri, 20 Nov 2009 22:56:26 GMT</pubDate>
      <author>michael@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9174</guid>
      <dc:date>2009-11-20T22:56:26Z</dc:date>
      <clearspace:dateToText>13 hours, 58 minutes ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>JW09 Session: Maximizing Engagement Through Community Design: Schwab Case Study</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9121</link>
      <description>&lt;!-- [DocumentBodyStart:798da9db-6084-4382-a9ac-0139a08bf0c0] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:798da9db-6084-4382-a9ac-0139a08bf0c0] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">presentation</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jw09</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld09</category>
      <pubDate>Thu, 19 Nov 2009 01:51:38 GMT</pubDate>
      <author>michael@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9121</guid>
      <dc:date>2009-11-19T01:51:38Z</dc:date>
      <clearspace:dateToText>14 hours, 8 minutes ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>JW09 Session: Geeks, Poets, and Everybody Else: How NetApp Fast Tracks Community Growth</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9077</link>
      <description>&lt;!-- [DocumentBodyStart:60eee935-a6fa-4ac2-a244-a81c6a6df811] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:60eee935-a6fa-4ac2-a244-a81c6a6df811] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">presentation</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jw09</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld09</category>
      <pubDate>Tue, 17 Nov 2009 21:52:41 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9077</guid>
      <dc:date>2009-11-17T21:52:41Z</dc:date>
      <clearspace:dateToText>14 hours, 53 minutes ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>How to clear specific document from DocumentCache</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9151</link>
      <description>&lt;!-- [DocumentBodyStart:86e80ada-799d-4a4e-9e39-f4840c29a1b4] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Today,&amp;#160;&amp;#160; After I updated the workflowid of&amp;#160; a document, I didn't get the workflowid of the document because after update, the doucment I got from&lt;/p&gt;&lt;p&gt;documentManager is cached, not searched from the database. In this situation, how to get the latest document information? Before get the doucment&lt;/p&gt;&lt;p&gt;from the documentManagement, remove the doucment cache form the documentCache.&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160; Here is the Java Code.&lt;/p&gt;&lt;!--[CodeBlockStart:23d28322-6c6c-4afd-97a8-7f910bd584a7]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;DbDocumentManager documentManager = (DbDocumentManager) JiveApplication.getContext().getDocumentManager();
documentManager.getDocumentCache().remove(caseLink.getDocID());
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:23d28322-6c6c-4afd-97a8-7f910bd584a7]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160; DocumentManager is an interface and class DocumentManagerProxy implements it.&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160; ExtendedDocumentManager is an interface and extends DocumentManager. The DbDocumentManager implements ExtendedDocumentManager interface.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;About Cache, please refer to &lt;/span&gt;&lt;a class="jive-link-wiki-small" href="http://www.jivesoftware.com/jivespace/docs/DOC-4060" target="_blank"&gt;http://www.jivesoftware.com/jivespace/docs/DOC-4060&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:86e80ada-799d-4a4e-9e39-f4840c29a1b4] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?14&amp;container=2096">documentcache</category>
      <pubDate>Fri, 20 Nov 2009 08:36:24 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9151</guid>
      <dc:date>2009-11-20T08:36:24Z</dc:date>
      <clearspace:dateToText>1 day, 3 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>documentManager and documentManagerImpl</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-8979</link>
      <description>&lt;!-- [DocumentBodyStart:0a7b5d57-cb53-42c9-881a-914a7abb0b06] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; Today, I always got DocumentProxy from documentManager.getDocument(docID), the DbDocument should be returned.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DocumentManager is a interface, that is extened by ExtendedDocumentManager and implemented by DocumentManagerProxy&lt;br/&gt;Document is a interface, that is implmented by both DbDocument DocumentProxy.In DocumentManagerProxy, &lt;br/&gt;the getDocument(docID) returms Document. I don't know whether the Document is DbDocument or DocumentProxy. In my bean definition file,&lt;br/&gt;the documentManager is referenced to documentManager, but in clearspace bean definition files, the documentManager is always refered to&lt;br/&gt;documentManagerImpl. In the clearspace bean definition files, the documentManager is the name of DocumentManagerProxy, while &lt;br/&gt;DbDocumentManager is the name of DbDocumentManager.&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Then I found that the DbDocumentManager is implementation of ExtendedDocumentManager. Exactly ,the getDocument(docID) of DbDocumentManger&lt;br/&gt;returns DbDocument. so im my bean definition file, the documentManager should reference to documentManagerImpl, not the docuementManager.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0a7b5d57-cb53-42c9-881a-914a7abb0b06] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?14&amp;container=2096">documentmanager</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?14&amp;container=2096">documentmanagerimpl</category>
      <pubDate>Thu, 12 Nov 2009 09:19:54 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-8979</guid>
      <dc:date>2009-11-12T09:19:54Z</dc:date>
      <clearspace:dateToText>1 day, 4 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Clearspace community API about Document</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-7181</link>
      <description>&lt;!-- [DocumentBodyStart:2f353bd6-a580-4bbb-b2bc-3fe2314ffaf2] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;1. How to get a document&lt;/p&gt;&lt;p&gt;&lt;span&gt;2. How to create a document&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3. How to publish a document&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:cf3130a9-57c6-4410-85c8-4001759f9927]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="darkgreen"&gt;/**
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; * @throws UnauthorizedException 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; * @throws CommunityNotFoundException 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; * 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; */&lt;/font&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="navy"&gt;&lt;b&gt;public&lt;/b&gt;&lt;/font&gt; com.landesk.miner.bean.Document createDocument(
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; com.landesk.miner.bean.Document document) &lt;font color="navy"&gt;&lt;b&gt;throws&lt;/b&gt;&lt;/font&gt; Exception &lt;font color="navy"&gt;{&lt;/font&gt;
&amp;nbsp;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DocumentManager documentManager = JiveApplication.getContext().getDocumentManager();
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; CommunityManager communityManager = JiveApplication.getContext().getCommunityManager();
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Community community = &lt;font color="navy"&gt;&lt;b&gt;null&lt;/b&gt;&lt;/font&gt;;
&amp;nbsp;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; community = communityManager.getCommunity(document.getCommunityID());
&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; DocumentBean documentBean = &lt;font color="navy"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/font&gt; DocumentBean();
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setUserID(document.getUserID());
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setDocumentTypeID(1L);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setContainerID(document.getCommunityID());
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setContainerType(JiveConstants.COMMUNITY);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="darkgreen"&gt;//Case title can be null&lt;/font&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setTitle(document.getSubject()== &lt;font color="navy"&gt;&lt;b&gt;null&lt;/b&gt;&lt;/font&gt; ? &lt;font color="red"&gt;"Case:"&lt;/font&gt; + document.getIDInSource() + &lt;font color="red"&gt;" Subject"&lt;/font&gt; : document.getSubject());
&lt;font color="darkgreen"&gt;//&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setBodyText("abc");&lt;/font&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentBean.setBodyText(document.getBody());
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Document communityDocument = documentProvider.getDocument(documentBean);
&amp;nbsp;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.debug(&lt;font color="red"&gt;"documentManager:"&lt;/font&gt; + documentManager);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.debug(&lt;font color="red"&gt;"documentProvider:"&lt;/font&gt; + documentProvider);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.debug(&lt;font color="red"&gt;"community:"&lt;/font&gt; + community);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.debug(&lt;font color="red"&gt;"communityDocument:"&lt;/font&gt; + communityDocument);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.debug(&lt;font color="red"&gt;"Case:"&lt;/font&gt; + document.getIDInSource());
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; documentManager.addDocument(community, communityDocument, Collections.emptyMap());
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; communityDocument.setDocumentState(DocumentState.PUBLISHED);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; communityDocument.save();
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; document.setIDInTarget(String.valueOf(communityDocument.getID()));
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.info(&lt;font color="red"&gt;"Case:"&lt;/font&gt; + document.getIDInSource() + &lt;font color="red"&gt;" in Salesforce export successed."&lt;/font&gt; + &lt;font color="red"&gt;"Document:"&lt;/font&gt; + document.getIDInTarget() + &lt;font color="red"&gt;" creation&amp;#160; succeedeed."&lt;/font&gt;);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="navy"&gt;&lt;b&gt;return&lt;/b&gt;&lt;/font&gt; document;
&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="navy"&gt;}&lt;/font&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:cf3130a9-57c6-4410-85c8-4001759f9927]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;4. Plain Text to Community Document Body&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; String myDocumentBody = "Hello\n\n";&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; String doc = WikiContentHelper.wikiToEditorHtml(myDocumentBody);&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; logger.info(doc);&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; When myDocumentBody="Hello\n\n"&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; the Reuslt is &amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Hello&amp;lt;/p&amp;gt;&amp;lt;p style="height: 8pt;"&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;p style="height: 8pt;"&amp;gt; &amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; When myDocumentBody = "&amp;lt;a href=\"abc\"&amp;gt;Cause:&amp;lt;/a&amp;gt;",&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; the result is &amp;lt;body&amp;gt;&amp;lt;p&amp;gt;&amp;lt;a href="abc"&amp;gt;Cause: &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; When myDocumentBody ="&amp;lt;company&amp;gt;landesk&amp;lt;/company&amp;gt;"&amp;#160;&amp;#160; the result is &amp;lt;body&amp;gt;&amp;lt;p&amp;gt;&amp;amp;lt;company&amp;amp;gt;landesk&amp;amp;lt;/company&amp;amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; When myDocumentBody ="Cause:" + case.getCause() and the case.getCause() return null,&amp;#160; the result is &amp;lt;body&amp;gt;&amp;lt;p&amp;gt;Cause:null&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;5. Wiki Text to Document&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160; communityDocument.setBody(WikiContentHelper.&lt;strong&gt;unknownContentToJiveDoc&lt;/strong&gt;(WikiContentHelper.wikiToEditorHtml(document.getBody())));&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160; WikiContentHelper.&lt;strong&gt;wikiToJiveDocument&lt;/strong&gt;(textBody);&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2f353bd6-a580-4bbb-b2bc-3fe2314ffaf2] --&gt;</description>
      <pubDate>Tue, 25 Aug 2009 05:45:48 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-7181</guid>
      <dc:date>2009-08-25T05:45:48Z</dc:date>
      <clearspace:dateToText>1 day, 4 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Testing Links</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-8919</link>
      <description>&lt;!-- [DocumentBodyStart:0ff09efb-123a-4f41-8ac1-cee7f8277ec0] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;&lt;a class="jive-link-external-small" href="http://www.google.com"&gt;http://www.google.com&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0ff09efb-123a-4f41-8ac1-cee7f8277ec0] --&gt;</description>
      <pubDate>Mon, 09 Nov 2009 03:27:43 GMT</pubDate>
      <author>russellstephens@gmail.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-8919</guid>
      <dc:date>2009-11-09T03:27:43Z</dc:date>
      <clearspace:dateToText>1 day, 8 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Rules for Determining a User's Locale / Language (2.0.5 and later)</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-3254</link>
      <description>&lt;!-- [DocumentBodyStart:788a5d01-8d27-4b70-834d-b1ca5988bfd3] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;To clarify confusion, this is the official explanation of the rules used for determining a user's locale in Clearspace 2.0.5 and 2.5. (Bugs in previous releases meant that these rules were not consistently followed.)&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Use the locale set in user's preference. &lt;/strong&gt;&lt;br/&gt;&lt;ul&gt;&lt;li&gt;If the user does not have a locale preference set, or if the user is an anonymous guest, then proceed to the next rule. &lt;br/&gt;&lt;/li&gt;&lt;li&gt;If the user has selected a locale that is not supported by Clearspace, then the application global locale is used.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Use the locale preference from the user's browser. &lt;/strong&gt;&lt;br/&gt;&lt;ul&gt;&lt;li&gt;If no locale has been set, or if the locale selected is not supported by Clearspace, then proceed to the next rule.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Use the community specific locale.&lt;/strong&gt; &lt;br/&gt;&lt;ul&gt;&lt;li&gt;If no community specific locale has been set, or if one cannot be determined (there are some rare cases where this cannot be done, e.g. from AJAX requests), then proceed to the next rule.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Use the application global locale.&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Reasoning&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;If a locale can be supported, then the user's preferences must be honored above all. It makes no sense to force a language setting on a user if they cannot understand and if their own language is available.&lt;/li&gt;&lt;li&gt;A user's Clearspace preference trumps all. Even though it's important to honor the locale set in the browser, allowing the user to customize their account is a good idea. The user might be surfing in an internet cafe in Thailand and might not want or be able to mess with the browser settings. Logging into Clearspace provides them with their own locale, just like they were back at home.&lt;/li&gt;&lt;li&gt;Providing a community specific locale is only useful for those cases when a supportable locale has not been selected by the user. In this case the application is trying to make the best choice for them. It should never trump the user's own desires (unless the locale is not supported). Implementing the community specific locale is also very tricky and does not always work. There are some requests where there is no context available and so it is not possible to determine what community space the user may have been browsing when they made their request. It can also be confusing to the user as the language may switch as they move from one page to another. &lt;/li&gt;&lt;/ul&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Languages Supported in Clearspace and Jive SBS by version number:&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table border="1" cellpadding="3" cellspacing="0" style="border: 1px solid #000000; width: 198px; height: 334px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th align="center" style="background-color:#6690BC;" valign="middle"&gt;&lt;span style="color: #ffffff;"&gt;&lt;strong&gt;Version&lt;/strong&gt;&lt;/span&gt;&lt;/th&gt;&lt;th align="center" style="background-color:#6690BC;" valign="middle"&gt;Languages&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2.5.0&lt;/td&gt;&lt;td&gt;English&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2.5.1&lt;/td&gt;&lt;td&gt;Spanish&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2.5.2&lt;/td&gt;&lt;td&gt;&lt;p&gt;French&lt;/p&gt;&lt;p&gt;Simplified Chinese&lt;/p&gt;&lt;p&gt;German&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;2.5.3&lt;/td&gt;&lt;td&gt;&lt;p&gt;Italian&lt;/p&gt;&lt;p&gt;Japanese&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3.0.0&lt;/td&gt;&lt;td&gt;English&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3.0.1&lt;/td&gt;&lt;td&gt;&lt;p&gt;Spanish&lt;/p&gt;&lt;p&gt;French&lt;/p&gt;&lt;p&gt;Simplified Chinese&lt;/p&gt;&lt;p&gt;German&lt;/p&gt;&lt;p&gt;Italian&lt;/p&gt;&lt;p&gt;Japanese&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h4&gt;FAQ&lt;/h4&gt;&lt;p&gt;&lt;strong&gt;Q&lt;/strong&gt;: The application lists a large number of different Locales, but only a few have translations.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;A&lt;/strong&gt;: This occurs by design, all the locales are listed because the application displays numbers / dates in those locales even if the language isn't supported. &lt;strong&gt;UPDATE&lt;/strong&gt;: In 3.0/4.0, SBS only lists the languages that have been translated.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:788a5d01-8d27-4b70-834d-b1ca5988bfd3] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1005">language</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1005">locale</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1005">2.0</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1005">2.5</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1005">international</category>
      <pubDate>Wed, 10 Sep 2008 17:12:58 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-3254</guid>
      <dc:date>2008-09-10T17:12:58Z</dc:date>
      <clearspace:dateToText>1 day, 15 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>JW09 Session: Facebook for spies: Enabling social collaboration in a community trained not to collaborate</title>
      <link>http://www.jivesoftware.com/jivespace/docs/DOC-9089</link>
      <description>&lt;!-- [DocumentBodyStart:0652b1c8-8690-46b3-9be6-4a3f58795d74] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0652b1c8-8690-46b3-9be6-4a3f58795d74] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">presentation</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jw09</category>
      <category domain="http://www.jivesoftware.com/jivespace/tags?containerType=?700&amp;container=1127">jiveworld09</category>
      <pubDate>Tue, 17 Nov 2009 23:26:05 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/docs/DOC-9089</guid>
      <dc:date>2009-11-17T23:26:05Z</dc:date>
      <clearspace:dateToText>1 day, 21 hours ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

