Over my head

I’m having a hell of a time getting Image::Magick (a command-line set of Unix tools for manipulating graphics) installed and working on my system so that MovableType can see it. Been banging my head against this for most of the last two days, without much success so far.

On the off chance a more-knowlegable-than-me Mac OS X/Unix guru stops by here…anyone want to give me some help?

[A plea for help has been issued on the MT support forums. Hopefully that’ll help.]{.underline}

Jobs for everyone

I doubt this is very serious (or likely), but apparently someone has set up a grassroots movement to elect Apple CEO Steve Jobs president!

The site, unfortunately, is currently slashdotted, but there’s some great comments in the /. thread

well, the mac community is probably larger than the perot community. ;)

rojo\^

“I hereby declare that The White House will no longer be boring”beige”, it shall be painted”Lickable Blueberry\”.

The Apple hoardes debate among themselves whether the country is now just “insanely” better, or “miraculously” better.

Reality Master 101

The White House will remain white, but all the plaster will be replaced with translucent white plastic.

The capitol dome will be redone in anodized aluminum. It will also have firewire.

protein folder

[This is illegal…] Due to the seperation of church and state.

Steve cannot be both God and President without violating some part of the constitution.

Of course, given recent events, that ‘problem’ can probably be remiedied.

asparagus

Must've been a fluke

I'm number 16!

Looks like I was popular today — probably for all of about two minutes, but hey, I’ll take what I can get.

I stopped by the Wander-Lust homepage a bit ago, skimmed over the ‘Popular Destinations’ sidebar, and realized that I was number 16! I have no idea how I managed to pull that off, but it must have been a fluke — as I write this now, I’m number 47. Heck, I’m rather surprised to be on their top-50 list as it is, 47’s impressive enough. But 16?

People must have been really bored this morning. ;)

Okay, now I’m number 4. Bizarre. Cool — but bizarre. I’m guessing I’ll be in my rightful spot completely off the list by morning, but this is fun for the moment!

MT: Easy comment and entry editing

Responding to Dave Winer expounding upon the virtues of Manilla (the CMS Dave creates), Morbus offers this tip for MovableType users:

The “Edit This Page” button may not be a default item in the Movable Type templates, but it is certainly possible — I’ve been using it on the individual archives of Gamegrene.com for quite a long time (it’s there, but is an invisible pixel gif at the bottom of the page). Add the following to your templates and, assuming you’re cookied into the MT adminterface, you’ve got your “Edit This Page” equivalent (broken across multiple lines for ease of reading):

<a href="/cgi-bin/mt/mt.cgi?__mode=view&_type=entry& blog_id=1&id=<MTEntryID>">Edit This Page with Movable Type</a>`

I use a similar technique here, only one that allows me to not have to worry about the blog ID number, and I have ‘edit’ links both for each individual entry, and for any comments that are left on my site. As a bonus, the edit links are hidden, so unless you’re me (or you read this post), you’ll never know that they’re there!

I use a combination of HTML, JavaScript, CSS, and MT tags in the “Posted by…” link on every post and comment to allow me to jump directly into editing mode if I need (either due to a typo or revision on my part, or to clean up or delete any unneccessary comments left by visitors), yet keep it hidden from casual prying eyes.

First off, the code for the “edit post” links as it resides in my MT templates (all one line in the template, broken here for readability):

Post<a href="<MTCGIPath>mt.cgi?__mode=view&amp;_type=entry&amp; id=<MTEntryID>&amp;blog_id=<MTBlogID>" target="_blank" onmouseover=“window.status=’’; return true;” class=“hidelink”>ed</a> by <MTEntryAuthor>`

By using the <MTBlogID> MT tag rather than just typing in “blog_id=X“, we avoid any problems with having the wrong blog ID chosen if you’ve moved the code from one template to another, or don’t know the ID number of the blog you’re working with.

The onmouseover="window.status=’‘; return true;" bit of JavaScript ensures that the status bar of the browser does not change when someone mouses over the link — one of the visual clues to the existence of a hyperlink. Note that there are actually two single quotation marks with nothing between them after the window.status= declaration — if you type them as double-quotes, you’ll break the code by closing out the onmouseover function too early. The’return true;‘ declaration is just there to ensure that the link will get passed to the browser correctly when clicked on.

The last special bit to the tag is the class=“hidelink” declaration. This is calling on a class I have set up in my CSS stylesheet that looks like this:

a.hidelink:link, a.hidelink:visited, a.hidelink:hover, a.hidelink:active {
    text-decoration: none;
    color: #7f7f4d;
    cursor: text;
    }

This set of CSS rules ensures that any HTML anchor with the class ‘hidelink’ will have no text decoration (under- or over-lining or anything else), will be the same color as the surrounding text, and the cursor will not change to the standard ‘pointy’ cursor as it moves over the link. Between this CSS and the JavaScript code in the link, the end result is a working, active link that is entirely hidden from most browsers (and even if someone does find the link, they’ll still need to know your MT login and password to be able to make any changes).

The same trick can be used on comments, to jump you directly to the comment editing screen. Here’s the code I used in the “Posted by…” line for comments on this site (again, as one line in the template):

On <a name=“<$MTCommentID pad="1"&gt;"&gt;&lt;$MTCommentDate$&gt;&lt;/a&gt;, &lt;$MTCommentAuthorLink spam_protect=”1“$&gt; post&lt;a href="&lt;$MTCGIPath$&gt;mt.cgi?__mode=view&amp;amp;_type=comment&amp;amp; id=&lt;$MTCommentID$&gt;&amp;amp;blog_id=&lt;$MTBlogID$>” target="_blank" onmouseover=“window.status=’’; return true;” class=“hidelink”>ed</a>:`

More color/code tweaking

I’m getting closer to settling down with my design fidgeting again. For a bit, at least. I’m pretty happy with the blue-tone scheme I’ve got right now.

I’ve also managed to get the hide/show smileys function when leaving comments working, thanks to a new Scriptygoddess script (that I even helped debug — go me!), and I think (though feel free to correct me on this) that I’ve got the ‘Remember Me’ function when leaving comments fixed too. Just so all five (actually, I might be up to eight!) of my regular visitors won’t have to keep entering their information into the form. ;)

Getting pissy…

Grrrrrr!

Would everyone mind too terribly switching over to web browsers that actually support CSS layout declarations properly? Mozilla, Netscape, Chimera, whatever.

I’m working on redesigning WudiVisions, my photoblog. I’ve got the basic concept for the main page right how I want it, save a little bit of tweaking on the fonts…

…as long as you’re viewing it in a browser that has some idea how to render things correctly, at least. Notably absent from this list is Internet Explorer, Opera, Safari — dammit, pretty much any browser that doesn’t use the Gecko layout engine.

Not sure where I want to go from here. I like the concept I’ve been working with, dammit, and don’t really want to have to find something else. So for the moment, I’m just going to stomp around, whine, bitch, and moan for a few minutes. Maybe I’ll feel better after a good tempertantrum.

Colors aren't my strongpoint

I’m experimenting with different colorschemes for the site. On the bright side, this is very easy to do — just a few changes in the CSS for the site and the whole thing changes.

On the downside, colors outside of black and white just aren’t my strong suit. ;) So this may go on for the next few days until I find something I settle on. Bear with me…

Switch to MySQL

After struggling with things for a few hours tonight, I’ve managed to succesfully convert the database backend for MovableType to MySQL.

What does this mean? Well…good question. For you, the end-user, not much, though as MySQL is supposed to be a bit faster, posting comments might be a bit more responsive than it was before. For me as the author/administrator, it should mean a bit more speed when creating/editing entries, and a lot more options as far as what I can do on a design/implementation level.

At least, that’s the theory. If nothing else, according to one of the moderators of the MovableType Support Forums, “If you have the choice, pick mysql. :) A little faster, more stable, easy to browse the database….” Good enough for me!

BlogFodder

Here’s an interesting idea — BlogFodder, a daily e-mail with a short snippet of text intended to (hopefully) inspire musings, thoughts, and possibly future weblog posts. Meg’s likening it to the old school exercises where a class was given a single topic or title and ended up creating umpteen different stories seems right on target. Worth keeping an eye on, at least.

Installing MT on OS X

While searching around for pointers on getting MovableType moved over to a MySQL backend rather than the DBD backend I’m currently using, I ran across a few good general resources for OS X MovableType installations.

There’s probably more out there, but these are a good start.