IBM Connections: Creating Wiki pages with advanced templates: Difference between revisions

From Wiki
(Criou a página com "= Example 1 = == Preview == Ficheiro:FileWiki.png == Code == <nowiki> <entry xmlns="http://www.w3.org/2005/Atom"> <title type="text">My Second Page</title> <content...")
 
 
Line 5: Line 5:


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


  <nowiki>
  <nowiki>
Line 52: Line 54:
  </nowiki>
  </nowiki>


Save and close
After run curl command as describe on [[IBM Connections: Using Connections API on Wiki Pages]]


= Ver também =
= Ver também =

Latest revision as of 19:49, 24 November 2016

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