You are here: Extensions Web>SocialBookmarkingAddOn (17 Apr 2009)

SocialBookmarkingAddOn

Add social bookmarking links to a topic

Usage

To insert these onto a page you can use the %INCLUDE% macro with the appropriate section name for the site. For example, to add a button to Digg you can use the following:

%INCLUDE{"System.SocialBookmarkingAddOn" section="digg" }%

For more information about the %INCLUDE% macro, see VarINCLUDE? .

To save you needing to write a bunch of includes on each topic you want the bookmarks to appear on, you can create your own macro in Main.SitePreferences with the code below (see raw text):

  • Set SOCIALBOOKMARKS =

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Then in any topic the %SOCIALBOOKMARKS% macro will render as:

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

Warning: Can't find topic System.SocialBookmarkingAddOn

This can also be done in the WebPreferences topic, for a specific web, or in a topic.

Sites

Here is a list of supported sites, along with the verbatim code you would use to include them.

Delicious

%INCLUDE{"System.SocialBookmarkingAddOn" section="delicious" }%

Digg

%INCLUDE{"System.SocialBookmarkingAddOn" section="digg" }%

Reddit

%INCLUDE{"System.SocialBookmarkingAddOn" section="reddit" }%

Facebook

%INCLUDE{"System.SocialBookmarkingAddOn" section="facebook" }%

StumbleUpon

%INCLUDE{"System.SocialBookmarkingAddOn" section="stumbleupon" }%

Adding Other Sites

Please feel free to modify this extension and add other sites. If you don't have access to the Foswiki SVN repository, please create a task at http://foswiki.org/Tasks/SocialBookmarkingAddOn and someone may check it in on your behalf.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Author(s): Foswiki:Main.AndrewJones
Copyright: © 2009, Andrew Jones
License: GPL (Gnu General Public License)
Plugin Release: 1.0
Plugin Version: 3428 (2009-04-13)
Change History:  
13 April 2009: Foswikitask:Item1446 - Initial version, with support for Delicious, Digg, Reddit, Facebook and StumbleUpon - Foswiki:Main.AndrewJones
Dependencies: None
Home page: http://foswiki.org/Extensions/SocialBookmarkingAddOn
Support: http://foswiki.org/Support/SocialBookmarkingAddOn

Topic attachments
I Attachment Action Size Date Who Comment
elsemd5 SocialBookmarkingAddOn.md5 manage 0.2 K 13 Apr 2009 - 22:14 AndrewJones  
ziptgz SocialBookmarkingAddOn.tgz manage 6.4 K 13 Apr 2009 - 22:13 AndrewJones  
zipzip SocialBookmarkingAddOn.zip manage 8.9 K 13 Apr 2009 - 22:13 AndrewJones  
elseEXT SocialBookmarkingAddOn_installer manage 4.7 K 13 Apr 2009 - 22:14 AndrewJones  
gifgif delicious.gif manage 0.1 K 13 Apr 2009 - 22:12 AndrewJones Delicious Logo
gifgif digg.gif manage 0.2 K 13 Apr 2009 - 22:12 AndrewJones Digg Logo
gifgif facebook.gif manage 0.2 K 13 Apr 2009 - 22:13 AndrewJones Facebook Logo
gifgif reddit.gif manage 1.0 K 13 Apr 2009 - 22:12 AndrewJones Reddit Logo
gifgif stumbleupon.gif manage 1.0 K 13 Apr 2009 - 22:13 AndrewJones StumbleUpon Logo
Topic revision: r3 - 17 Apr 2009 - 08:10:26 - AndrewJones
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads