Archives for category: Web

Screwing Things Up

Hi folks. As you may have noticed, I’ve been tinkering with the design of my site. I got tired of the fact that my blog had become dominated by links from my Delicious account and embedded videos, so I decided to revamp the structure of things around here. I also felt like freshening things up with a new theme choice. I hope you like it.

Some of the changes were more drastic than others. First off, I deleted all of the posts that were nothing but digests listing my Delicious activity. Although it was nice to have some of those links front-and-center, you can get the same effect by viewing my page on the Delicious website. I decided it was a bit redundant to continually post those links to the front page here. However, they are included in the sidebar in the Lifestream section, along with events from a number of other social websites.

As for the video posts, they’re still here, but I’ve decided to treat them more like a sideblog instead of the major source of content they had become. The most recent video I’ve come across will always be at the top of my sidebar, and any older posts are available on the Watching page.

Part of what this new version of my site means is that the front page may not be updated as often, but when it does get an update, I’m hoping that the posts will be more full of content instead of the shorter posts that have become the norm around here.

I spent a few hours tonight working on a new site for the Smooth Few Films crew. GamerSushi is a blog focusing on gaming news and reviews, and Eddy wanted to make sure it was ready before he attends PAX this weekend.

Most of the site’s setup was fairly straightforward, but one piece of the design caused me no end of frustration. Apparently transparent PNG images, which look great with transparencies, don’t play nice with Internet Explorer 5.5 or 6.0 on Windows.

Considering how bad people are about updating their browsers, having a weird-looking PNG on your site will definitely be noticeable to a fair number of your visitors. Accordingly, I spent way too long messing with the site trying to figure out a fix or workaround to get things moving. This was especially frustrating since I don’t have easy access to, say, a Windows computer with Internet Explorer of any kind on it. Thank god for Browsershots, that’s for sure.

Anyways, to make a long story short, I tried every Javascript hack I could find in Google. None of them worked. Not a single blessed one. Maybe it’s just me, and I implemented the code wrong, but it’s kind of hard to tell when I’m not the one sitting in front of the computer with a broken image.

In the end, the solution was a bit crude. Apparently it is possible to comment out HTML code for specific browsers using conditional comments. Basically I put a few lines in the html that made it so a certain code snippet only displayed in Internet Explorer versions older than 7.0. I then did a bit of CSS trickery to hide the offending PNG and replace it with a shitty-looking GIF. It isn’t perfect, but it’s better than a giant grey box behind the PNG.

Here’s the code:

1. <!--[if lt IE 7]>
2. <style>
3. #sitename img { display: none; }
4. #sitename { background: url(<?php bloginfo('stylesheet_directory'); ?>/images/header_logo.gif) no-repeat; width: 360px; height: 95px; margin-left: 30px; margin-top: 30px; }
5. </style>
6. <![endif]-->

Lines 1 and 6 are the conditional comments. Line 3 hides the PNG image, and then line 4 sets the GIF as a background for the H1 tag and makes sure that it is properly sized and aligned. I did it this way because I didn’t want to mess around with Javascript, since I didn’t have any luck with the Javascript examples I had found on the web.

As you may have noticed, in the last week or so my blog has come back from near rigor-mortis to being chock full of super-short posts. To put it simply, I’ve been inspired by some web 2.0 goodness, and it feels great!

It all started when I signed up for a Twitter account. I discovered pretty quickly that the 140-character limit encourages regular off-the-cuff updates, much like a Facebook status feed, but with way more flexibility. I started posting cool links and random thoughts and it actually felt like updating a website regularly could be fun again.

It still didn’t quite feel like I was updating my blog, though – Twitter lived only in the sidebar of this site when I first started using it. After chatting with a few folks about really enjoying Twitter, Mark recommended that I check out Tumblr.

The interesting thing about Tumblr is that its seems more like a blogging mindset than anything tied down to a specific service or tool. I’ve never used the actual site itself, but I’ve taken what I perceive to be the Tumblring principles to heart.

Basically the impression I get is that a Tumblr blog, much like a Twitter, is all about short updates, but in a more multi-media fashion. Instead of status updates, you post that cool picture, video, song, quote, link, etc., that you stumbled across, mostly in the name of sharing, and generally with little or no commentary. The basic principle is the same, though – breaking free of the constraints of essay-style blog posts and just putting your thoughts and interests right out there.

I also came across a post where the author explained how he had configured del.icio.us to regularly update his site with daily digest posts full of his newest bookmarks. I’ve used del.icio.us intermittently for a few years now, but I’ve been thinking lately that I really need a good way of storing all the cool links and articles I get sent during the workday.

My problem with del.icio.us has always been that I tend to bookmark articles as “toread” and never come back to them. So far I’ve found that adding the links to my blog as a digest post helps me remember to watch the videos I save for later and read the ten-page articles I barely have time to skim at work.

Overall I’m pretty happy with my blog “makeover”, although I may continue tinkering. For anyone interested, here are the WordPress plugins and scripts I used to revamp my site:

Twitter Tools for regular Twitter digest posts and built-in posting from WP, and a mash-up of twitter.js and an existing Twitter Widget for my sidebar widget

QuickPost for the Tumblr-style posts, just because it automates a lot of the post creation and automatically sticks your entry into the appropriate category.

Postalicious for the del.icio.us digest posts. Highly customizable, and much better than the built-in options on del.icio.us (which I couldn’t get to work).

I spent most of this weekend a) trying to keep theleetworld.com from melting after the site made it to the front page of digg (and a bunch of other huge sites) and b) looking at places to live.

For right now, the site seems to have stopped melting, and as for places to live, Tim and I came up with a good top 5 list. Roommate #3, Trey, hasn’t had a chance to look at the places yet, but if he doesn’t manage to do it tomorrow, he’s just going to have to trust us, because we need to get our applications in pronto.

Other than that, I’d like to share the following two music videos I just came across:

Goldfrapp – A&E

You need to a flashplayer enabled browser to view this YouTube video

Nick Cave and The Bad Seeds – Dig, Lazarus, Dig!

You need to a flashplayer enabled browser to view this YouTube video

You know, back in the day, I thoroughly enjoyed web design and coding. But then along came a job that sucked all of the fun out of the whole process and ruined it completely for me. I don’t work for them anymore – it’s been more than two years now – but whenever I’ve been presented with possibilities of web design since then, whether on my own website or on someone else’s, I have never enjoyed the work, and in fact I’ve often had a hard time getting myself to do it, even when money was involved.

That’s all changed recently, though, thanks to our friend WordPress. For whatever reason, installing WordPress has made it fun again for me to tinker with my website, as you may have noticed if you’ve check this place regularly. This doesn’t change my stance on doing web design work, however… I like that this is fun, and I don’t want to change that, especially since I sit in front of a computer working all day. If I’m going to sit in front of a computer at home, it might as well be fun.

Along those lines, I decided to refresh the unsquare.com main page a little bit. The page has basically been a list of the websites I host for a long time, and it still serves that purpose, but I found a way to make it just a little bit more useful.

If you check there now, it’ll show you the first post of all of the blogs I currently host, which is a good way to check and see how recently everyone has updated their site. You could always download a newsreader, I suppose, but this works, too… I used a free PHP script called SimplePie to pull in the RSS data. It was dead simple to use, and that’s the way I like it.

I also added a few more random “styles” to the main page. This mostly involved digging around through the stock art available on the stock.xchng website. It’s a great website, and I didn’t even dig very deeply – I just browsed through the most downloaded stock pictures to find some interesting ones.

What I gleaned from this is that people like to download pictures of handshakes:

handshake

And pictures of people looking professional:

professional

Also good are images that exemplify some sort of abstract business concept about the shrinking world, globalization and connectivity:

Whole world in my hand… literally!

I’m not really going for the “business website” look, however, so I didn’t use any of those images on my frontpage. I’ll probably keep adding more and more styles to the frontpage, too… it’s kind of sad that it’s stayed basically unchanged for at least two years, if not longer.

WordPress Button

My “constant readers” have probably noticed that I keep changing the look-and-feel of this blog about once every two weeks. It’s mostly because I get tired of looking at the same theme all the time, and there are plenty of free themes out there to choose from. A bigger change has happened this time, however, but it is (hopefully) fairly seamless and shouldn’t affect how people use this blog – basically I’ve changed blogging software again. I’ve used several different tools over the years – Blogger, Livejournal, Movable Type, and now WordPress. I had considered switching to WordPress before. Where Movable Type is closed-source and based on a payment model (if you want full support), WordPress is free and open source. I mostly didn’t switch for a long time because of inertia. Despite any issues I might have occasionally had with Movable Type, it was pretty stable, and got the job done. Changing things around would have been too much effort, especially since I had configured Movable Type the way I liked it – I wasn’t sure if I could recreate the same features in WordPress.

Then, about a month or so ago, the newest version of Movable Type starting behaving pretty strangely, throwing up weird errors and generally taking forever to build new entries. I also noticed from looking at Beau’s site that my copy of Movable Type was actually missing some of the features I was supposed to have, despite the fact that I had installed the same version on both of our sites. The biggest problem was that the “save post” button had stopped working, and it was driving me crazy.

I finally decided at that point to just do a complete clean install of Movable Type to see if that would fix my problems. I had to export all of my old entries and import them back into a new installation of MT. I also had to track down all of the helpful plugins I was using and re-install them. The whole effort took a good night’s work sitting in front of a computer, but when I was done, MT was running better than ever, and it looked like all of the kinks had been ironed out… except that it still took forever to “rebuild” posts, and every once in a while I’d get a weird server error and have to rebuild again and again. I dealt with it, though, because I had invested too much time into MT and didn’t want to make the change… until this week.

I recently set up a blog for my friend Tony. I installed WordPress on the site because I thought it’d be easier to set up and use for someone non-technical. Movable Type is great, but it’s got quite the learning curve. Part of setting the site up meant that I had to go into the WordPress dashboard and play around with the options, and as I spent more time in there trying to figure out how to configure the blog to Tony’s liking, I found more and more features that seemed really great/useful. The biggest draw is the WYSIWYG editor built into WordPress – on Movable Type, I had been working with a plugin based on Textile for a long time to make it so that I didn’t have to write complicated HTML just to post an image, but WordPress makes thing much easier right out of the box.

So, earlier this week I sat down one night and started looking into what it’d take to make the switch. I tracked down all of the plugins I’d need, I exported all of my entries, and I got cracking. You see the results before you now. There were a few hiccups along the way, and I am still finding the occasional entry that didn’t format correctly, but for the most part, things look pretty good. I’d recommend WordPress to others. It’s a much more elegant blogging system, and It’s much easier to change things around.

The plugins are great, but the best part is that when I needed to reconfigure a few things, I could just jump in and edit the PHP code, no problem – this is one of the biggest differences between WordPress and Movable Type. MT is written in a language that I have no familiarity with, and it’s much more difficult to dive in and start tinkering with the MT code. MT also uses proprietary tags to make the template files, where WordPress just uses PHP code and function calls.

As you can tell, I’m pretty happy with the switch so far, although I’m still working on changing around a few things.

I contributed to a “boingboing”:http://boingboing.net post! I feel validated by the internet. “Check it out”:http://www.boingboing.net/2005/09/28/harvey_dangers_new_a.html!

Remember that band Harvey Danger? They’ve released their new album in MP3 format, for free, on the internet, using BitTorrent, working on the principle that this is actually a good way to promote your album, especially if you’re a little indie band. I’ve only listened to one song so far, but it was pretty cool. We’ll see how the rest of the album turns out.

So I’ve been playing with the new “Stylecatcher plugin”:http://www.sixapart.com/pronet/docs/powertools that comes with MT 3.2 – the original 1.0 version didn’t work, but they’ve since released a bugfix version and it works just fine, although all of the themes seem to need a few CSS tweaks so that the content centers. Not exactly stellar, in my opinion, although this current theme is pretty nice, now that I’ve got it working. I’d still like to work on making my own theme, but for now, laziness is kicking in and this one works fine.

In other news, my Season 6 set sold as well, so now all I need to do is find someone willing to pay for Season 5. I’m still holding out hope that I can convince someone to pay a decent amount of money for it (say, more than $30), but if it takes too long to sell, I’m just going to have to bite the bullet and do whatever I can to get it off my hands. The longer it takes to sell, the more likely it is that I’ll get less and less money for it…

Also: what did you OC-watchers think of the Season Three premiere? I liked it, but was mildly disappointed at the same time – I really hope that all of the characters don’t spend too much of the season walking around looking sad. And… was it just me, or did it feel like not much actually happened in the episode? Maybe it’s just because I’m used to watching four episodes in a sitting, but it seemed like it was over before I knew it.

I’ve found some excellent new music lately… in particular, i’ve been getting into My Morning Jacket.

Other recent additions include Death Cab For Cutie, Eagles of Death Metal, Kanye West, Kinski, Laura Veirs, Roxy Music, Sufjan Stevens (maaaan… _so_ good!), The Velvet Underground, and The Zombies.

I also just updated “Movable Type”:http://www.sixapart.com/movabletype/ to 3.2. It’s got some sexy new features, including this new default template that I’ve temporarily installed. My site needs a redesign (the “Iota Chapter”:http://www.iotachapter.org site needs it more…) and this is a stopgap for now.

After I got into the swing of “my new mouse”:http://www.apple.com/mightymouse/, I’ve started using “Dashboard”:http://www.apple.com/macosx/dashboard/ after all. It’s still a little persnickity, but seems to at least work better than it did before, and it’s cool to squeeze my mouse and have the Dashboard pop up.

Another nifty tool I’ve installed is “Growl”:http://growl.info, which is a system-wide notifications plugin. I mainly like it because it announces what song i’m listening to along with track art and other fun stuff.

Finally, in a bit of random coolness, as far as I can tell, Mr. Reed himself of “Reed’s Ginger Brew”:http://www.reedsgingerbrew.com found that “entry I made a few months back”:http://unsquare.com/dance/archives/2005/06/reeds_extra_gin.html when I tried their soda… and he left a comment thanking me for my mention. I feel so special!

!/images/google-say-wha.gif!

yes, because why would i drive 50 ft one direction when i can loop all the way around?