You are here:  » Social Bookmarking

Support Forum



Social Bookmarking

Submitted by mally on Tue, 2007-11-06 19:52 in

Hello Dave

Have you considered adding social bookmarking links to your script?

I am wondering how I could do it (using search engine friendly links)

thanks

Mally

Submitted by support on Wed, 2007-11-07 09:21

Hi Mally,

I haven't i'm afraid, but here's a good page with the HTML required for lots of social bookmarking tools...

http://3spots.blogspot.com/2006/02/30-social-bookmarks-add-to-footer.html

Using those examples, you will need to replace the placeholders such as <$BlogItemPermalinkURL$> with actual values for (presumably) the product pages on your site. In order to get the current product page URL, you could use:

<?php
  
if ($config_useRewrite)
  {
    
$url "http://".$_SERVER["HTTP_HOST"].$config_baseHREF."product/".tapestry_hyphenate($mainProduct["name"]).".html";
  }
  else
  {
    
$url "http://".$_SERVER["HTTP_HOST"].$config_baseHREF."products.php?q=".urlencode($mainProduct["name"]);
  }
?>

...then you could use $url in those bookmarking examples.

Cheers,
David.

Submitted by kempo on Wed, 2007-11-07 10:49

The best solution is using addthis script from www.addthis.com

Submitted by dbfcs on Wed, 2007-11-07 21:15

I'd agree with using www.addthis.com as it neatly houses all the relevant bookmarking buttons behind one button. This could easily be added to your html/header.php or html/footer.php file. How about just above your price comparison table in html/prices.php?