Going mobile

August 28, 2009 by Wolfie · Comments Off
Filed under: Internet 

Thanks to the ever-wonderful Stephen Fry for the heads-up on this one.

If, like me, you’ve ever browsed The Wolfs Howl on a mobile device like an iPhone or an Android phone, then you’ll be pleased to know that I have recently installed a great little plug-in called WPTouch. This small addition to the WordPress installation makes a big difference when you browse the site with a mobile, as it acts like a mini-App and presents the site in an easier to read, easier to navigate fashion that if you’d simply looked at in your mobile browser.

If you do read the site from a mobile device, let me know what you think of the change.

Upcoming maintenance

August 5, 2009 by Wolfie · Comments Off
Filed under: Internet 

I’ve been advised by my hosting company (A Small Orange – they really are good, and cheap, so you could check them out if you’re looking for hosting) that they are doing some maintenance work soon that will involve moving this website to a new server.

As a part of our normal maintenance we’re going to be upgrading the server your website is on. These new machines are approximately 2-3 times faster and are running the latest hardware available. This means faster performance and better reliability for your site. It also means a short maintenance window for us to transfer your site to its new home. We’ve got our smartest people doing everything very carefully so your site is in good hands.

We’ll be doing this work on August 10, 2009 between 2 pm and 10 pm EST. There will be no data lost but your site may go down for a couple minutes while the DNS updates

So, if on Monday you can’t see the site just wait a little while and all should be well.

Facebook and privacy… again

July 24, 2009 by Wolfie · Comments Off
Filed under: Internet 

If you’re a Facebook user, you may have come across this recently, usually forwarded as a Wall post:

Facebook has agreed to let third party advertisers use your posted pictures without your permission. Click on “Settings” up at the top where you see the “Log Out” link. Select “Privacy Settings”. Then select “News Feed And Wall”. Next select the tab that reads “Facebook Ads”. There is a drop down box, select “No One”. Then save your changes.

I don’t know if Facebook have really ‘agreed to let third party advertisers use your posted pictures’ but it wouldn’t surprise me; after all, Facebook don’t have a good record in this area.

And it’s this lack of a good track record that makes me wonder why people are surprised. As I commented today on a friend’s Facebook page, all Facebook want to do is run a successful, profitable business. They don’t care about your privacy.

But, as users, we also have to take responsibility for our own privacy. If we don’t care about it, then no one else will. Do we really need to put all that information on Facebook? Could we scale it down a bit? Perhaps not put our whole life on there?

After all, this is the Internet. It’s a public information exchange; no part of the internet is private, no matter how it appears. If you don’t want lots of people using your pictures, or knowing your personal information, then don’t put it online. Simple as that. If you do put it online, be aware that it is not secure. The internet is not a gated community; there are no borders to protect you – you have to protect yourself.

Update: Facebook have written a post, addressing this issue of third-party use of pictures and stating that this does not happen and that they do care about your privacy after all. So, it seems like this particular issue is just a false rumour, but my advice still stands; it’s the internet – it’s not private, so protect yourself.

More standards geekery

January 31, 2009 by Wolfie · Comments Off
Filed under: Internet, Technology 

After my adventures with W3C XHTML standards the other night (see Standards Geekery for details), I was taking a look at their website and noticed that they also have a CSS validator. Yes, apparently there are also standards for CSS.

So, I ran The Wolfs Howl through the validator and was happy to see there were only three or four errors – all of which seemed to be related to the Defensio plug-in that I use. I wasn’t surprised by this, as the XHTML validator had already objected to the Defensio counter that used to be displayed in my sidebar (which is why it is no longer displayed there). Looking at the style sheet for Defensio, it was easy enough to locate the offending lines and comment them out. Hey presto, validating CSS!

But while the CSS now validated, I also had something like 189 ‘warnings’ over the CSS file. There were a number that concerned font family names, where a multi-word name – like Times New Roman – is supposed to be in inverted commas, to maintain the correct whitespacing between the words. Fixing those was relatively easy, although the change required seemed somewhat pointless. Why – or indeed, how – is

font-family: “Times New Roman”, Georgia, “Trebuchet MS”;

more logical than

font-family: Times New Roman, Georgia, Trebuchet MS;

It seems much more illogical to introduce inverted commas for what seems to be no good reason; the code works exactly the same whichever way you do it, but the ‘correct’ way is more convoluted and less instinctive.

Once I’d corrected those, all the remaining warnings seemed to deal with the fact that the same colour or background colour was defined in several different places. Apparently, this isn’t good form. For some of them, I could see the point and taking out the colour reference in one of the places didn’t have any effect on the site. But for others, if I took out the colour reference, the site broke. This, of course, is not acceptable. So I ended up changing a lot of colour references from #FFFFFF to things like #FFFFF1 – not a big enough change to make any difference to the site, but enough to stop the validator complaining.

And this, again, is where my problems with these standards are most evident. To make the site validate as XHTML and CSS, and to remove all the warnings associated with both, I’ve had to remove things from the site or make silly alterations. Yet from what I can see, there’s nothing out of the ordinary about the way any parts of my site are coded – so the standards would seem to be supporting a view of the web that just doesn’t exist and, if it did, would not be very interesting to look at.

Standards geekery

January 29, 2009 by Wolfie · 1 Comment
Filed under: Internet, Technology 

Eagle-eyed visitors may have noticed that The New Wolfs Howl has altered slightly over the last day or so; gone is the PayPal button, gone is the Amazon widget. In their place is a shiny new W3C badge. But what does that mean?

Like so much in this modern world of ours, the Net is supposedly subject to a set of technical standards. Created by the World Wide Web Consortium, these standards set out the rules for ‘proper’ web page construction; if your web page doesn’t meet the criteria laid down by W3C, then your web page won’t validate and you run the risk of your content not displaying properly in standards-compliant browsers.

So, it would seem that compliance with the W3C standards is a good thing wouldn’t it? Well, yes and no. You see, the fly in the ointment is Internet Explorer. Microsoft’s workhorse of a browser has been around for years and has never supported the W3C standards. A lot of stuff that works in IE simply won’t work in other browsers, and vice versa.

And that’s the big problem. While all the geeks and nerds might rave about Firefox or Opera or Safari or any of the others – and will call Microsoft and IE all sorts of potty-mouth names while they do it – IE still has somewhere upwards of 80% share of the browser market. Most ordinary internet users don’t care about standards-compliance; they use the browser that comes pre-loaded on their system and, as Windows still has the lions share of the home PC market, that means IE. So, if one browser has such a large market share isn’t that the defacto standard? Should we really care what W3C say, as long as the site works properly in IE? In fact, shouldn’t W3C be saying “This is what works in IE, this is therefore the standard. Go to it!”? It would certainly mean less work for web developers, who currently have to ‘cheat’ their way round getting stuff working in IE, whilst remaining standards-compliant.

Whatever the merits of the W3C might be, though, as a geek I’m always interested to see whether a particular site complies or not and, if it doesn’t, what it is that makes it fail. We’ve done some work on this recently at my company, for one of the sites that we run.

The site in question is an e-commerce site that uses an off-the-shelf shopping cart package. When first loaded, the site validated but once we started putting data into the system we found it no longer validated. The reasons? We’d used “&” in some of our category names, and W3C didn’t like it. Apparently, rather than use “&”, you’re supposed to use “&”. Trouble is, when we tried that we found that the category name didn’t display properly in the browser title bar. So, we left it. After all, it’s only an ampersand.

Of course, that sort of niggling little thing preys on my mind and I couldn’t let it alone. I originally thought it was a problem with the title bar not being able to decode “&” for some reason, but it turned out it was a problem with the way our shopping cart package was written. I found the right bit to change and that web site now validates (at least for the home page – the product pages still need a bit of work).

And this seems to be the way of things with standards compliance. It’s either a little tiny thing, like an unencoded special character which can be easily fixed if you want to, or it’s a seemingly huge problem that you have to be Einstein to figure out.

Even armed with all that knowledge, though, I still decided to try and make The Wolfs Howl validate successfully and last night I sat down to have a go. First of all, I thought I’d just try and get the home page to validate and see where that lead me. It didn’t, but with not many errors, so I decided to have a go at fixing them.

True to form, I had an “&” error; this one was in the code that creates the flyout windows for my Amazon links. Changing it to “&” seemed to solve the validation error without breaking the code, so I ran with it.

Another popular error is when the “alt” tag is missing from an image, and I had a number of those. So I fixed those too.

That left me with a bunch of errors that I couldn’t solve; the validator didn’t like some of the code that was attached to my PayPal button – which was basically a form, which linked to a donation page on PayPal – but it was PayPal’s code and I didn’t know what most of it did so I just removed the button (no-one’s ever clicked it anyway). I had similar problems with the Amazon widget, so that got ditched too – which was going to happen anyway.

After all that, the home page validated. So I moved on the the other pages (SOTD, Also see…, etc) and they all validated first time, except for a missing “alt” tag on an image. Then on to the posts.

With something like 480 posts on the blog, I wasn’t going to look at each one individually but an easy way round that was to change my blog settings to show 500 posts on the each page. That basically made the whole site just one page, which could then be checked in one go.

As I went through adding in all the missing “alt” tags, there were also a number of errors centred around the YouTube videos that I had embedded. Apparently “embed” isn’t a valid command, but it’s what YouTube give you and, it seems, it’s what Flash produces code-wise. So I figured I was stuck; if people like Amazon, YouTube and Adobe aren’t producing standards-compliant code for web pages then, really, what is the point of having them to begin with? (I’ve just done a quick check and google.com, microsoft.com, youtube.com, amazon.co.uk and news.bbc.co.uk all fail validation).

Helpfully, by following a couple of links from the W3C site I was able to find a work-around for my YouTube video problem. You can find the full explanation at A List Apart by following this link, but the basic upshot is that the code YouTube give you for embedding video has to be changed from this:

<object width=”425″ height=”344″><param name=”movie” value=”http://linktothevideo.com/”></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://linktothevidoe.com” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>

to this

<object type=”application/x-shockwave-flash data=”http://linktovideo.com” width=”425″ height=”344″> <param name=”movie” value=”http://linktovideo.com” /></object>

As far as I can see, it works fine and it’s a much simpler piece of code. But why does there need to be all this jumping through hoops to make a web page standards compliant?

I’ve learnt a little bit more about web page coding, and I’ve learnt a bit about standards, so in that respect it has been a worthwhile exercise making The Wolfs Howl compliant. But the whole issue seems a bit cock-eyed to me; there’s a set of standards which are ignored by the world’s most popular browser, as well as by some of the world’s most popular websites. Surely, then, the standards aren’t worth having?

Next Page »