Leslie Russell writes about how to add a Spurl Button to your WordPress posts to help visitors tag your post to Spurl.
Bascially, the technique involves using the following - replacing the capital letters with the proper text - and wrapping the link around an Add to Spurl button:
<a href="http://www.spurl.net/spurl.php?title=YOUR TITLE &url=http://YOUR.BLOG.COM &blocked=YOUR DESCRIPTION">
For this blog it would look like this:
<a href="http://www.spurl.net/spurl.php?title=Lorelle on WordPress&url=http://lorelle.wordpress.com &blocked=WordPress tips, advice, techniques, and news">
The problem with this is that it Spurls the entire blog and not the specific post. And unfortunately, with wordpress.com blogs, that’s the best you can do unless you hand code the specifics with every post, or create a bookmarklet that helps you to do this by hand (neat idea, though. Anyone?).
With full version WordPress blogs you can put the link in your template files with template tags that will automatically include your post title and link, so when the post is Spurled, the post is Spurled and not just the whole site.
<a href="http://www.spurl.net/spurl.php?title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>">
This version is different as it doesn’t include the description. WordPress doesn’t offer descriptions of specific posts, though the description for your entire blog might work, but only if the link is within the WordPress Loop. That means the link must be within the post area, like below the title or just after the content, and not in the sidebar or footer.
<a href="http://www.spurl.net/spurl.php?title=<?php the_title(); ?>&url=<?php echo get_permalink() ?>&blocked=<?php the_description(); ?>">
Site Search Tags: spurl, wordpress, tag, tagging, button










One Comment
awesome, this is is exactly what i was looking for, thanks.
2 Trackbacks/Pingbacks
[...] Adding Post to Spurl Button on Your WordPress Posts [...]
[...] Adding Post to Spurl Button on Your WordPress Posts [...]
Post a Comment