{"id":5582,"date":"2013-07-23T22:18:50","date_gmt":"2013-07-24T05:18:50","guid":{"rendered":"http:\/\/localhost\/exoblog\/?p=5582"},"modified":"2023-06-05T16:39:06","modified_gmt":"2023-06-05T14:39:06","slug":"brand-new-xwiki-5-integrated-into-the-upcoming-exo-platform-4-1","status":"publish","type":"post","link":"https:\/\/www.exoplatform.com\/blog\/brand-new-xwiki-5-integrated-into-the-upcoming-exo-platform-4-1\/","title":{"rendered":"Brand new XWiki 5 integrated into the upcoming eXo Platform 4.1"},"content":{"rendered":"<p>Platform 4.1 will be introducing an upgraded version of XWiki thanks to the XWiki team, which has been incredibly supportive throughout the process, Platform 4.1 will benefit from XWiki 5.0, which includes different bug fixes related to the rendering engine, and it will also support new macros such as:<br \/>\n<!--more--><\/p>\n<h2>Formula Macro (LaTex Syntax)<\/h2>\n<p>[table th=&#8221;0&#8243; border=&#8221;1&#8243;]<br \/>\n{{formula fontSize=&#8221;small&#8221;}}\\sum_{n=1}^\\infty\\frac{1}{n^2} = \\frac{\\pi^2}{6}{{\/formula}} [attr style=&#8221;border: 1px solid black; font-size: 13px; padding-top: 27px;&#8221;] | <a href=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/formula-macro.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-5603\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/formula-macro.png\" alt=\"formula-macro\" width=\"97\" height=\"57\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/formula-macro.png 97w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/formula-macro-51x30.png 51w\" sizes=\"(max-width: 97px) 100vw, 97px\" \/><\/a> [attr style=&#8221;border: 1px solid black;&#8221;]<br \/>\n[\/table]<br \/>\nLatex syntax is one of the most famous ways to generate nice formula with more than <a href=\"https:\/\/en.wikipedia.org\/wiki\/Math_markup\" target=\"_blank\" rel=\"noopener\">150 mathematical symbols.<\/a><\/p>\n<h2>HTML Macro<\/h2>\n<p>&nbsp;<\/p>\n<p>[table th=&#8221;0&#8243; border=&#8221;1&#8243; ]<\/p>\n<pre class=\"theme:github lang:default decode:true\">{{html clean=\"false\"}}\n&lt;html&gt;\n\t&lt;head&gt;\n    \t&lt;style&gt;\n    \t.black_overlay{\n            display: none;\n            position: absolute;top: 0%;\n            left: 0%;width: 100%;\n            height: 100%;z-index:1001; \n        }\n    \t.white_content {\n            display: none;\n            position: absolute;\n            top: 25%;left: 25%;\n            width: 50%;height: 50%;\n            padding: 16px;border: 3px solid #0088CC; \n            background-color: white; \n            z-index:1002;\n            overflow: auto;\n        }\n\t&lt;\/style&gt;\n\t&lt;\/head&gt;\n\t&lt;body&gt;\n    \t&lt;p&gt; &lt;a href = \"javascript:void(0)\" onclick = \"document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'\"&gt;Click here&lt;\/a&gt;&lt;\/p&gt;\n    \t&lt;div id=\"light\" class=\"white_content\"&gt;&lt;img style=\"height: 277px;\" src=\"https:\/\/www.exoplatform.com\/\"&gt; &lt;br \/&gt;&lt;a href = \"javascript:void(0)\" onclick = \"document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'\"&gt;Close&lt;\/a&gt;&lt;\/div&gt;\n    \t&lt;div id=\"fade\" class=\"black_overlay\"&gt;&lt;\/div&gt;\n\t&lt;\/body&gt;\n&lt;\/html&gt;\n{{\/html}}<\/pre>\n<p>[attr style=&#8221;border: 1px solid black; font-size: 13px;&#8221;] | <a href=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5609\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css.png\" alt=\"image and css\" width=\"230\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css.png 679w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-300x210.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-675x473.png 675w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-468x328.png 468w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-337x236.png 337w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-187x131.png 187w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-100x70.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/image-and-css-43x30.png 43w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a> [attr style=&#8221;border: 1px solid black;padding-top: 19px;&#8221;]<br \/>\n[\/table]<\/p>\n<p>You can render any kind of HTML code inside your wiki page; moreover, you can also use your wiki syntax inside with the parameter wiki=&#8221;true&#8221;!<\/p>\n<h2>Footnote Macro &amp; Put Footnotes Macro<\/h2>\n<p>&nbsp;<\/p>\n<p>[table th=&#8221;0&#8243; border=&#8221;1&#8243;]<br \/>\n<b>A title<\/b>~~Lorem ipsum dolor sit amet{{footnote}}Footnote 1{{\/footnote}}, consectetuer~~adipiscing elit. Vivamus lacus est, euismod at, lobortis eu, rhoncus~~et, leo{{footnote}}Footnote 2{{\/footnote}}.~~{{putFootnotes\/}} [attr style=&#8221;border: 1px solid black;font-size: 13px;&#8221;] | <a href=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/footnote-macro.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-5612\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/footnote-macro.png\" alt=\"footnote-macro\" width=\"300\" height=\"128\" \/><\/a> [attr style=&#8221;border: 1px solid black;&#8221;]<br \/>\n[\/table]<\/p>\n<p>Creating a knowledge referential is always useful, especially when you can easily add some references. You will not have to manage the order or the rendering, as this macro will do it for you.<\/p>\n<h2>Rss Macro<\/h2>\n<p>&nbsp;<\/p>\n<p>[table th=&#8221;0&#8243; border=&#8221;1&#8243;]<br \/>\n{{rss feed=&#8221;<a href=\"http:\/\/localhost\/exoblog\/feed\/\" class=\"broken_link\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost\/exoblog\/feed\/<\/a>&#8221; content=&#8221;true&#8221; image=&#8221;true&#8221; count=&#8221;2&#8243; \/}} [attr style=&#8221;border: 1px solid black;font-size: 13px;&#8221;] | <a href=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5641\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro.png\" alt=\"rss-macro\" width=\"300\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro.png 484w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro-300x184.png 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro-360x221.png 360w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro-200x123.png 200w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro-100x61.png 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/rss-macro-49x30.png 49w\" sizes=\"(max-width: 484px) 100vw, 484px\" \/><\/a> [attr style=&#8221;border: 1px solid black;&#8221;]<br \/>\n[\/table]<\/p>\n<p>Keep an eye on some rss inside your wiki pages. Some parameters are available to display the content as an excerpt, to display a thumbnail if one exists, and to set the number of items you want to display!<\/p>\n<h2>Chart Macro<\/h2>\n<p>&nbsp;<\/p>\n<p>[table th=&#8221;0&#8243; border=&#8221;1&#8243;]<\/p>\n<pre class=\"theme:github striped:false marking:false ranges:false nums:false nums-toggle:false wrap-toggle:false plain:false lang:default highlight:0 decode:true \">{chart type=\"bar\" \nparams=\"document:Main.Data;table:table1;\nrange:B2-D5;series:columns;\" title=\"Chart Test\" \nwidth=\"320\" height=\"240\"}}\n|=|=X|=Y|=Z\n|Q1|1.2|3.4|1.3\n|Q2|4.5|3.4|2.3\n|Q3|1.2|4.5|9.0\n|Q4|3.4|1.2|1.2\n{{\/chart}<\/pre>\n<p>[attr style=&#8221;border: 1px solid black;font-size: 13px;&#8221;] | <a href=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5645\" src=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie.jpg\" alt=\"chart-macro-pie\" width=\"270\" srcset=\"https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie.jpg 325w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie-300x227.jpg 300w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie-312x236.jpg 312w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie-173x131.jpg 173w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie-100x76.jpg 100w, https:\/\/www.exoplatform.com\/blog\/wp-content\/uploads\/2013\/07\/chart-macro-pie-40x30.jpg 40w\" sizes=\"(max-width: 325px) 100vw, 325px\" \/><\/a> [attr style=&#8221;border: 1px solid black;&#8221;]<br \/>\n[\/table]<\/p>\n<p>The chart macro should display any information that you would like to present: it\u2019s possible to create bar chart, line chart, steps chart, and <a href=\"http:\/\/extensions.xwiki.org\/xwiki\/bin\/view\/Extension\/Chart+Macro\" target=\"_blank\" rel=\"noopener\">more<\/a>&#8230;<\/p>\n<p>XWiki 5 will be integrated into Platform 4.1, and while we just showed you a sneak peek of the edition\u2019s capabilities, much more is coming!<\/p>\n","protected":false},"excerpt":{"rendered":"Platform 4.1 will be introducing an upgraded version of XWiki thanks to the XWiki team, which has been incredibly supportive throughout the process, Platform 4.1 will benefit from XWiki 5.0, which includes different bug fixes related to the rendering engine, and it will also support new macros such as:","protected":false},"author":89,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[699],"tags":[],"lang":"en","translations":{"en":5582},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/5582"}],"collection":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/comments?post=5582"}],"version-history":[{"count":0,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/posts\/5582\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/media?parent=5582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/categories?post=5582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.exoplatform.com\/blog\/wp-json\/wp\/v2\/tags?post=5582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}