<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Extensions</title><link>https://sourceforge.net/p/codak/home/Extensions/</link><description>Recent changes to Extensions</description><atom:link href="https://sourceforge.net/p/codak/home/Extensions/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 15 Sep 2011 17:52:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/codak/home/Extensions/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Extensions modified by wauter</title><link>https://sourceforge.net/p/codak/home/Extensions/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -31,3 +31,14 @@
   --&gt;
 &lt;/extension&gt;
 ~~~~~~
+
+Site content
+============
+
+An extension can provide [SiteContent] in the form of velocity templates, which will be accessible via the CoDAK web interface. CoDAK will look for them in the 'pages' directory in the JAR.
+
+Tools
+=====
+
+Entry point
+===========
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wauter</dc:creator><pubDate>Thu, 15 Sep 2011 17:52:21 -0000</pubDate><guid>https://sourceforge.net735ea023914e138134bc0f8541f28370ee63c481</guid></item><item><title>WikiPage Extensions modified by wauter</title><link>https://sourceforge.net/p/codak/home/Extensions/</link><description>An extension is a JAR file which may contain web content and triggers to execute Java code.

On start-up, CoDAK searches for extensions in the extensions directory and loads all extensions it finds. By default, the extensions directory is /usr/lib/codak/extensions, but this can be changed in the [Configuration].

An extension must contain a descriptor file, which is located in the JAR file in META-INF/codak-extension.xml. An basic descriptor file:

~~~~~~
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;extension&gt;
  &lt;!--
    The name should be chosen such that it is unique within a CoDAK setup, as it
    identifies the extension.
  --&gt;
  &lt;name&gt;org.example.package&lt;/name&gt;

  &lt;!--
    A short but descriptive, human readable title of the extension.
  --&gt;
  &lt;title&gt;My First Extension&lt;/title&gt;

  &lt;!--
    A free text description of the extension.
  --&gt;
  &lt;description&gt;This is a dummy extension. Please add content.&lt;/description&gt;

  &lt;!--
    Adding an entry point is optional, but it will let you add Java code.
  --&gt;
  &lt;!--
  &lt;entryPoint&gt;org.example.package.EntryPoint&lt;/entryPoint&gt;
  --&gt;
&lt;/extension&gt;
~~~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wauter</dc:creator><pubDate>Thu, 15 Sep 2011 15:47:29 -0000</pubDate><guid>https://sourceforge.net48922d205e3417c5dc5fc1aa16f49df5725a9c6f</guid></item></channel></rss>