View Full Version : How to add social bookmarks buttons?
alien
Feb 12th 2007, 8:01 am
Does anyone know how can I add digg, delicious, Furl and technorati buttons to my sites through PHP script
I want to use PHP script on html site
nico_swd
Feb 12th 2007, 8:05 am
This might be useful.
http://beautifulbeta.blogspot.com/2006/09/social-bookmarking-revisited.html
designcode
Feb 12th 2007, 8:28 am
Thanks a lot nico, nice sharing, I was looking for same thing (y)
alien
Feb 12th 2007, 9:48 am
This might be useful.
http://beautifulbeta.blogspot.com/2006/09/social-bookmarking-revisited.html
I am looking for PHP script not for javascript
Loco.M
Feb 12th 2007, 9:52 am
you can go to digg del. red. all those social bookmarks sites and get the code from them, and I'm sure they have various version.. All I've ever used is the html code..
picouli
Feb 12th 2007, 10:07 am
http://www.calevans.com/view.php/page/notable
This is a WordPress plugin but it's quite easy to slightly alter the code and slap it in your website.
If you are really in a hurry, this is the code I use (you need to use the graphics from the package above and put them in /images/blogbling. And obviously $url and $title are the URL and title of your page... ;)
del.icio.us:
<a href="http://del.icio.us/post?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to delicious: <?= $title ?>" target="_blank"><img src="/images/blogbling/delicious_s.png" style="padding: 1px;" border="0"></a>
Digg
<a href="http://digg.com/submit?phase=2&url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to digg: <?= $title ?>" target="_blank"><img src="/images/blogbling/digg_s.png" style="padding: 1px;" border="0"></a>
Newsvine
<a href="http://www.newsvine.com/_tools/seed&save?u=<?= urlencode($url) ?>&h=<?= urlencode($title) ?>" title="Add to newsvine: <?= $title ?>" target="_blank"><img src="/images/blogbling/newsvine_s.png" style="padding: 1px;" border="0"></a>
reddit
<a href="http://reddit.com/submit?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to reddit: <?= $title ?>" target="_blank"><img src="/images/blogbling/reddit_s.png" style="padding: 1px;" border="0"></a>
technorati
<a href="http://technorati.com/faves/?add=<?= urlencode($title) ?>" title="Add to technorati: <?= $title ?>" target="_blank"><img src="/images/blogbling/technorati_s.png" style="padding: 1px;" border="0"></a>
Yahoo
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?= urlencode($url) ?>&t=<?= urlencode($title) ?>" title="Add to Yahoo!: <?= $title ?>" target="_blank"><img src="/images/blogbling/yahoo_s.png" style="padding: 1px;" border="0"></a>
spurl
<a href="http://www.spurl.net/spurl.php?title=<?= urlencode($title) ?>&url=<?= urlencode($url) ?>" title="Add to spurl: <?= $title ?>" target="_blank"><img src="/images/blogbling/spurl_s.png" style="padding: 1px;" border="0"></a>
Smarking
<a href="http://smarking.com/editbookmark/?url=<?= urlencode($url) ?>" title="Add to smarking: <?= $title ?>" target="_blank"><img src="/images/blogbling/smarking_s.png" style="padding: 1px;" border="0"></a>
ma.gnolia.com
<a href="http://ma.gnolia.com/bookmarklet/add?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to Ma.gnolia: <?= $title ?>" target="_blank"><img src="/images/blogbling/magnolia_s.png" style="padding: 1px;" border="0"></a>
HTH, cheers! :)
alien
Feb 13th 2007, 4:35 am
http://www.calevans.com/view.php/page/notable
This is a WordPress plugin but it's quite easy to slightly alter the code and slap it in your website.
If you are really in a hurry, this is the code I use (you need to use the graphics from the package above and put them in /images/blogbling. And obviously $url and $title are the URL and title of your page... ;)
del.icio.us:
<a href="http://del.icio.us/post?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to delicious: <?= $title ?>" target="_blank"><img src="/images/blogbling/delicious_s.png" style="padding: 1px;" border="0"></a>
Digg
<a href="http://digg.com/submit?phase=2&url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to digg: <?= $title ?>" target="_blank"><img src="/images/blogbling/digg_s.png" style="padding: 1px;" border="0"></a>
Newsvine
<a href="http://www.newsvine.com/_tools/seed&save?u=<?= urlencode($url) ?>&h=<?= urlencode($title) ?>" title="Add to newsvine: <?= $title ?>" target="_blank"><img src="/images/blogbling/newsvine_s.png" style="padding: 1px;" border="0"></a>
reddit
<a href="http://reddit.com/submit?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to reddit: <?= $title ?>" target="_blank"><img src="/images/blogbling/reddit_s.png" style="padding: 1px;" border="0"></a>
technorati
<a href="http://technorati.com/faves/?add=<?= urlencode($title) ?>" title="Add to technorati: <?= $title ?>" target="_blank"><img src="/images/blogbling/technorati_s.png" style="padding: 1px;" border="0"></a>
Yahoo
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?= urlencode($url) ?>&t=<?= urlencode($title) ?>" title="Add to Yahoo!: <?= $title ?>" target="_blank"><img src="/images/blogbling/yahoo_s.png" style="padding: 1px;" border="0"></a>
spurl
<a href="http://www.spurl.net/spurl.php?title=<?= urlencode($title) ?>&url=<?= urlencode($url) ?>" title="Add to spurl: <?= $title ?>" target="_blank"><img src="/images/blogbling/spurl_s.png" style="padding: 1px;" border="0"></a>
Smarking
<a href="http://smarking.com/editbookmark/?url=<?= urlencode($url) ?>" title="Add to smarking: <?= $title ?>" target="_blank"><img src="/images/blogbling/smarking_s.png" style="padding: 1px;" border="0"></a>
ma.gnolia.com
<a href="http://ma.gnolia.com/bookmarklet/add?url=<?= urlencode($url) ?>&title=<?= urlencode($title) ?>" title="Add to Ma.gnolia: <?= $title ?>" target="_blank"><img src="/images/blogbling/magnolia_s.png" style="padding: 1px;" border="0"></a>
HTH, cheers! :)
All above script is not working on html site :(
nico_swd
Feb 13th 2007, 5:12 am
Change the extension to .php or use the Javascript snippet above.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.