Earth Home Links Archives Photos About Home

Blog, sweat and tears

Posted on Friday September 25, 2009 at 10:36 am. Tags:

Alright. Think I have everything looking more-or-less back to normal. What changed? I upgraded my theme to accept widgets, which makes it easier for me to put new stuff in the sidebars. I also made the header graphic a little cleaner and widened the whole page. I mean, has anyone seen a 1024 by 768 monitor in the last few years?

Other questions: which Twitter badge do you prefer? Text or flash? I feel like the whole thing looks a little cluttered and busy, especially with the flash badge. Any other suggestions?

I’m about to turn off my comment spam blocking just to refresh the “recent” list. The last one was in December, he whined.

Progress is progress

Posted on Wednesday September 23, 2009 at 5:17 pm. Tags:

Okay. Dealt with the stylesheet, so it looks reasonable. Next up: make a new header image, and modify the column background images accordingly.

Hang in there. I’m coming back… slowly.

And of course, if you have any suggestions, please please let me know. I don’t have the best sense of style. For example: webcam not-found image replacement: too big? ugly?

Update:
Okay, got the banner fixed. Next up: column backgrounds. Thennnn…?

Widgetizing

Posted on Sunday September 20, 2009 at 1:16 pm. Tags: ,

I’m making some apparently much-needed upgrades to my Wordpress theme. Since I downloaded, modified, and installed this theme, WP has developed “widgets”, which seem to function as drag-and-drop objects for common things like recent posts, comments, archives, etc. Plus, my new plugins like WP-Cumulus and Fotobook have available widgets.

So this site might look a little messy for a while. I currently have widgets installed on the right toolbar. I’m going to modify their CSS to get them looking the same (they’re pretty close already) and then finish up the installation. I’m hoping that it’ll make the whole setup a little more modular, so I can move things around a little without getting elbow-deep in CSS theme sewage.

So stay tuned. A prettier supercres.net coming right up, hopefully.

Testing tag cloud…

Posted on Friday September 18, 2009 at 11:54 pm. Tags: ,

Trying out another new plugin, called WP-Cumulus. Pretty cool. Look at it in the left sidebar, or a big version below and in the “Archives” page.

(click here to read the rest of this article…)

wget considered harmful

Posted on Friday September 18, 2009 at 3:25 pm. Tags: , ,

Considered harmful to Wordpress, anyway.

I was trying to type my previous entry, about getting Fotobook working, especially the second bit about getting the update script running automatically through my crontab. The problem was… I couldn’t type wget!

It’s kind of an important part of the crontab line; that’s the command that has Unix load the given page. But for some reason, every time the word wget was in the post, I got an error when I tried to publish my edits. I’m guessing that Wordpress tries to execute wget when it finds it (for reasons unknown; a bug?). So I spent longer than I care to recount trying to figure out how to disguise wget in my code, but have it appear normally on the entry so it could be copy-pasted into Terminal.

The first solution I looked for was an HTML tag like to make it not interpreted, and just presented literally. Didn’t work. And my search for a better tag was fruitless, though CDATA looked good for a while. (Guess it doesn’t interpret in XML.)

Then I tried inserting things inside wget. Putting a “|” in the middle obviously worked, but it’s ugly, and I’d have to explain it. So I looked for some latin-1 character that would be invisible.  was close, but for some reason, when it copy-pasted into Terminal, it eliminated the “g“. A 0×0 .gif image would’ve worked, but my stylesheet gives every image padding plus a border, so it looked like a white box in the middle.

Then the lightbulb— any HTML tag that wouldn’t get rendered into something visible would work. I tried <>. That showed up as <> (weird). </> was invisible, but when I went back to edit, WP had gotten rid of it as obviously useless. So then I just used bold tags.

wg<b></b>et worked. Hurrah.

Kludgy, but it works. If you have a better, more elegant solution, I would love to hear it.

Photos galore

Posted on Friday September 18, 2009 at 11:21 am. Tags: , , ,

Oh, this is so so cool.

I got the Fotobook plugin for Wordpress, and now my Photos page is automatically populated with all my Facebook photo albums. And since I installed Lightbox plugin, clicking on the photo enlarges it in a cool Flash (?) overlay.

Very fun. Highly recommended.

Update:
And now I have my cron job working. (On the hour, it repopulates the Photos page with all my most recent Facebook albums and photos.) For the benefit of future Googlers, you’ll want to put something like this in your crontab.

0 * * * * wget --delete-after "http://supercres.net/wp-content/plugins/fotobook/cron.php?secret=************&update"

…Making sure, of course, that it’s all one line and that you replace my URL with the one given in your Fotobook settings. Also note that wget is not included with OS X; they have curl, but I didn’t try that. (I’m putting it in my local machine’s crontab since my website server has shell access but not crontab.)

AND FINALLY… you have no idea how hard it was to get the word wget in a post. For some reason, Wordpress tries to execute it when I click the “Update Post” button. Another post about that coming soon.

Recap for real

Posted on Thursday September 17, 2009 at 6:12 pm. Tags: , , , , , ,

Alright. As promised, a full recap of what’s been going on since I was last regularly posting. But it’s a long one, so set aside a few minutes, then click below.

(click here to read the rest of this article…)

Twit blasted?

Posted on Thursday September 17, 2009 at 2:56 pm. Tags: ,

Seeing if my plugin to update Twitter with new posts is working.

That worked. Now seeing if Twitter updates with edits.

Now testing the “don’t tweet!” option, and to say that I’m using the WP to Twitter plugin by Joe Dolson. Like it so far, except that it’d be nice if I could tweet by default on new posts, and not tweet by default on edits.

24… 24/7

Posted on Monday January 19, 2009 at 9:47 pm. Tags: , ,

Grr… slow at posting recently, I guess. I tend to Twitter funny things I find these days, or just IM them to a few people. I’ll try to get back in the habit.

Also… I turned 24 yesterday. It was a low-key birthday, punctuated by an Eagles playoff loss. Also, it’s snowy and too cold. Makes for bad going-out weather. But it was still fun.

On the plus side, I was giggling like crazy at the Flight of the Conchords premiere last night, and also enjoyed Big Love. (Unless something big happens with the latter, it’s kind of losing its luster in its early third season.)

Right. Action items: post more. And… that’s about it. Enjoy the inauguration and subsequent regime change, kids.