TIP SocialBookmarkingAddOn is not installed on Foswiki.org.

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

delicious.gif

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

Digg

digg.gif

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

Reddit

reddit.gif

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

Facebook

facebook.gif

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

StumbleUpon

stumbleupon.gif

%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
SocialBookmarkingAddOn.md5md5 SocialBookmarkingAddOn.md5 manage 189 bytes 13 Apr 2009 - 22:14 AndrewJones  
SocialBookmarkingAddOn.tgztgz SocialBookmarkingAddOn.tgz manage 6 K 13 Apr 2009 - 22:13 AndrewJones  
SocialBookmarkingAddOn.zipzip SocialBookmarkingAddOn.zip manage 8 K 13 Apr 2009 - 22:13 AndrewJones  
SocialBookmarkingAddOn_installerEXT SocialBookmarkingAddOn_installer manage 4 K 13 Apr 2009 - 22:14 AndrewJones  
delicious.gifgif delicious.gif manage 96 bytes 13 Apr 2009 - 22:12 AndrewJones Delicious Logo
digg.gifgif digg.gif manage 245 bytes 13 Apr 2009 - 22:12 AndrewJones Digg Logo
facebook.gifgif facebook.gif manage 173 bytes 13 Apr 2009 - 22:13 AndrewJones Facebook Logo
reddit.gifgif reddit.gif manage 1 K 13 Apr 2009 - 22:12 AndrewJones Reddit Logo
stumbleupon.gifgif stumbleupon.gif manage 1023 bytes 13 Apr 2009 - 22:13 AndrewJones StumbleUpon Logo
Topic revision: r5 - 09 Jan 2012, PaulHarvey - This page was cached on 07 Dec 2016 - 17:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License