When opening new windows from your web page that link to external files, a common practice is to open them in a new window as not to deter the user from your site.
One method to do this in the past was to use
target="_blank" that tells the browser to open the link’s
href attribute in a new window. This, however, is deprecated in the Strict Doctype of W3C web standards so we should be trying to avoid using it whenever we can, and in this post I’ll show you exactly how it’s done.
Continue reading Open Windows in HTML with Standards Compliance
In the below examples I’ll use data from a fictional database table named “users”. We’re looking to return the 10 most recently added users with a date of birth later than January 1st 1970.
Continue reading Let Your Database Do The Work For You
Okay, so you’ve gone through those guides on setting up your new weblog, and followed all the advice on using social media to leverage your site into becoming über-successful overnight. The problem now is that those two elements are still detached. You’re posting all that relevant content on your website but nobody is around to click those links that direct to all that beautiful material.
This is not an article on improving your follower count or the “top 10 ways to drive traffic with SEO“, but it will definitely help in a different way. Today, I’ll show you how to automatically post your blog articles straight to your Twitter and Facebook accounts using your RSS feed as a stream.
For those of you writing #daily365 articles, or have signed up for Project52, this will be ideal. Let the computers do the work for you.
The service I use for this is called TwitterFeed, which you’ll need an account for. It’s all super easy and I’ll explain it after the jump. So anyway, here we go. Continue reading Auto-Post Your Blog to Twitter and Facebook
Actually, this one’s long overdue. My Tweet Cloud plugin for WordPress has recently passed over the 500 download mark and, as of last week, is now on its fifth release (v 1.4).
It’s had some significant improvements over its lifetime, and has quite frankly surprised me at how popular it has become. Especially from a script written in a night with nothing more than a simple idea behind it. Continue reading The New Improved Tweet Cloud And Why You Should Use It
At the point that your site becomes more complex, you look to ways of simplifying your page code to give yourself less headaches. Ultimately you’re looking for a way to separate that header that you’ve copy-pasted so many times to different static web pages, into a page that all your other pages can call, and will stay the same.
If like me you hadn’t heard about PHP until this point where you are looking to add in other scripts to your web pages, then now is a very good time to learn about PHP includes.
< ?php include( 'header.html' ); ?>
Continue reading The PHP Include
Today I’ll show you how to put an image beside external links on your site, or any other links for that matter. The effect is similar to the links in the References and External links sections of most Wikipedia pages. Continue reading Image beside link
:hover, which you have probably already used on anchor (
If you saw my tweets in the last couple of days mentioning a WordPress plugin, both writing it up and submitting it for checks, then this is the one they’re referring to.
You can download the plugin from the link on the WordPress plugin page or directly from here. Continue reading Tweet Cloud – my WordPress plugin
Or is it twitee? Or twitterer…?
Either way my lack of sleep has lead me onto Twitter tonight and I signed up for a shiny new account on it. Thought it best to put my caffeine-induced insomnia to some use.
Continue reading I’m a Twit
Probably one of the most amazing pieces of artificial intelligence, and perhaps even of technology, that I’ve seen in a good while.
Here’s a video from James May’s Big Ideas showing what the robot is capable of. Continue reading Honda’s robot Asimo