Current version
Current version is 0.2 and should be considered still in testing.
Changelog:
- From 0.1: added background attribute. 1 means it will use CSS background to display icons (like in the example below), 0 means it will use HTML img tag. Defaults to 1.
Download:
- Plugin
- Icons
Supported sites
Currently supported are: del.icio.us, digg.com, stumbleupon.com, facebook.com, reddit.com
More will come in the next version and per request (you can find my email at http://www.anegdote.com).
Installation
- Install plugin per usual.
- Activate plugin per usual.
- Upload icons (from icons.zip) to your website (e.g. http://url/images/social)
Usage
- Include txp:cab_social in the article form.
- Use any of the following attributes:
- sites (default: delicious,digg,reddit,facebook,stumbleupon).
- A list of social bookmarking sites you would like to use, separated by commas. NO SPACES.
- tag (default: p)
- tag that will enclose each social bookmarking link (e.g. p, li, div, span, etc.)
- class (default: social)
- class for the tag above
- imgdir (disabled by default)
- An URL to directory where you stored icons (e.g. http://url/images/social or /images/social)
- imgclass (defualt: socialimage)
- class for the icon image
Icons
You can download the icons from: http://www.anegdote.com/fajlovi/social.zip
Example
To get a bar like at the bottom of this article, I used the following in my form:
<ul class="sociallist">
<txp:cab_social tag="li" imgdir="/slike/social" />
</ul>
And following in my stylesheet:
.sociallist
{
padding: 0;
margin: 0;
list-style: none;
}
.sociallist li
{
padding-right: 15px;
}
Bookmark