Posts in the ‘blogtech’ Category

Wordpress Captcha

The spammers finally broke me. I’ve gotten well over 3,000 spam comments since Monday morning. It was becoming such a pain to delete them all that I have now implemented Nio’s anti-spam comment captcha WordPress plug-in. It seems to be working pretty well so far. Please let me know if you have any issues.

NOTE: I AM NO LONGER USING A CAPTCHA ON THIS SITE.

SXSW 2006

Currently in Austin, TX for SXSW. I’m on the 15th floor of the Hampton Inn and the view from my window at 2am is gorgeous. This is a great city — a lot like Gainesville, FL. The conference is just extraordinary. I have been taking notes like mad and will hopefully someday post many of them.

Section Targeting

Whoa. I don’t know how I haven’t seen this yet. Google lets you target specific sections of your page as more or less relevant to AdSense. This should be required reading for all bloggers and — hell — should be part of the default WP install …

What is section targeting and how do I implement it?

WordPress Plugin: A Modern Major-General

I understand equations, both the simple and quadratical. So I figured I should share with you. Download my Pirates of Penzance “Modern Major-General” random-lyric generator and you, too, will be able to tell at sight a Mauser rifle from a javelin.

Add the function moderngeneral() where you want to print the lyric. I have mine in place of bloginfo(’description’) in my header.php file, but you can place it in your sidebar or anywhere you want.

Protect Images with .htaccess

A few thousand of my hits every day are coming from some little geeks using an old web cam shot of my buddy’s as their avatar in forums. It’s quite funny, because I think they think that they’re actually linking to a different image. It’s pretty annoying, so I implemented scriptygoddess’ code to protect images by modifying .htaccess.

WordPress Mod: DropCaps

The chances of me ever using the WordPress str QuickTag are pretty slim, so I replaced it with a drop-capper. (The T in this paragraph should appear as a dropcap for you if you’re using a browser that handles CSS properly.)

Pretty nifty, I think.

Want to do it?

Read the rest of this entry »

WordPress Mod: Amazon QuickTags

I wanted to add nifty little Amazon links to my posting window … so I did. Grab my zipped version of quicktags.js and you can, too. This is the javascript file that builds the row of buttons above your posting window (e.g. str, em, del, etc.) My version adds two buttons: one for quick-linking to an item at Amazon via its ASIN and one for quick-linking to an Amazon search.

Amazon ASIN LinkAmazon Search

Read the rest of this entry »

Simpsons WP Plugin

I spent a few minutes goofing off tonight and grabbed an ultra-nifty Simpsons Plugin for WordPress. I hacked it a smidge and added about twenty more quotes. Trés cool. It’s amazing that there are just no decent Simpsons images on the ‘net. I seem to remember FOX going nuts on copyright violation a few years ago. It’s hard to imagine that they are that ruthless. How could they have wiped the entire Internet of good Simpsons graphics? What’s even harder to imagine is why the “official” Simpsons site would be so incredibly craptacular — all Flash and useless content; they even incorrectly used “lose” instead of “loose” in one spot. Aye carumba.

WordPress

It looks like I was able to successfully convert my site to WordPress. Maybe now I’ll start posting more often again. :0)

Also: How to Write a Plug-In

Custom Tag Buttons in Edit Entry screen

I use bookmarklets for all my posting and hardly ever enter the MT interface to do anything other than edit old posts. So if you are like me you will need to modify bm_entry.tmpl instead of edit_entry.tmpl, but otherwise this is what you need to do if you were using Scott Andrew’s PowerLinks in your MoveableType blog and they all got lost when you upgraded: Custom Tag Buttons in Edit Entry screen

MT 2.61

I finally bit the bullet and upgraded.

Davidgagne.net has gone from a loose collection of random html files to a Blogger-powered site to a Greymatter-powered site to its current MovableType extravaganza-ness.

It only took me about a year to make the jump from MT2.1 to MT2.61. That works out to about two decades in internet time, so I’m a tad behind the times. I’m furius with myself for waiting so long. I’ve missed all the cool shenanigans Ben and Mena have been incorporating and so my blog is sort of an ‘82 Plymouth Laser surrounded by a world full of ‘03 Land Rovers.

I’ve really been completely out of touch with the blogging community for months like a year now. Sure, I’m still Google’s #1 for Every time you masturbate, God kills a kitten and good suits, but there’s no TrackBack pinging going on here, no Really Simple Discovery happenin’, and, hell, I don’t even know what the fluck all these creative commons licenses are. I’ve been busy, ok? Gimme a couple of weeks and I’ll try to catch up. (Anyone want to help me get up to speed, feel free to drop me a line.)

I managed to catch both Igby Goes Down and Unfaithful this weekend. They are both excellent and I highly recommend them.

Dreamhost Meltdown

Had a slight meltdown here at the ol’ weblog this afternoon. It seems that Dreamhost decided to rename a computer - specifically the one that hosts all my websites - without telling anyone. That caused a bit of a problem since the MovableType CMS (That’s the engine that drives this page!) needs to know the correct file paths in order to publish. Comments weren’t appearing, posts were lost … it was blog hell.

Everything’s fixed now. You can go about your business.

MT

Holy Macaroni! What a terrific birthday present; and I didn’t even realize it until today. (Today is the day after my birthday.) Movabletype 2.2 has been released! And wow! Look at all the new goodies!

Comment the Link

Jason @ JPlay has written a great tutorial on how to add a user comment to the pop-up send-link hack. I’ve gotten multiple requests for this, so I’m sure it will interest many readers. Thanks, Jason!

PING!

Philringnalda.com has a great tip on how to ping both weblogs.com and blo.gs when you publish from Movable Type. Read it.