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
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 (
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
After finally getting round to fixing my desktop background today (which had something to do with the whole “display web page on your desktop” thing, that I’ll explain at the end for those that have this problem), I decided to have a look around the internet for a nice new image for it. Continue reading Finding your perfect wallpaper with Google Image Search
This time I’ll show you how to make your own vertical navigation bar complete with similar effects as before, and thankfully just about as simple. The final compiled code should produce this page. Continue reading Navigation Bars Part 2 – Simple Vertical