Previous experiments revealed that my pamphlets aren't diggworthy, despite the presence of OL/UL lists. Because I mention search and stuff like that every once in a while, I decided to submit a horror story to Sphinn to test the waters over there.
Adding Sphinn-it! widgets to my posts hopefully helps promoting Sphinn, but with Blogger that turned into kinda nightmare. To prevent you from jumping through infinite try-and-error hoops, here is how it works:
Classic templates:
Search for $BlogItemBody$ and below the </div> put
<script type='text/javascript'>submit_url='<$BlogItemPermalinkUrl$>';</script>
<script src='http://sphinn.com/evb/button.php' type='text/javascript'/></script>
(Blogger freaks out when you omit the non-standard ;</script> after the self-closing second tag, hence stick with the intentional syntax error.)
Newish templates:
Check "Expand Widget Templates"
Search for data:post.body/ and below the </p> put
<b:if cond='data:post.url'>
<p><script type='text/javascript'>submit_url='<data:post.url/>';</script>
<script src='http://sphinn.com/evb/button.php' type='text/javascript'/></p>
</b:if>
(After saving the changes Blogger replaces some single quotes with HTML entities, but it works though. Most probably one could do that in a more elegant way, but once I saw the badges pointing to the correct URL --both in the posts and on the main page-- I gave up.)
Have fun sphinning my posts!
this is grea thtat there is a social bookmarking site strictly for us marketers :)
ReplyDeleteThx Sebastian.. I'll do it for my blog!
ReplyDelete