-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathshare.plugin.xml
27 lines (26 loc) · 1.35 KB
/
share.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
<?xml version="1.0" encoding="utf-8" ?>
<pluggable type="plugin">
<name>Share</name>
<license url="http://www.apache.org/licenses/LICENSE-2.0.html">Apache Software License 2.0</license>
<author url="http://mgdm.net/">Michael Maclean</author>
<version>0.1</version>
<url>http://mgdm.net/</url>
<description><![CDATA[This plugin generates Facebook OpenGraph data, and adds it to the header of Habari posts. It can also embed a Facebook Like button, and a Twitter Share button to the bottom of posts.]]></description>
<copyright>2010</copyright>
<guid>ea7d6966-2b2a-40d7-a808-2a0e19024ea4</guid>
<help>
<value><![CDATA[
<p>This plugin generates Facebook OpenGraph data, and adds it to the header of posts. It can also embed a Facebook 'Like' button, and a Twitter 'Share' button to the bottom of posts.</p>
<p>To use, add code like this to the header of your theme:</p>
<pre>
<?php if ($request->display_entry && isset($post)) {
$theme->show_share_metadata($post);
} ?>
</pre>
<p>To display the Facebook and Twitter widgets, add code like this to the single entry part of the theme:</p>
<pre>
<?php $theme->show_share_ui($post); ?>
</pre>
]]></value>
</help>
</pluggable>