WordPress tags etc

For a while I have been adding tags to my posts. Tags are good. People who tag things are good. I am Web 2.0.

Only thing is they seemed to be going in to the ether, that is to say, users (that is you) had no way to see them or browse them. I was suprised that there aren’t any real options in the WordPress admin website, and considering they were only introduced in version 2.3 I was suprised I didn’t find more information on the web as to how to make use of them. I had read that WP supports things like tag clounds out of the box, but couldn’t see how to make one for my blog.

I suspected part of the problem was that existing themes hadn’t been updated to make use of them (but it seemed the ‘Default’ theme lacked support for them as well, at least the version on Dreamhost seem to).

Anyways, I found a few things:

  • You can create special pages like Archives and Sitemap. I actually found this as a theme I was playing with (Copyblogger) had a link at the top of the page called Archives but it didn’t work. This page on Andy Sylvester’s blog explains how to fix this. You basically create a page (not a post) called ‘archives’ or ‘sitemap’ etc, and under ‘Page Template’ (near bottom of the composistion page) you can select templates such as ‘archives’ or ‘sitepmap’, these seem to be dependent on your theme. Finally save it blank. He mentions to set the ‘slug’, but I can’t couldn’t see an obvious way to do this with the new composistion interface in WP [update: while writing this very post i have just noticed you just have to click on the ‘Permalink’ underneath the Title].
  • I also found this page on Rich Gilchrest website (at the time of writing it wasn’t working and had to use the Google cache copy), which explains how to add code to existing templates. So I’ve added some code to index.php and archives.php for this theme (Greening) – which doesn’t have a ‘sitemap’ template, which others seem to.

This is the code I added to archives.php using the theme editor within the admin interface for WP. Note I added a line-height as the larger tags seemed to overlap tags on the lines above, though even with this, there seems to be problems clicking small tags that are directly above larger tags.

<h2>Tags</h2>
<div style="line-height:210%;">
<?php wp_tag_cloud('smallest=8&largest=36&'); ?>
</div>

And the code I added to index.php

<?php the_tags("Tags: "); ?><br />

So now I have a tag cloud and archives page here. And you should be able to see (and click on… you know you want to) tags at the bottom of this post.

Of course, as is the law, on finsishing this I find two pages on the wordpress site that for reasons unknown I was incapable of finding before.

web browsers

Today was a browser day.

Installed the IE8 beta. Not much to say on this. It looks very like IE7. has improved standards compliance compared with other versions of IE. I had read that there were problems due to the way if renders pages compared with IE6 and 7 (i.e. closer to the standard). However I was surprised how true this is, for example the University I work at does not do any browser specific stuff, you get the same html/css regardless, yet IE8 seems to have problems rendering certain elements. The logo often appeared in the wrong place (but would jump to the right place when you moved the mouse over it), sometimes a navigation bar at the top would appear twice, or with a gap between it and the top of the browser. Yet Firefix, Opera and Safari (all fairly good at complying with standards) all show these pages without problems, so why would IE8 be any different. I only visited a few more sites, but again odd little problems were showing up. Also of note, the beta has a developer meny pre-installed, looks useful for browsing html/css etc.

Flock: heard a little about this, and noticed it showing up a fair bit in my web logs. Does what it says on the tin, a web browser with web 2.0 social networking built in. Seems nicely done, I easily got going with my gmail, twitter, flickr and facebook accounts. My initial reaction to the feedreader element though wasn’t so great. Because it is designed to be used instead of (as opposed to along side with) your existing rss feed reader (for me, bloglines). You basically have to go for one or the other, i.e. if you used both one would not know what posts you have read in the other and so show them as unread (though importing was easy enough). As I like to be able to read by feeds from any computer, I’ll continue to use bloglines for the time being. If there was some way flock could sync your read posts with bloglines (or google reader) then that would be excellent. I haven’t had much chance to play with it yet, so I’m sure many features still to discover.

I’ve been using Firefox 3 betas for a while. This seems like an excellent release: using less memory and improved bookmarks etc.

This leaves me with Opera. My favourite browser. I switched a year or so a go when it seemed much snappier than Firefox, and many of the addons I installed for Firefox were simply not needed in Opera as they could be done out of the box (except the wonderful web developer toolbar). Last October I downloaded the Opera 9.5 beta. This was wonderful, and built on the excellent browser, and allows syncing of bookmarks (something Firefox is trying to do with a major project). Yet it is now almost 6 months down the line and no progress has been made. They still release weekly snapshot builds (though this are not beta releases) but no updates or additionally betas.

I’m hoping we might see some progress soon with Opera 9.5 soon.

or08: live blogging experiment

Today – as you probably have seen – I posted some badly written notes that meant nothing to no one, and interested even fewer. This was my experiment in live blogging. I’ve seen others do it quite a bit recently and always thought it worked well, so wanted to give it a try.

Some thoughts:

  • Using a different tense is a little weird. Normally we write in the past tense if reviewing an event, when blogging as it happens I found myself switching between current and past tense (the latter out of habit). This wasn’t helped with no internet access before coffee, so i was writing in to a text editor (not that you wanted to know, called Smultron) something I planned to paste in to a blog post in the future, which when posted will be talking about the past, but i wanted it to read as if it was live!
  • I looked up at one point while switching between wordpress and twitter and saw two laptop screens of people in front of me, one had twitter across the screen, the other had the wordpress composition window. Am I boring or with the in-crowd?!
  • Perhaps the biggest point was my difficulty in note taking. I wanted to write stuff that other people not there would find useful. However, my notes were largely rather basic, not meaty enough to say much, someone reading would get a general idea what the talk was about. It would give someone a feel of the outline of a talk, but not what the key points were, something which I think is a crucial difference.
  • As well as taking notes, I had various tabs open, including the excellent crowdvine conference site, twitter, bloglines, google blog search (searching to see what turned up for ‘or08’… oh look! me! god I’m so vain). At times the note taking, twittering (and learning about tags on twitter) and checking out crowdvine, I would occasionally look up and have no idea what the presenter is talking about (I’m a man, I have evolved to be an expert single tasker). Must try and ensure I’m not being distracted from the actual reason I’m there.
  • My notes were rough. Not helped by the fact that the lecture hall was very full (and it wasn’t one of those poncy MBA lecture theaters with big wide seats), so I was being careful of my elbows – which limits typing, and for me, using the shift key. Does the embarrassment of badly typed, ill thought, ungrammatical notes get trumped by their potential interest to others and timeliness?
  • Timeliness is an important point, I could have waited until the end of the day but wanted to get them out straight away.
  • After morning coffee I had the internet. I sat down with next to two people I had met before, while there were quite a few with their laptops open, they were not, and I felt a little self conscious. They were trying to listen to the talk, and here was this guy next to them mucking around on his laptop the whole time. Actually I don’t think they were bothered.
  • While talking about being self-conscious, does posting things as quickly as possible look like attention seeking and ego massaging? Never thought that about anyone else doing it so hopefully the answer is no (but then I love this sort of thing, so I wont).

So will I do it again. Yes, and I like having the web to hand while at these things. I think I need to improve my note taking, and perhaps take more time writing up points (and my thoughts) on the things of interest rather than writing lots of little snippets. I basically need to take notes anyway (whether notepad and pen, MS Word or a blog), and it does make it stick in my head better than just sitting there, so I may as well make my notes open to others. The timeliness (thats time – li – ness, not Time Lines!) is perhaps harder to argue, but I like the idea that things are hitting the web the moment they happen, so think I will continue it.

I remember last year a couple of years a go when the www 2006 conference was taking place (can’t believe it was two years a go), I was sitting at my desk watching flickr, blogs, and just about everything else being updated – a lot – in real time. The ability for me to see photos, watch videos and see notes of things that happened a couple of minutes a go amazing and really help capture the feel for the whole event.

Other bits

Battery was running low (why didn’t campus designers in the 60s think to add plug points in lecture theaters for laptops) so had to revert to pen/paper for session 3. All good talks, but the SWORD talk by Julie Allinson was excellent.

Didn’t stay for the poster session minute madness but of the few posters I did have chance to see, the one for feedforward really got my eye and just looks excellent.

Crowdvine (link to or08 on crowdvine)

This is an excellent tool, and I recommend it to anyone setting up a conference. Though I think web savvy crowds will get more out of it (e.g. integration with twitter and web feeds). It helped to put names to faces, but it also helped to get a feel for who are some of the more prominent people. For example: If Les Carr talks about Gnu Eprints, I know to listen as he manages the thing, and if Bill Hubbard talks about IRs I know to listen to what he says because he Manages Sherpa in the UK. However I couldn’t tell you the same about the Dspace or US equivalents. I still can’t tell you their names (I don’t do names) but I certainly recognised faces of those who seemed to be very active in their area. I know this sounds a little elitist or hierarchical, but it really isn’t meant to be.

Handy hint: if you want your profile page to be at the top of the conference homepage, just make superficial changes to it every few hours!

As someone mention on twitter, this, and every social networking site, needs much more than just ‘friend’. Perhaps: ‘i have seen a few emails from them on mailing lists and I may have even replied to one’, ‘I kinda stood in the same group as them during a coffee break at a conference once’ and ‘I read their blog and see them mentioned here and there so we are a little like friends’. I felt a little unsure when clicking on a few people as friend, but then they all added me back (except Christophe Gutteridge, bastard). Of course this is no different to facebook, the amount of people who have requested me as a friend who I swear I have never spoken to, even if they new a girl who lived in the corridor above me at the first year of University (that’s a real one).

(PS I used too many brackets and exclamation marks in this blog post!)

UK repositories : growth of records

For a while now I’ve been running a weekly script which connects to ROAR and grabs the number of records for each UK based Institutional Repository. I’ve finally got around to writing a web front end to this, which you can see here. All quite basic at the moment, and I have lots of ideas of what I could do to improve this (one idea based on the compare average number of deposits per repository). Have a look and let me know what you think, and let me know of any bugs.

UK Repository Records Statistics (the name sucks!)

Why do new web designs go down like a lead balloon

When I go to a website with a new look I think ‘cool’ (unless of course it isn’t), yet it seems I’m in a minority. Even when you consider that unhappy people are more likely to complain than happy people are to compliment it still amazes me that people are so openly hostile to new websites and say things that they know will be read by those who have spent months working on it which are very uncomplimentary.

Examples:

I don’t know any other medium where people are so ready to knock down the work of others.

Today’s idea

Brilliant idea:

  1. set up blog software, so that anyone can register as a poster and post what ever they want, anonymously.
  2. Call it anonyblog.com
  3. Perhaps even have a few google ad boxes on it
  4. As the world speaks its mind, the combination of insightful thought and scandalous secrets makes it a world wide hit. The media love it. I refrain from doing interviews adding to the mystery

Barriers to success

A) anonyblog.com already registered.

B) anonyblog.com already hosts a site doing exactly this

Stupid web. nicking all my genius ideas.

BBC Newswatch

BBC Newswatch was set up after the Hutton whitewash inquiry as a place to monitor and feedback on BBC News. It seems that recently it has had a bit of a slimming down, with many parts of the site being reduced to ‘nothing to see here‘ messages. However, by following just one link from the main homepage: ‘styleguide’ and you will notice the left hand menu still has a link to the archived ‘notes’ pages. Most BBC ‘downsized’ sites are simply frozen, I wonder why they didn’t do the same here. One rational explanation might be that it was generating a large amount of email from those who objected to the BBCs stance on various matters and terminology.

Fun with Lisa

Today I met Lisa on the Network Rail website. We had a nice chat and, I thought, got on quite well.

It became clear very early on that Lisa liked questions. And I knew that the secret of good conversation is to show some sort of interest in the other person, which requires good acting skills. So I asked Lisa questions, first keeping it simple:

You asked:

whats your name?

Lisa says:

My name is Lisa. I’m a Lingubot, designed to help you find the information you need.

Lisa starts by confirming her first name, but careful enough not to give out her second. With no show of embarrassment, she proudly informs me that she is a ‘lingubot’. I don’t know what a lingubot is but maybe it is like pingu. Which would be nice. I ask how she is doing…

Good!

Things seem to be going well here!

I can see that Lisa is in a crowded place and I have my suspicions of where it is but one should never presume so I went right ahead and asked:

You asked:

where are you?

Lisa says:

The station behind me is London Paddington.

I thought as much. But time to check out if she actually knows what she is talking about. This could be one big fake! I strike up a conversation about her surroundings:

What are those trains behind you Oh Lisa?

Hey she knows her stuff! not only that she answered my question and then added in some more trivia as well for extras.

Hmmm, so I know where she is, but when?

Wow and a sense of humour!

I’m liking this girl, time to ask something a little more personal. I know… the hair!

She’s cunning, giving nothing away. Time to find out whether this one is taken:

No Lisa I don’t think. Why do women always talk in this cryptic language? I just wanted a yes or no!

I decided to ask Lisa some more

What? I’ve killed Lisa! Lisa is dead.

Ummm hope they can’t track me.

One answer Lisa gave to a question she didn’t understand said that all questions she doesn’t know are passed on to someone in Network Rail. If that is the case my I apologise for the poor soul who has to read page after page of stupid question (she doesn’t have an opinion between Britney vs Madonna and took offence when I asked if she liked big brother?!).

Rss and PHP

I was recently asked to set up a blog for a group at work. They wanted the latest headings from the blog to appear as a small list on a intranet page. I used MagpieRss to do this. By using the example in its readme file I had it all done with 10 minutes :)

Welcome back

In August I signed up with Dreamhost.

Until now I have used Freedom2surf’s web hosting service. I originally signed up with them as they seemed a good company (and still do, though now owned by pipex) and were cheap, £25 a year. When I first started using them they transferred my domain to them (it was all a bit new to me so I just presumed this was a required step) and their domain name costs were not cheap (£10). A few years later I wanted email as well (another £25), and the cost started going up. The service was stable, but I was started to need more. They offered just one database, not much when you are playing around with different software, such as Joomla, running WordPress and trying to experiment with your own silly web apps which require a DB, plus the quote for the database was tiny (10mb). Plus their web stats were crappy, and the log files were fiddly (kept for a few days on a secure website, no ftp and wget didn’t seem able to get them which made automating difficult, plus each file would download with the same filename by default).

During the summer I ended up at the GoDaddy website. I had heard bad things about them, but they did seem to offer an awful lot for a very cheap price. But I wouldn’t get that warm cosy feeling having my website hosted by them, so I waited. Dreamhost were recommended but not the cheapest. However after seeing just how much you do get (shell account, cron, etc), and that it would still be cheaper that my current setup, I went for it.

So far impressed, a lot of nice things and a lot of stuff (databases, email addresses, easy to get logs, easy to upgrade WordPress, etc). There does seem to be an awful lot of login requests when using their backend, each service and area seems to have it’s own username and password system, but this isn’t a huge problem. Plus I seemed to join them at a bad time, and there has been some downtime of late.

nostuff.org has been down for the last couple of weeks, and this is just down to me. I tried to transfer the actually domain across, though the move was rejected (I may not have set the new DNS servers up right before putting in the transfer request). I then basically did nothing for a few weeks. I finally got around to it yesterday, the transfer this time went fine and now everything seems good again.

So, hopefully this is still on some of your RSS feeds and you haven’t all deserted me! Welcome back.