Warning: If you don't understand sarcasm and satire, you might as well leave right now.

Get Rich Quick Someday

 

Sign-up below to get a free copy of my The One Secret The Gurus Don't Want You To Know ebook!

 

Subscribe and Get Updates

rss subscribe button

Subscribe to get updates whenever this blog is updated!

small rss button Via RSS

email envelope Via Email

* You'll only get emails when new content is posted. No spam here.

24
Sep

Stupid Social Bookmarking

After seeing the numerous bloggers who had integrated “Digg this” and other links directly into their blog posts, I became a bit jealous and pissed off, as you could expect. I need all the help I can get, so I set off in a search for how to put these infamous little icons on my blog…

And luckily I found a site telling me how. It gave me the code and everything. Turns out you just put some code in your single.php or comments.php file and then it does everything automatically after that!

The post is from a while ago at exploding-boy.

So I opened up my files and pasted the code in there. And guess what - it didn’t work! So I tweaked the code a bit to no avail…

Luckily though, some other bloggers were there to save the day - people had posted comments like “thanks for the tip, I’ve used it on my blog.” Great! I can check out how they did it and I’ll be all set!

To my surprise, these bloggers tricked me - none of them actually had the code on their blogs! At least not on the ones they linked to, so it did me no good. So much for the friendly blogosphere!

I had had it, and decided to draw on my very own php coding skills to figure it out. (By the way, I have no php coding skills…)

But luckily I do have some mental reasoning ability and figured out how to tweak my links so they work! Well, it looks like they work… ;)

Want to know how I did it?

  1. I used the proper html linking tags, with proper quotation placement. (The very basics.)
  2. I changed the & to its html equivalent in the links themselves. (More basic html.)
  3. I added a question mark to any > in the php code that didn’t already have one. (This was the key step.)

I think that was it.

Oh yes, one last tip: Add this code near the bottom of your theme’s single.php file or the top of your comments.php file, depending which file is present in your theme. (Sorry if you aren’t using Wordpress!)

nice cold beer

Click here to buy me a beer, because damn, I need to get drunk to forget how much internet marketing sucks!


3 Comments so far

  1. Jukka on September 25th, 2006

    Thanks.

    Even thought I’m not sure how much it helps to add these links with every blog post.

    digg.com is mystery to me, I really don’t see logic why some headlines get more diggs than some others.

  2. Handy on September 26th, 2006

    You might like this in plugin form too? http://push.cx/sociable Main advantage being that you can easily add/switch social thingies without editing templates.

  3. Nikolas on October 17th, 2006

    Bad news my friend.

    What you said you’ve done wont work for any post.

    Instead of this, use the urlencode function ;)

Leave a reply

Close
E-mail It