Posts tagged ‘blogging’

Tweaking Bigfoot footnotes

Like a lot of people, when I saw Chris Sauvé’s Bigfoot footnotes system, I knew it was just what I was looking for. A few years ago, I installed a modified version of Lukas Mathis’s popup footnotes and have been using it ever since. The systems are similar in that they both pop up the…


Catch up

Because this has never been a link blog, I’ve never felt the need to comment on what everyone is buzzing about. A good thing, too, because I’m both a slow writer and otherwise employed; I’d never be able to keep up. Consider this an agglomeration of thoughts over the past few days (or weeks) that…


Affiliate links via the iTunes Search API

I started writing these scripts a couple of weeks ago, and they weren’t supposed to take very long to put together. But I had to learn some things along the way, and then I got caught up in the statusbar cleaning scripts, so they kept getting delayed. Better late than never, though; I expect to…


Autotweeting update

Back near the end of August, I set up a special Twitter account, drangposts, from which to tweet notices of new blog posts. And to make the tweeting semi-automatic, I wrote a little script that connected to the blog through the WordPress API, grabbed the title and URL of the most recent post, and then…


Scripts for WordPress and BBEdit, Part 3

If you write a lot of helper scripts that you come to depend on, you’ll probably come to realize how interdependent they are. They don’t all get written at once, of course, so they kind of accrete onto your working environment—written in whatever language seems the most appropriate at the time and saved wherever convenient.…


Scripts for WordPress and BBEdit, Part 2

In contrast to yesterday’s script, which focused on pushing posts up to the blog, today’s scripts focus on accessing and downloading articles from the blog. Like the publishing script, they’re built in an editor-agnostic way; unlike the publishing script, they require an AppleScript wrapper to work smoothly with BBEdit. The scripts in today’s post are…


Scripts for WordPress and BBEdit, Part 1

About this time last year, I switched from TextMate to BBEdit and wrote a few scripts to help me blog directly from my new editor. As I explained in these two posts, the goal of these scripts was to be editor-agnostic—I wanted them built as Unix utilities that communicated entirely through stdin and stdout. I’d…


New Apple affiliate link scripts

This afternoon, I followed James Thompson’s tweet to learn about Apple’s new affiliate program. It’s dropping the slow and exceedingly clumsy LinkShare and moving to the Performance Horizon Group (PHG).1 The changeover will be complete on October 1, so if you don’t switch over by then, your affiliate earnings will dry up. I clicked from…


Apple links and images

I’ve changed the affiliate links in the sidebar again, eliminating the Amazon link and settling (for now) on a Mac app, an iOS app, and an iTunes album or movie. Because all the links are to Apple stores, I decided to rewrite the script that generates the HTML for the link, the image, and the…


On comments

I guess I owe you an explanation. A couple of weeks ago I turned off comments on the site. It was on the day I wrote the “big ice cubes” post, but it wasn’t to forestall any negative comments that post may have prompted.1 It was because of comments already on the site that was…