Sphinn it with Slashdigglicious

Add Sphinn to Slashdigglicious

October 18th, 2007

Slashdigglicious is a WordPress plugin which places social bookmarking buttons at the bottom of a post. The follow code must be places AFTER the similar code for Stumbleupon in /plugins/slashdigglicious.php

$sphinn = '<a href="http://www.sphinn.com/submit?url='
. urldecode($link)
. '&title='
. urldecode($title)
. '" title="Sphinn Me!">'
. '<img src="http://www.navycs.com/images/sphinn.gif"'
. ' width="16" height="16" alt="[Sphinn]" />'
. '</a>';

In the same file you would then add $sphinn, to the bottom of the array – again, right after Stumbleupon.

If you don’t have Slashdigglicious you can download it here

I have no problem hosting the image but you can always download it and host it yourself.

Additional Code for Propeller, Bloglines and My Yahoo

Same rules apply as above, you must add each to the array!

$propeller = '<a href="http://www.propeller.com/submit/?U='
. "$link&T=$title"
. '" rel="nofollow"'
. ' title="Propeller">'
. '<img src="http://www.navycs.com/images/prop.gif"'
. ' width="16" height="16" alt="[Propeller]" />'
. '</a>';

$bloglines = '<a href="http://www.bloglines.com/sub/'
. urldecode($link)
. '" rel="nofollow"'
. ' title="Add to Bloglines">'
. '<img src="http://www.navycs.com/images/bloglines.png"'
. ' width="16" height="16" alt="[Bloglines]" />'
. '</a>';

$yahoo = '<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u='
. urldecode($link)
. '&='
. "$title"
. '" rel="nofollow"'
. ' title="My Yahoo!">'
. '<img src="http://www.navycs.com/images/yahoomyweb.png"'
. ' width="16" height="16" alt="[Yahoo]" />'
. '</a>';

Twitter

$twitter = '<a href="http://twitthis.com/twit?'
. "url=$link"
. '" rel="nofollow"'
. ' title="Twit This">'
. '<img src="http://www.navycs.com/images/twitter.png"'
. ' width="16" height="16" alt="[Twitter]" />'
. '</a>';

Of course feel free to test any of the buttons below :) The RSS Feed button is a site feed, not a comment feed… I may want to clarify that somewhere *Thinks* :)


Read Comments (0)

More Interesting Posts

No Comments »

No comments yet.

RSS feed for comments on this post.
TrackBack URI

Leave a comment

Navy Recruiting Blog about the enlistment process and benefits of service. This is NOT an official Navy web site. The opinions expressed are my own, and may not be in-line with Big Navy.
© Navy CyberSpace Blog
Privacy Policy