Category: Code

New Version of Kisimi Wiki is Available

New Version of Kisimi Wiki is Available

I’m happy to announce that a new version of Weka Design’s free wiki software called Kisimi is available. There are a huge number of improvements in the 20091025 release. Here are some of the more important ones. Page security allows you to dictate exactly who can view and edit your pages. Some people can edit …

+ Read More

Adding up Rows with JQuery

Adding up Rows with JQuery

Simple and sometimes unnecessary function to add table cells together and populate another with the total. Using jQuery because its easy and it works and we all love it. $(document).ready(function() {     var x = 0;     $(“td.num”).each(function() {         x += parseInt($(this).html());     })     $(“td#total”).html(x); }); Where your table cells to add …

+ Read More

A Closer Look at Wiki Authorship

A Closer Look at Wiki Authorship

Jeff Atwood takes an interesting look at the history of changes to wiki pages and the balance between opinion and fact. The larger wikis (e.g. Wikipedia) have a huge amount of data around page edits and Jeff’s article also highlights an IBM study on how the more popular Wikipedia content evolves over time. There’s also …

+ Read More

Why Aren’t You Using FireBug?

Why Aren’t You Using FireBug?

I’ve been using the Firefox browser addon called FireBug for a while now and am amazed at how helpful it is. If you’re a web developer, and especially if you use JavaScript and AJAX methods, you should be using it. For example, while developing I like to add in timers to PHP based pages to …

+ Read More

Creating UNIX Time in Windows Script

Creating UNIX Time in Windows Script

I recently found myself needing to convert a date/time in a Windows vbs script to UNIX time and struggled to find an example of how to do this. Correct me if I’m wrong, but there doesn’t seem to be any built-in function to change 20070109161723+720 to 1168359443. After fine-tuning a few Google queries I found …

+ Read More

Decent Docs for Prototype

Decent Docs for Prototype

Recently stumbled across some decent documentation for the AJAX framework Prototype. Didn’t help me with what I was after but it’ll be useful in the future and to many others I’m sure. I’m sure there’s more good stuff out there so leave a comment if there’s anything better. Using Prototype v1.4.0

Want to mix PHP with AJAX?

Want to mix PHP with AJAX?

AJAX is of course the current web development buzz-word and has been for the last few months. Really it’s some fancy Javascript that runs when actions happen (like moving out of a form field) and talks back to the server end of things. In it’s basic form, your code then runs on the server and …

+ Read More

Using UTF8 in PHP

Using UTF8 in PHP

Harry Fuecks from SitePoint has put together what looks to be a very handy library to allow PHP manipulation of UTF8 strings. Historically whenever PHP has been given the task of changing UTF8 encoded strings (ie. form entries that your users input) it's not given out any nice in return. Full support is due in …

+ Read More

Subversion via Apache on Ubuntu

Subversion via Apache on Ubuntu

After using Subversion and different Linux servers (now Ubuntu) for quite a while this is the only How-To that I’ve found that is easy to follow and works straight away. David Winter Now I can access my code repository from work and come home to work from the same system here. Update: Except I now …

+ Read More

Move to the Light

Move to the Light

Very cool work with photos and then extended for other objects outside the norm, like div’s. And there’s even a WP plugin. Lightbox JS The WordPress version