IBM Connections: Creating Wiki pages with advanced templates

From Wiki

Example 1

Preview

Ficheiro:FileWiki.png

Code

Create a file WikiNewPage.xml, with the following content:

<entry xmlns="http://www.w3.org/2005/Atom">
<title type="text">My Second Page</title>
<content type="text/html">
<![CDATA[<?xml version="1.0" encoding="UTF-8"?><p>
<div class="MyBox" style="border:1px solid #303030; background-color:#C0FF73; box-shadow:6px 6px 5px #909090; border-radius:4px; padding:8px; margin:0 20px 20px 0; float: left;">
	<h2 class="MyBoxTitle" style="font-size:12pt; font-weight:bold;">Title 01</h2>
	<div class="MyBoxItem1">
		<a href="%s" target="_blank" title="View Graph">Click Here 01</a></div>
	<div class="MyBoxItem2">
		<a href="%s" target="_blank" title="View Performance Metrics">Click Here 02</a>
	</div>
	<div class="MyBoxItem3">
		<a href="%s" target="_blank" title="View Error Log">Click Here 03</a>
	</div>
</div>
<div class="MyBox2" style="border:1px solid #303030; background-color:#FF8C92; box-shadow:6px 6px 5px #909090; border-radius:4px; padding:8px; margin:0 20px 20px 0; float: left;">
	<h2 class="MyBoxTitle" style="font-size:12pt; font-weight:bold;">Title 02</h2>
	<div class="MyBoxItem1">
		<a href="%s" target="_blank" title="View Graph">Click Here 04</a></div>
	<div class="MyBoxItem2">
		<a href="%s" target="_blank" title="View Performance Metrics">Click Here 05</a>
	</div>
	<div class="MyBoxItem3">
		<a href="%s" target="_blank" title="View Error Log">Click Here 06</a>
	</div>
</div>
<div class="MyBox3" style="border:1px solid #303030; background-color:#C0FF73; box-shadow:6px 6px 5px #909090; border-radius:4px; padding:8px; margin:0 20px 20px 0; float: left;">
	<h2 class="MyBoxTitle" style="font-size:12pt; font-weight:bold;">Title 03</h2>
	<div class="MyBoxItem1">
		<a href="%s" target="_blank" title="View Graph">Click Here 07</a></div>
	<div class="MyBoxItem2">
		<a href="%s" target="_blank" title="View Performance Metrics">Click Here 08</a>
	</div>
	<div class="MyBoxItem3">
		<a href="%s" target="_blank" title="View Error Log">Click Here 09</a>
	</div>
</div>
</p>]]>
</content>
<category term="wikipagetag1" />
<category term="wikipagetag2" />
<category scheme="tag:ibm.com,2006:td/type" term="page" label="page" />
</entry>
 

Save and close

After run curl command as describe on IBM Connections: Using Connections API on Wiki Pages

Ver também