All posts in Code

Grab a nice name for your Facebook page!

So all too often I see real businesses and people that have Facebook fan pages with crazy long URLs.  Well guess what…  Facebook lets you go ahead and create a nice url for your fan page.

So instead of …

https://www.facebook.com/pages/Awesome-Business/12345671832489372-428

You can have …

https://www.facebook.com/awesomebiz

The second one is much nicer wouldn’t you agree?  The thing is there isn’t really a button to just go a head and do that.  You need to know stuff.  Luckily I know some stuff.  Here is what you do.

Visit http://facebook.com/username

As you can see it will give you a list of your pages.  Select a page and then type in the desired username for that page and you are done.  The only stipulation is that you have at least 25 likes on your page.

Enjoy!

 

Is Flash dead? I hope so.

As someone who was developing in Flash in 1997, I can definitely say I am experienced. Around 2006 as the web 2.0 movement kicked into gear, it dawned on me that the web was more about information, and useable access to that information, and not about bloated interfaces. I quickly became anti-Flash. Perhaps it was a bit too early. Unfortunately I had a hard time convincing my clients that Flash was not a long term web technology.

However now, with the help of our friends at Apple, and even our friends at Adobe, it is clear that Flash is truly dead. I am happy to share this link with you. Occupy Flash.

How to easily and quickly upload WordPress

So you downloaded WordPress and you are ready to get on the wonderful and exciting WP Train to development bliss.  One thing you may notice is that if you simply upload the unzipped WordPress folder to your server, it really takes a long time (damn you WYSIWYG files!).  This is because you are uploading each file separately.  Your FTP client accesses, uploads, then closes a mini connection for each file which takes way to long.  WordPress has a fairly small footprint (2.95MB zipped) but tons of individual files.  So what do you do? Continue Reading →

Tag Cloud Function

Here is a simple function to render a tag cloud.  It assumes you have an array of data ready for it.  Also I originally built this for use with a stupid set of data where each entry has a space seperated list of tags like: “geek hotdogs snowboarding” so this function will also take all of those tags, parse them out, and then do all the good stuff. The function will make a cloud out of any data in your table. a Just specify the column name when you call the function. For example you could make a cloud based on users and the number of times they have posted.
Continue Reading →