2007
03.26

I was reading Wikipedia on social bookmarking which lead me to this social-bookmarking-button-generator. It’s really useful so I use it immediately. After selecting all website, I download the zipped file. I extract and upload the images to the server (at “/images” folder) and then i modify ‘single.php’ by copy-paste and modify the content into

single.php

<?php
$current_url = 'http://'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
$current_url = str_replace(":", "%3A", $current_url);
$current_url = str_replace("/", "%2F", $current_url);
$current_url = str_replace("&", "%26", $current_url);
$current_title = urlencode(the_title("","",FALSE));
?><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="http://digg.com/submit?phase=2&url=<?php
echo $current_url; ?>&title=<?php  echo $current_title; ?>' target='_self'>
<img border='0' src='/images/digg.png?x87603' alt='Digg This' title='Digg This' /></a></td><td><a href='http://del.icio.us/post?url=<?php echo $current_url; ?>&title=<?php
echo $current_title; ?>' target='_self'><img border='0'
src='/images/delicious.png?x87603' alt='del.icio.us' title='del.icio.us' /></a></td><td><a href='http://reddit.com/submit?url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>'
target='_self'><img border='0' src='/images/reddit.png?x87603' alt='Reddit' title='Reddit' /></a></td><td><a href='http://www.spurl.net/spurl.php?url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/spurl.png?x87603' alt='Spurl' title='Spurl' /></a></td><td><a href='http://www.furl.net/storeIt.jsp?u=<?php
echo $current_url; ?>&t=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/furl.png?x87603' alt='Furl' title='Furl' /></a></td><td><a href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=<?php
echo $current_url; ?>&Title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/blinklist.png?x87603' alt='BlinkList' title='BlinkList' /></a></td><td><a href='http://ma.gnolia.com/bookmarklet/add?url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/magnolia.png?x87603' alt='ma.gnolia.com' title='ma.gnolia.com' /></a></td><td><a href='http://www.newsvine.com/_tools/seed&save?u=<?php
echo $current_url; ?>&h=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/newsvine.png?x87603' alt='Newsvine' title='Newsvine' /></a></td><td><a href='http://www.simpy.com/simpy/LinkAdd.do?href=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/simpy.png?x87603' alt='Simpy' title='Simpy' /></a></td><td><a href='http://technorati.com/faves?add=<?php
echo $current_url; ?>' target='_self'><img border='0' src='/images/technorati.png?x87603'
alt='Technorati' title='Technorati' /></a></td><td><a href='http://cgi.fark.com/cgi/fark/edit.pl?new_url=<?php
echo $current_url; ?>&new_comment=<?php echo $current_title;
?>&linktype=Misc' target='_self'><img border='0' src='/images/fark.png?x87603' alt='Fark'
title='Fark' /></a></td><td><a href='http://www.blinkbits.com/bookmarklets/save.php?v=1&source_url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
lt;img border='0' src='/images/blinkbits.png?x87603' alt='Blinkbits' title='Blinkbits' /></a></td><td><a href='http://tailrank.com/share/?text=&link_href=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/tailrank.png?x87603' alt='TailRank' title='TailRank' /></a></td><td><a href='http://www.netvouz.com/action/submitBookmark?url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>&description=<?php
echo $current_title; ?>' target='_self'><img border='0' src='/images/netvouz.png?x87603'
alt='Netvouz' title='Netvouz' /></a></td><td><a href='http://www.mister-wong.de/index.php?action=addurl&bm_url=<?php
echo $current_url; ?>' target='_self'><img border='0' src='/images/mrwong.png?x87603'
alt='Mr. Wong' title='Mr. Wong' /></a></td><td><a href='http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php
echo $current_url; ?>&t=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/yahoomyweb.png?x87603' alt='YahooMyWeb' title='YahooMyWeb' /></a></td><td><a href='http://blogmarks.net/my/new.php?mini=1&simple=1&url=<?php
echo $current_url; ?>&title=<?php echo $current_title; ?>' target='_self'>
<img border='0' src='/images/blogmarks.png?x87603' alt='Blogmarks' title='Blogmarks' /></a></td></tr>
</table>

Have fun with yours =)

GD Star Rating
loading...

Incoming Search Term

Advertise Here

No Comment

Add Your Comment