
| Vendor | MindTouch |
| Type | Script |
| Categories | Widgets |
| Requires | MindTouch Deki 1.8.3 or later |
| Status | Stable |
| License | Free/Open Source |
| Manifest | http://scripts.mindtouch.com/addthis.xml |
Table of Contents
This extension allows you to add AddThis social bookmarking widgets to your wiki.
See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.
The following configuration settings are required to run this script (unless shown as optional).
| Name | Type | Description |
| publisher | str | AddThis account ID. Go to http://www.addthis.com to sign up. |
Embed a social bookmarking button.
<extension>
<title>AddThis Extension</title>
<label>AddThis</label>
<copyright>Copyright (c) 2006-2009 MindTouch, Inc.</copyright>
<description>This extension allows you to add AddThis social bookmarking widgets to your wiki.</description>
<uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/AddThis</uri.help>
<uri.logo>http://scripts.mindtouch.com/logos/addthis-logo.png</uri.logo>
<namespace>addthis</namespace>
<config>
<param name="publisher" type="str">AddThis account ID. Go to http://www.addthis.com to sign up.</param>
</config>
<function>
<name>bookmark</name>
<description>Embed a social bookmarking button.</description>
<return>
<html xmlns:eval="http://mindtouch.com/2007/dekiscript">
<body>
<script type="text/javascript">
addthis_url = location.href;
addthis_title = document.title;
addthis_pub = <eval:js>config['publisher']</eval:js>;
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
</body>
</html>
</return>
</function>
</extension>
| Output | ||
|