Blogs on "design"

Archive: 1
12th
Jan 08

Blogging is dead

Tags: website updatesmusicartdesignPHP

I'm blogging anyway

I would like to point out, before my highly controversial headline causes too much emotional damage, that people have been saying this for over two years. The invention of the blog or "web-log" was a step towards Web 2.0, which doesn't, as some people believe, mean shiny graphics with reflections and drop shadows. Web 2.0 is about user interactivity and content, encapsulated by current website giants such as Wikipedia and Facebook. But blogging has become a bit passé (he says, naively writing his second ever blog entry), probably due to the fact that the requirement for owning a blog is that you have at least two words in your vocabulary, for a username and password. This is perhaps a little unfair, but the truth is that the sheer number of blogs around became exhausting, and any useful information became lost in a syruppy sea of nonsense. To avoid this happening to my blog (too late Jon), I'm going to make the section headers as clear as I can. This will stop people wasting precious brain space with PHP snippets, and musical philistines from accidently recieving a dab of culture, etc. Just a quick warning: PHP will be mentioned later, perhaps near the end - who knows.

Happy new year, by the way!

"Can an album be said to be inherently bad if there is no standard definition of quality in music?"

I'm just about to write about music, ok?

I think I'll write about music. I have been picking out some of my most treasured albums to review for my music section, and so far I've written 11. They aren't reviews in the common sense, as I don't give them a rating: all of the albums that I include in the section are those that I consider to be essential. I haven't put the section up yet, as I want to have a good number of reviews before I post them. It will also take a bit of programming, as I want people to be able to search albums by genre, artist and release date. I'll post a news item when I put it up. Writing the reviews lead me to start thinking about the value of critiquing music, and art in general. Art is a personal expression, and the interpretation of it will be different for everyone. Producing a piece of "art" exposes you in a way that you don't get with something more scientifically orientated, as it is mostly down to the interpreter rather than the creator as to whether it is well received or not. But does this make critics pointless? Back on the subject of music specifically, can an album be said to be inherently bad if there is no standard definition of quality in music? You could argue that critics should rate albums according to how well received it will be by the general population, i.e. by how many people it pleases, but they certainly don't do that.

"Maturity in musical understanding is demonstrated by having taste that transcends genres and styles."

I'm still writing about music, believe it or not

My biggest problem is with people who arrogantly pass off entire genres of music because they don't like them. I dislike rap music, but what gives me the authority to say that it is all rubbish as a result? The fact that art needs to be interpreted personally has lead some people to create a secret idealism by which they are right and everyone else is wrong, which is the very definition of arrogance. I'm not saying we should love all music. My view is that, because of a variety of factors in our upbringing, particularly society and family, we all tend towards liking particular genres. Within these genres is music that we consider to be good or bad, depending again upon these factors. We can develop our taste in music by broadening out amongst different genres, and our personal definition of good and bad will begin to change. I'll bring this waffle to a semi-satisfying conclusion, don't worry. I believe that maturity in musical understanding is demonstrated by having taste that transcends genres and styles. You will certainly develop a favourite style, which is perfectly normal, but an open mind and willingness to try new music is a mark of maturity.

A bit about my site design

I'm pretty pleased. I've been chameleonic (quite proud of that word) in my designs over the past 6 months, and I've never really settled. But I think that the two themes I have now are keepers... almost. I like the night theme, but I'm not sure the day theme has quite made it. I'd appreciate your feedback, as it's very easy to get a design block (although it is, of course, all down to personal interpretation :D). By the way, if you were wondering, the day theme appears between 6am and 7pm, and the night theme the rest of the time. There's a Javascript style changer that works out the time at your location. Or, at least, it should. Please let me know if it doesn't! But only if you can tell the time. Also, is it obvious that the navigation wotsits to the right are minimisable? If not I'll have to think of a way to make it clear.

"404 errors are not particularly useful in themselves, as you'd rather be given a solution than a problem."

Non-geeks beware

Now for the nerdy bit. I've been playing around with the error page for my site, as my server allows me to upload my own. 404 errors are not particularly useful in themselves, as you'd rather be given a solution than a problem. On my old site I had a few broken links that stayed broken for quite a while, until some kind person told me. I realised that I could do something a bit more useful with the messages, namely working out what the URL of the broken link is, how the user got there and then automatically emailing me the problem. As soon as I get the email I can view the page that the user was on and search it for the broken link. All of this can be done with a little bit of PHP, as follows:

$ref=@$HTTP_REFERER;
$page = "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
$message = "User came from $ref, arrived at $page";
if ($ref == "")
{
$message = "User came from an unknown source. Arrived at $page";
}
mail( "your@email.com", "404 error at yourdomain.com",$message);
?>

"I've recieved almost two hundred emails in the past day, mostly from my own server telling me how no-one can find what they want."

I'm not the world's best PHP programmer, but this seems to work. I get an email telling me how the user got to the error page, and where the error page is meant to be located. It was a mistake, in hindsight, to put this script on my error page at the moment: my foobar2000 tutorial, which is the most popular feature on my site, has moved location. But this hasn't filtered through Google yet, so I've recieved almost two hundred emails in the past day, mostly from my own server telling me how no-one can find what they want. But this will be a useful feature when the links are updated in Google, which should be happening very soon. Another slightly weird result of this is that I can see Googlebots crawling my site: I uploaded a new sitemap, which caused some activity from the bots. But they have been going through all the old links of my site, to check to see whether they're still there. And guess what? Yep, I get lots of emails. The eerie thing is that they don't seem to come from any tangible location, which I suppose is to be expected. Anyway, feel free to use the script on your site. Don't bother acknowledging me - who's going to see your PHP code anyway?

Thanks for reading, enjoy the site!

Archive: 1

Comments

Jon

Posted on the 15th Jan 2009 at 10:38

Thanks for that! I did know about the 404 logs on my server, but personally I knew I was far less likely to check my hosting account than my email, and certainly less regularly. My emails have gone down to just a few a day now, which is slightly less exhausting.

As for the .htaccess info, that's useful to know. I've used them a fair bit for user authentication and whatnot, but never for redirection.

Gregory Marler

Posted on the 15th Jan 2009 at 10:26

I skipped and read about the php. On most web hosting accounts you should be able to access the logs that will tell you easily what urls got 404ed. Check it whenever you have the time(can be bothered) to correct your site, and in the mean time you don't get loads of e-mail.

Also you should learn about creating a .htaccess file. You can add a line to it to say a page has moved, give the new location, and a type (I think 300 is permanently moved). Going to the old url will make anyone redirect. Google will understand the 300 and update it's database.
Just make sure you check as soon as you upload a new .htaccess file, a mistake will cause all your site pages to 500.
And the filename starting with a dot means you need to show hidden files and check your ftp is okay with it(you may have to upload a file then correct the name).

Post a comment

Name:
Sex (for display picture): Male
Female
Email (won't be displayed):
Message:
Prove to me that you aren't a robot:

Comments may take a while to filter through, as I check them all before letting them go live.

Hi, I'm Jon Cairns

I'm a web designer and graphic designer who likes to create good-looking, accessible websites with XHTML, CSS, AJAX and PHP. I'm also a musician, photographer and student, and I live in Durham, up north in the UK. Use the links at the top of the page or just above to navigate my site, or read my blog to find out what's going on in my life.

Updates

  • 22nd Aug Added a new blog, "The Great Synchronisation". It seems that all of my updates are blogs these days!
  • 21st July Added a new blog entry, the first in two and a half months! Join me in the celebration of this momentous occasion by reading it.

From the blog

28th Aug 09

The Great Synchronisation

A few minutes ago I was sitting on a sofa with nothing to do, thinking, "maybe it's time for my annual blog entry". You may be wondering whether you should bother reading something that's been created simply because I had nothing better to do, but I submit to you that all good things are created that way. Think about it.

Read it all »

Blog Hub blogarama.com

Web Design Blogs - BlogCatalog Blog Directory