Archive for the ‘admin’ Category

Let's Disqus!

Friday, February 6th, 2009

Just a little notice to say that i have enabled Disqus on my blog. It's a pretty clever tool that links up comments on blogs all over the Internet. When you hover over the picture of somebody who has commented on my blog, you also see some of the comments they have left on other blogs. You might also see their Twitter status, or get a link to their Flickr account, their Delicious account, their Facebook.

Here's an example of how it can look:

Disqus

It's a really neat way of bringing the web closer together. For me it's also a great advantage in that it immediately gave me nested comments and the ability to send email replies to people who have commented. I thought i was going to have to make some fairly hefty changes to my WordPress theme in order to enable nested comments, but it turns out Disqus can just do it all for me!

Oh yes, you also get to rate other people's comments up or down, youtube-stylee! ;)

Disqus is particularly good in that it works across multiple blogging platforms. So i installed the WordPress plugin, but there are also plugins for Blogger, Moveable Type, Tumblr and more. Wouldn't it be great if LiveJournal would take it up? :)

Thank you to ChrisMDP for finding Disqus and telling me about it! :)

GeoURL WordPress plugin now available!

Sunday, February 1st, 2009

My plugin got approved, and it is available for download here: GeoURL Wordpress plugin.

Apparently it has had 18 downloads already. Okay, one of them was me, just testing it zipped up correctly, but even so … have i helped 17 blogs to become GeoURL enabled?! :)

I wish there was a way to tell who has installed it … would be lovely to see it in action for other people!

In other news, Twitter has been so thrilled by the UK snow that the hashtag #uksnow has been at the top of the trending topics all afternoon! It's quite fun to watch twitterfall.com/#uksnow and see the tweets fly in from around the UK. People are giving marks out of ten for their area, and posting pictures of good snow scenes! :)

We don't get good snow very often in the UK, and we are predicted 15cm by the morning! That will require wellies to walk to work!! It's the heaviest snowfall in 6 years apparently, so you can understand why we're all so excited!

GeoURL – a new WordPress plugin

Sunday, February 1st, 2009

Whoops, it's another late night, but … i just wrote a WordPress plugin!

Every time i change my theme i hardcode in the meta tags for GeoURL to detect my location. GeoURL is then able to find other sites that are geographically nearby. It gives me a little button link to use, like this:

GeoURL

The way this works is very simple: just poking these meta tags into the header of my blog page:

<meta name="ICBM" content="51.0622, -1.3205" />
<meta name="DC.title" content="A little place of calm" />

Note, that is not *exactly* where i live – it is just somewhere random near the centre of Winchester!

I thought there must be an easier way than hardcoding the meta tags into the theme. I had a look but didn't find a plugin for it, so i made one myself! :) It allows you to easily add your location coordinates and ping the GeoURL server. Pretty simple, but i'll find it useful. It's already working on my own blog and once i get a subversion repository from WordPress, i'll upload it for sharing! :)

A beautiful new theme!

Saturday, January 31st, 2009

Whenever i upgrade Wordpress i am usually so impressed with the elegance of the admin area that i tend to feel it's time to change the front end theme.

To that end, i have said goodbye to the theme i had with Wordpress 2.5 …

Wordpress 2.5

And welcome to my new theme for Wordpress 2.7 …

Wordpress 2.7

It is the WPTD Green Theme 1 found on freewpthemes.info.

I have also downloaded a couple of new plugins, most notably the very nice WP-Syntax plugin for displaying code nicely. An example is my tutorial about attachments with CouchDB on Rails.

WP-Syntax

So beautiful! Of course i spent the entire last night tagging every piece of code in my blog with the correct language attribute so that it could be displayed with pretty syntax highlighting!

This morning i reinstated my blog as an OpenID URL, using the MyOpenID plugin. Previously i had hardcoded the meta lines into the theme, but it makes more sense to use a plugin. I am also trying out the Twitter for Wordpress plugin but i don't like the way it works. I prefer it to update via JavaScript. Maybe i'll find another plugin, or write my own.

There is another simple plugin that i'm intending to write, but i'll make another blog post about that when i've done it! :D

Wordpress 2.7

Friday, January 30th, 2009

I have upgraded my Wordpress! :) It has been nagging me for so long about it, and i've just been ignoring it, but tonight i just came home and felt in the mood for an upgrade. Our company blog is on Wordpress 2.7 and i really like the colour scheme and style of 2.7, plus i want to install a couple of new plugins.

Suddenly i feel i'd like a new theme too. Perhaps i'll have a look for one tonight. Nothing better to do on a Friday night, hey?! ;)

Better blogging

Monday, December 15th, 2008

So yesterday's post was actually not the last post of the year! :)

A few nights ago i saw somebody's blog had little icons next to comments, showing the country, browser and operating system of each commenter. I found that quite interesting and decided i wanted the same on my blog. I discovered that it is part of the FireStats plugin and so i installed it. Little did i know the impact that it was about to have on me!

FireStats reveals a whole lot of fascinating information about who is visiting your blog. Suddenly i can see the most popular posts, find out the search terms that people used to get here, or the referrer page that sent them here. I used to think i was just writing my blog for a few friends, but now i see that people are coming from all over the world, mostly for information about CouchDB and … Caturday! HAHA! I haven't done a Caturday post for ages! Perhaps i should start doing them again!

So i put up the "Currently popular" widget in the navigator. It's pretty nifty because it changes every day. I also installed a few more plugins and made a few tweaks:

  • I enabled title slugs in the URL for all my posts. The old URLs still work, however.
  • Yet Another Related Posts Plugin puts links to related posts at the bottom of each post. It calculates 'related' by category, title and content. It's pretty good! I have been reminded of old posts that i'd forgotten about!
  • Unfancy Quote Plugin has removed the so-called curly quotes that were appearing where i did not want them – ie in example code
  • WP Super Cache ensures speedy rendering of pages, particularly if hundreds of people were to look at a page all at once. Instead of continually querying the database, once it knows the content of a particular page, it can just display the cached version.

WordPress plugins are so for the win!

* * *

In other news, i finished reading Design Patterns today. It wasn't such a hard read as i thought it would be; it's actually quite easy to read one or two patterns at a time. The summaries are also very useful, for comparing and contrasting different patterns.

The State and Strategy patterns were quite obvious. Mediator seems almost the same as Observer to me. No matter how many times i read and understand the difference between Adapter and Bridge, i cannot seem to remember it long-term. Memento is my favourite pattern. It's like asking someone, "Please remind me of this in a minute!" and they say, "Oh, okay" even though they have no idea what it means!

Visitor seems to me like the stupidest pattern ever, but maybe i have misunderstood it. It seems to contradict everything that makes sense about object-oriented programming, to have something that goes around doing things to other objects, violating encapsulation, and it has to be hard-coded to deal differently with different objects. It makes me think of Aspect-oriented programming actually.

I went to the library and borrowed a book for the holiday: Why Is Uranus Upside Down? And Other Questions About the Universe by Fred Watson. A nice bit of light reading, i think! ;)

Wow, my blog is back!

Thursday, April 10th, 2008

Did you miss me?!

I am very upset about this downtime of more than 24 hours – not about my blog being down, but MyChores site itself which people have come to trust and rely upon. It's still not back yet. :( I have written about what went wrong on the MyChores Journal … can't be bothered to go through it all again here now.

Well, at least the blogs came back – that's something. But as i suspected, i have lost data. They say that one backup restore failed so they have gone to a different one. Bad HostingRails, very bad. You'd think they would have alternative servers prepared and ready to go; you don't expect more than 24 hours downtime from a company that boasts 99.9% uptime. Let's hope MyChores is at least back up and running soon.

Upgraded!

Friday, March 21st, 2008

I am now up with the Wordpress 2.5 and my lovely new theme from freewpthemes.net. I love it! Nice and calm and blue! I do like pale blue websites, although this is possibly a little bit cold, what do you think?

I think i have found a better OpenID plugin – i'd be grateful of some test comments to see if it works for you. It no longer tries to register you on this site … it just takes your URL and authenticates with OpenID if it can. I think that's sensible.

Oh, they really have done well on this new Wordpress! I just noticed how easy it is to upload/insert an image. Very neat! I'll upgrade journal.mychores.co.uk soon too! :)

Nice day! :)

Thursday, March 20th, 2008

I have come a long way with the Wordpress 2.5 and i really like it! It's a much cleaner layout for the admin area. I also found a wonderful template from freewpthemes.net so i like it way more than the current theme i have. I'd put it up tonight except i know if anything goes wrong i won't be able to sleep until i've fixed it, lol! I shall do it tomorrow.

Today i bought a ukelele! :D For £12.95 – bargain!! A colleague at work bought one recently and it seems a fun instrument to learn!

The author of Kittens for Dummies uses MyChores! :) I only found out today when i received this testimonial:

As a writer I live by deadlines. MyChores helps me keep track of the dates that articles and projects are due. I couldn’t operate without it.

- Dusty Rainbolt

I followed the link and that's what i found! :)

Kittens for Dummies

Now i need to get a copy and get Dusty to sign it, heheh! ;)

Oh, one more thing … i have completed my 43 days without chocolate! I am still going for another 3 days though. Whoever said there were 40 days in Lent was wrong!

A plan for the holidays

Wednesday, March 19th, 2008

I have just thought of something useful i can do over the holidays: upgrade Wordpress and investigate K2.

Something really important is to get the OpenID commenting working again, however i have to do that, even if i have to say "please log in with OpenID before making a comment". K2 looks great, but i've just seen there is a brand new 2.5 preview of Wordpress which might be worth a go. It talks about one-click plugin upgrades which is something i really wanted from K2. I'll have a play and see what works best!

who-am-i
A web programmer in my late-late-twenties, fanatical about open source, free software, loving my job working daily with Ruby on Rails, RSpec, Cucumber and Git.

I am very proud to have created MyChores.co.uk, an online team based tracking system for household chores and other recurring tasks.
Search



Flickr