Hacking Wordpress - Link In The Title (update 2)

Written by Zealus on November 10, 2008 – 3:13 pm -

As I have just figured out after some of the upgrades the external link in the title hack was, indeed, broken. In fact, I am somewhat puzzled, as it worked on some of my installations and didn’t work on others.

It turns out that the method of obtaining the permalink for the post is returning the canonical URI no matter what permalink system has been set up (I use custom on this blog). For example, even if you have something SEO-friendly, the code

$permĀ  = $post_id->guid;

would still return http://www.istudioweb.com/?p=427 as a link to this post. The right way of doing it now (before WP 2.7 arrives) is change the above line to:

$permĀ  = get_permalink($post_id);

That’s it. Should work.

P.S. Updated the downloadable txt file. Click here to view.

Popularity: 10%

Feel free to share the content:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • SphereIt
  • Sphinn
  • TwitThis
  • Propeller
  • LinkedIn
Tags: , ,

You might also be interested in reading this:

Tags: , ,
Posted in Main | No Comments »

Post Halloween Web Trends

Written by Zealus on November 7, 2008 – 3:03 pm -

After Halloween long gone and other holidays coming on, I went through Google Trends to see what the trends say. Turns out - Halloween is the most important costume and party holiday. As you can see from the picture above, there is a very strong spike on each Halloween for all three words: “halloween” (blue), “costume” (orange) and “party” (red). There’s no spike on Christmas, no spike on 4th of July, no other spikes as far as I can see.

Note to entrepreneurs - it’s a good idea to set up an emergency costume delivery, or even mobile costume stores. Shouldn’t be a big problem and the higher markup is well justified. Either deliver something ordered online or set up a mobile store so that the whole block could shop.

Popularity: 13%

Feel free to share the content:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • SphereIt
  • Sphinn
  • TwitThis
  • Propeller
  • LinkedIn
Tags: , , ,

You might also be interested in reading this:

Tags: , , ,
Posted in Main | No Comments »

Spam From Citysearch (continued)

Written by Zealus on October 17, 2008 – 1:28 pm -

Just three hours after I posted my rant on Citysearch spam I got a new message from the Angie Eckford. You might think there was an apology or at least a word “sorry”…

So did I. Boy, were we both wrong!

Through 157 words of the reply (not counting signature and subject) there was not a single use of words “sorry”, “apology” or “regret”. What was there, though, are explanation on what went wrong (okay, I don’t know how to use Mail Merge too, but I don’t use it as an excuse), what that person was trying to do (send out a promotion to as many people as possible) and accusations that my previous post made “the entire company tuned into your message you placed online and negative comment about me“.

At least someone listened this time.

Since the first post went public I feel the need to reply here, on this blog as well. I do hope this won’t happen again - neither to me, nor to other people who might have been interested in Citysearch services. After all, CItysearch service seem to be popular and someone somewhere is probably very happy using it.

We have learned our lessons here - mine are “think twice before doing business with Citysearch” and “don’t use your main e-mail even with companies that look big”.

Popularity: 30%

Feel free to share the content:
  • del.icio.us
  • Digg
  • Technorati
  • Reddit
  • StumbleUpon
  • SphereIt
  • Sphinn
  • TwitThis
  • Propeller
  • LinkedIn
Tags: , , , , , ,

You might also be interested in reading this:

Tags: , , , , , ,
Posted in annoyances | No Comments »