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.