Social Bookmarking
Documentation > Wiki Syntax > Social Bookmarking
It is easy to add "social bookmarking" buttons to your pages — just write [[social]] (without any parameters) and get:
//<![CDATA[
var socialspan = $j("#social95643")[0];
var els = socialspan.getElementsByTagName("a");
for (var i=0;i<els.length;i++) {
els[i].href = els[i].href.replace("TITLE", encodeURIComponent(document.title));
}
//]]>
This is equivalent to:
[[social blinklist,blogmarks,connotea,del.icio.us,digg,fark,feedmelinks,furl,linkagogo,newsvine,netvouz,reddit,simpy,spurl,wists,yahoomyweb,facebook]]You can also choose only selected services, e.g. to show digg, furl, del.icio.us and Facebook use:
[[social digg,furl,del.icio.us,facebook]]and get:
//<![CDATA[
var socialspan = $j("#social11249")[0];
var els = socialspan.getElementsByTagName("a");
for (var i=0;i<els.length;i++) {
els[i].href = els[i].href.replace("TITLE", encodeURIComponent(document.title));
}
//]]>
Tip: Use social bookmarking! It is always a good idea to put social shortcuts under an article or inside your side bar.












