Footnotify and a site redesign

Recently I found a really cool Chrome extension called Footnotify, which takes footnotes (as you see them on Daring Fireball or Wikipedia) and renders them as a hovering box when you click them. If you are a regular reader of either site (or, indeed, a plethora of others) you too might find it handy.

The extension’s elegance and ease of use made me want to put footnotes on my website, too, and so I started fiddling with various footnote extensions for WordPress. Eventually, I got a little disillusioned, since none of them were working quite how I wanted — as a result I sought out PHP Markdown Extra, which includes footnotes and also a host of other neat ways to write online. It’s based on the syntax developed by John Gruber, who runs Daring Fireball, and so the footnotes it generates are guaranteed to work with Footnotify, right?

Wrong. The WordPress theme I was using completely screwed footnotes up, and so I went hunting for a new one. I had been using The Unstandard, which is the theme I’ve successfully implemented and used over on the Leicester Sabres website. It’s a very good theme that’s very visually powerful — for the Sabres, that means that we draw people into the site and get them reading. However, I don’t really do my website for the hits, and so I’m unsure that the very visual theme was suitable. I ended up looking for a new, simple, one-column theme1 and eventually found Blaskan, which is now in use on the site.

As a result, I’ve installed a new plugin ([Markdown Extra]) and installed a new theme (Blaskan). However, they aren’t the only changes, since Blaskan also has good support for smartphones and as a result I no longer need the plugin that enabled the mobile view I previously employed. Good news all round!

There’s one small problem — for some reason, Footnotify doesn’t work properly on the individual blog entries. If you click a footnote on the main homepage it’ll work fine, but on the page for this post, it’s broken. I installed the JavaScript that enables it on a website, in case having it on the site rather than as a Chrome extension was helpful, but that hasn’t changed anything; I’ve gotten in touch with the author and hopefully this will eventually be resolved.

Edited to add: Initially, I had a problem with Footnotify. It would work fine on the homepage, but on the entries’ pages themselves, it didn’t work correctly. After sending a missive to Michel Fortin, I was able to identify it as an issue with a plugin on my website. Something was causing the relative footnote links generated by [Markdown Extra] to become absolute links, and thus breaking the Footnotify plugin. After some trial-and-error, it turns out that it was an issue with Joost de Valk’s Google Analytics for WordPress plugin. I visited de Valk’s website, where I read:

For plugin support, please use the appropriate support forums on Plugin support emails will be immediately discarded. The only reason the option in the contact form below is there, is so I can more easily filter away those emails for those who don’t bother to read this text.

As such, I couldn’t be bothered to notify him of the bug in his plugin, and am instead using a plugin called Google Analytics which is much simpler to configure and works perfectly for what I need it to do. And now, footnotes work how they should — hurray!

  1. The eagle-eyed amongst you will have noticed that this theme is not one-column, since it has a sidebar. You’re entirely correct to notice that, but Blaskan can be configured to be one-column and so appears in several lists of such themes. 

Google Chrome and download management

This marks the first blog entry on this website that isn’t related to fan writing, but is more about technology and my experiences with it. I want to write about my struggles with technology here, partly for my own benefit (so that, if I come across a problem again down the line, I can just look on my blog for the answer!), partly to solicit help from others, but mostly because I sincerely hope it might be interesting. Let me know what you think!

I have recently been looking at switching my default browser from Mozilla Firefox to Google Chrome. I am a Mac user, and I have two Macs – a MacBook from 2007 and an iMac from 2010, both running Mac OS X 10.7 (Lion). For some reason, on my MacBook, Firefox 5 was horrendously unstable and would regularly crash (Firefox 6 is better, but I’ve still seen the SBBOD way more than I should), and so I began to use Chrome as a solution until Firefox was updated to work properly with my MacBook. As a result, Chrome now occupies the position of default browser; Firefox no longer even resides on the Dock!

There is something making me hesitant, when it comes doing the same with Chrome on my iMac, however. I’ve been using Firefox for a long time (since before Firefox 1.0, in fact) and, before Firefox, I was a Mozilla Suite user. But the brand loyalty isn’t the problem – Chrome has impressed me enough with its adoption of Mac-like UI features to convince me to switch. It was updated with support for Lion’s full-screen mode quickly after Lion’s release, which is a Godsend on my MacBook’s 13″ screen. On my 21″ screen, as well, the fact it maximises to the content displayed (as any other Mac app would) rather than the window (which is what Firefox insists on doing) is a really nice feature. I would dearly like to take the plunge and move to Chrome, so what’s stopping me?

Well, in a word, add-ons. I have many add-ons for my Firefox browser. I have a plugin that brings Safari’s PDF reader interface over to Firefox. I have a plugin for an app called 1Password, which allows me to access all my login data for every website I visit. I have the FlashGot and NoScript plugins, which allow me, respectively, to use the download manager of my choice and block Tynt (the only reason I have NoScript). I also use the Camelizer, which allows me to see graphs of Amazon products’ pricing over time at the click of a toolbar button. And Easy YouTube Video Downloader adds download links to all YouTube videos, allowing me to easily archive content I like.

So, what does Chrome offer? Well, the 1Password team offer Chrome support, so that’s that sorted. The Camelizer isn’t available for Chrome, but their website does the same job, so that’s something I can live without. As Freddie points out in the comments, the Camelizer is available on Chrome, and the UI is actually improved over Firefox. NoScript isn’t available; but Tynt now allow you to opt out of their service from your browser, which is a little less elegant but achieves exactly the same task. Easy YouTube Video Downloader is an available Chrome extension, and I now have it installed. And Chrome has its own PDF reading feature, so I don’t need to hack in the Safari functionality as I do in Firefox.

What does this leave? FlashGot. There’s no FlashGot equivalent for Google Chrome. I currently use FlashGot to feed downloads to Speed Download from Yazsoft. Speed Download is supposed to be able to work with Google Chrome, without FlashGot. However, this involves totally uninstalling the app (using the company’s provided uninstaller) and then reinstalling it, which I dutifully did. Not only did that not fix the problem, it actually introduced a new one – the preference file on my Mac which told Speed Download it had been paid for was removed by the uninstaller, and because I purchased it in a MacHeist bundle, I could not reregister (the developer isn’t keen on those users that didn’t pay very much for his software, which does rather beg the question why he made it available in the bundle in the first place). Cue a trawl through Time Machine to find and restore the appropriate system files to their pre-uninstallation state (for the curious, if you restore com.yazsoft.SpeedDownload.plist both to /Library/Preferences and to ~/Library/Preferences, the app should be satisfied you bought it).

So, FlashGot is unavailable and Speed Download appears to be very tempramental in its support for Chrome. What does that leave me with? Well, I remembered using Leech (from ManyTricks) once upon a time, at which point I promptly Googled it. Turns out that changes in Lion and WebKit mean that, not only does it not support Chrome, but it doesn’t even support Safari any more. And, a perusal of the Speed Download forums revealed that they’re having exactly the same issue – both download managers are only compatible with Firefox at this point (through FlashGot).

So where does this leave me? Well, it means it’s almost impossible to switch to Chrome, from my perspective. I rely on my download manager, and without it I’m unlikely to switch on my desktop computer. But then, I had a stroke of inspiration – if I just put the Speed Download icon on my Dock, I can just drag links to it. This is my current solution to the lack of integration, but some download sites work in such away that this is not a perfect fix to the problem. Yazsoft say they are working on a major new release of Speed Download to get around the problems that Safari 5.1 has introduced for their app. Maybe that will mean that they introduce proper Chrome functionality, rather than the existing solution which seems only to work for a lucky few.

For now, I will be using Chrome, on a trial basis, on my iMac. If I can get by with dragging downloads to the Dock, and the lack of proper integration proves not to be too annoying, then I’ll stick with the browser and hope that Speed Download 6 features better Chrome support. It’s actually rather exciting; it’s been so long since I switched browser that it’s quite nice to have a change!