Archive for the 'Web' Category

Wordle

My uncle reminded me of a rather nifty site called Wordle.  If you enter any text, it creates an image based on the frequency of each word.  It has various options for colours, etc.

Here is my dissertation, which recently passed (click on it to see it full-size)!

Simple WYMeditor and WordPress 2.6

I love WYMeditor, it is by far the best Javascript text editor I have used.  As I have written before, I use the Simple WYMeditor plugin so I can have WYMeditor in my WordPress installation.

However, when I upgraded to WordPress 2.6 it stopped working for me.  There is no new version of Simple WYMeditor as yet, but this little fix worked for me.

Simply change line 69 from this:

69 if ( strpos($wp_version, '2.5') !== false ) {

to this:

69 if ( $wp_version >= "2.5" ) {

Enjoy!

New Admin SSL

I have released a new version of Admin SSL - version 1.0.  I am very excited about this release, because it represents a lot of hard work, and a complete re-write of the entire plugin since I took over developing it from Haris.

It has a lot of new features, a much more stable redirection script, and supports WordPress MU as well!  To find out more (or to post a comment) please visit the Admin SSL home page.

Website compression

I just found a helpful article about compressing website pages automatically using .htaccess here.  This reduced my page size by at least 75%, a big (and safe) help for viewing pages fast.

My next search was for a WordPress caching plugin.  I am currently testing WordPress Super Cache, which has been updated to work with WP 2.5.  However, it has a complicated setup and clashed with the .htaccess rules I already have setup for the rest of my website.

I've been testing other .htaccess rules to enable GZIP or Deflate for all files, but haven't yet found the perfect configuration.  If I do, I'll post it here!

Gmail spam

I've recently had my Gmail updated to the new interface, which I like (although loading it sometimes freezes Firefox briefly).  However, I used to have a script that hid the Spam counter, which now no longer works.

After investigating various other scripts, I found a much more elegant solution: Gmail - Mark Spam Messages as Read.  This does what it says on the tin, works well, and without changing any of Gmail's CSS.

Changing posts to pages

I have just converted the post on the WordPress plugin Admin SSL into a page - it can now be accessed here.

It is very easy to do this - simply edit the `post_type` in `wp_posts` in your database from 'post' to 'page'.  Then you need to edit the new page and tell it to use the default template with comments, or all the comments will not display!

Finally, you need to setup a redirect from the old post URL to the new page.  I did this using a directive in .htaccess:

Redirect 301 /blog/2008/04... http://www.kerrins.co.uk/blog/admin-ssl

Not only does this redirect people browsing to the page, it also redirects feed requests.

The Grid

I just found this on the internet:

Coming soon: superfast internet

The very clever people at Cern have invented something much faster than the internet - or rather, some technology that is much faster than the protocols used by the WWW.  It uses dedicated fibre optic cables and modern switching hardware, to avoid the bottlenecks of copper cables.

It would be amazing if this stuff made its way into the normal world, but with ISPs so concerned with short-term profits, and after chronic under-investment in the internet infrastructure in this country, I'll believe it when I see it.

As ever, the universities are there first:

Britain alone has 8,000 servers on the grid system – so that any student or academic will theoretically be able to hook up to the grid rather than the internet from this autumn.

Why am I leaving university?!  I should get a job as a lecturer...