Its the small things that make the difference

I have always had family scattered in different corners of the globe, and being as forgetful as I am, I can never remember the time difference. Needless to say that this has resulted in a few cases of “Oh, I’m sorry were you sleeping?” As a result I always use the humble search engine to find me a site with the correct time. But now, Google has eliminated that extra click by giving me the answer in the search results…

Read More

Using .htaccess to password protect a directory

I came across this issue a few days ago, I was required to create a secure area on a web server where I could upload large files. The directory where these files were uploaded should be password protected so that only someone authorised can access it, and as a further protection, the directory should have its directory listings display turned off. Client Side password protection like using Javascript is not very good, because it can be disabled Figured this might…

Read More

Microformats – xfn

XFN short for XHTML Friends Network was the first microformat and it remains perhaps the easiest of all microformats to implement. It is basically used by webmasters to indicate real world relationships with the people they mention in their blogroll/links. Now if I were to link to a friend I would enter it into my blogroll as so <a href=”http://some-site.com”>Some Body</a> In order to make this a XFN microformat, I would simplay add the “rel” attribute to the link, with…

Read More

Microformats – hCalendar

The next most popular microformat is the hCalendar (HTML iCalendar). This is used to create events/ entries in calendars based on the iCalendar standard. Now an upcoming event for me could be mentioned as follows Citizenship Ceremony – 6th September To convert this to an hCalendar microformat we have to remember that the dtstart and summary fields are required fields. The dtstart to mention the start date and the summary to write what the event is about, the rest are…

Read More

Microformats – hCard

Even though I have been working in the IT industry (study and work) for about 6 years now, the learning never seems to stop. The other day while surfing the net, I came across Microformats, a brilliant idea I am surprised I am coming across only now. Microformats are small additions one makes to the HTML code of their pages (mainly class, rel and rev attributes) to make their data more readable by machines without affecting the layout for users.…

Read More

You think you had a bad day?

Being a developer and also being human, means that I have made a few mistakes while coding in my time, now none of my “little bugs” have actually been severe enough to cost my employers money (Okay maybe a little money). However, If I ever feel that my day is going to hell faster than a greased pig on a water slide, I just remember these little gems I came across while reading Engadget.

Read More

Photos Section

I finally managed to get the photos section of the site up and running, using the cool little wordpress plugin FAlbum. It allows me to display all my flickr photographs here, using the Flickr API and .htaccess very cleverly. There was only a minor issue of the sites CSS breaking when this plugin would fetch all the photos, but after commenting out about 6 small lines of code, it seems to be all fixed!

Read More

Tips and tricks with the .htaccess file – Part 1

.htaccess (which stands for Hypertext Access) are text files that are used to make configuration changes on an Apache Server. It contains a series of ‘directives’ for the server to follow, these directives are then applied to the folder the .htaccess file is placed in and also to all its sub-folders.For htaccess novices, it is important to note that small syntax errors can result at times in serious issues, so it is always a good idea to always backup your…

Read More

Worst Advertising Tagline ever?

I have been collecting mail for a relative while they have been out of town. Recently I received a frequent flyer newsletter from Gulf Air with the words on the letter “This could be the last time…” I don’t know about you, but a line like that does not inspire a lot of confidence. Will try and upload a pic within the next few days.

Read More