-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhconsole.plugin.xml
executable file
·42 lines (38 loc) · 1.11 KB
/
hconsole.plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8" ?>
<pluggable type="plugin">
<name>HConsole</name>
<license url="http://www.apache.org/licenses/LICENSE-2.0.html">Apache Software License 2.0</license>
<url>http://habariproject.org/</url>
<author url="http://habariproject.org/">Habari Community</author>
<guid>7cda959b-28df-4ce1-ad9a-7a1723727e0b</guid>
<version>0.1</version>
<description><![CDATA[A live Habari Console.]]></description>
<copyright>2009</copyright>
<help>
<value>
<![CDATA[
<p>You can evaluate just code and have the result shown below the text box:</p>
<pre><code>echo HABARI_PATH;
echo "foobar";</code></pre>
<p>Or, you can add filters, actions, theme functions, xmlrpc functions. For example to filter post title:</p>
<pre><code>filter_post_title {
function foo($a) {
return $a . " BOOOO!";
}
function boo($a) {
return $a . " FOOOO!";
}
}</code ></pre>
<p>Or an action:</p>
<pre><code>action_init {
function foo($a) {
echo "PONIES!";
}
}</code></pre>
]]>
</value>
</help>
<provides>
<feature url="http://wiki.habariproject.org/en/feature/console">console</feature>
</provides>
</pluggable>