Fri 30th Sep 2005
Posted in the evening, filed under
Blogsome.
I created (or rather modified) some code to allow for quicktags, so commenters can have bold, italic and code text, amongst other features.
I also added in abbr and acronym tags, just for fun.
Today, I made this even more kick-ass.
If you select some text, and click on abbr or acronym, and there is a valid acronym in the list in the script, it autofills the definition in the dialog for you.
I got rather excited after doing this. But, I’m a nerd.
•
Note: The seperate Quicktags toolbar is not supported. Please use the full toolbox script, or hack it any way you like. The remainder of this post remains for posterity only.
•
Anyway, you can get the button version here, and the CSS link version here. Remember to Right-click and download, rather than just clicking on them.
Thu 29th Sep 2005
Posted early evening, filed under
Blogging.
One thing is missing from my Comment Preview script: when you click on the link button you get a window to enter the link URI, I need to implement the equivalent for the acronym/abbr.
Actually, I can probably autofill most of the acronyms. That would be cool. And maybe get the code added back into the one that is used for the WordPress Dash.
Thu 29th Sep 2005
Posted early evening, filed under
AppleScript ,
Blogsome.
I use SubEthaEdit all of the time, and the feature I like just about most is the Copy As XHTML ⇧⌘C. This will create some nice marked up text that accurately represents what SubEthaEdit looks like - it takes your current syntax styling layout and creates is as XHTML.
There are a couple of issues, at least with Blogsome. Firstly, for some reason Blogsome needs all style tags inside the block to use ‘, not “. I think it might be to do with the fact it is a <pre> block. I did notice it was screwing with some double-quotes on another script I was posting.
My other hassle is that the syntax highlighting isn’t quite right for AppleScript: it doesn’t take into account terms used from applications, so sometimes the wrong colour appear.
I will write an Automator action that grabs the XHTML from SubEthaEdit, replaces ” with ‘, and pastes it into the current active text box, I think.
I also started using Convert Script To Markup Code - don’t recall where I found this, but it does a much better job of marking up the text from Script Editor, and everything looks much nicer.
Thu 29th Sep 2005
Posted early in the morning, filed under
Blogging.
I’ve noticed some commenters Gravatars are not loading, including mine. Some of them are, but I don’t know why.
I haven’t been able to log into Gravatar.com to see what’s going on.
Oh, and Jake, I think there’s a problem with document.commentform on your site, and I cannot submit a comment.
Wed 28th Sep 2005
Posted late evening, filed under
General.
Not that I get a lot of PGP encrypted email, but I had GPGMail installed, and I upgraded to Tiger (I missed the chance to do an Archive & Install, apparently - they hid that a bit too well).
Mail complained on startup that GPGMail wouldn’t run, but apparently it still was trying to render the emails through it, as every email I tried to view caused Mail.app to crash. A cursory inspection of the Crash Report told me this was the cause. Disabling it fixed it alright.
Wed 28th Sep 2005
Posted lunch time, filed under
General.
I have a couple of DVDs a friend gave me, and I have noticed some interesting things occurring with them. Firstly, I thought the DVD he gave me was bad, as it would not mount in my iMac G4. It’s an HFS or HFS+ disc, so will not mount in a PC either.
I then asked him for another copy, which he gave to me. It won’t mount either. Thinking something weird was going on, I tried it in an iMac G5, with a DVD-ROM/CD-RW drive. Mounted first time. I then tried it in another iMac G5, this time with a DVD-RW (specifically, a Pioneer DVR-K04F) drive, and it wouldn’t mount.
So, it seems like this DVD will mount in DVD-ROM drives, but not DVD-RW drives. And I cannot make another copy, as the only drives it will mount in are not Recordable drives!
Every other disc I have tried in my iMac has worked. I am stumped.
Tue 27th Sep 2005
Posted in the evening, filed under
iTunes.
I haven’t updated the iPod in a while, and I noticed after doing it tonight that it gives it a nice new icon, and when restarting the iPod it gives a progress bar, just like booting up a Mac.
Tue 27th Sep 2005
Posted in the evening, filed under
Blogsome ,
JavaScript.
Note: This has been updated to reflect most of the feedback I received from the comments and emails.
One of the ways to combat comment spam is to use a Catchpa: or a Completely Automated Turing Test to Tell Humans and Computers Apart. I have implemented one with a simple bit of JavaScript.
(more…)
Tue 27th Sep 2005
Posted late afternoon, filed under
Culture ,
Humour.
Boing Boing: Interesting words from around the world
My favourite: bakku-shan: a girl who appears pretty from behind but not the front. Japanese.
Tue 27th Sep 2005
Posted mid-afternoon, filed under
Blogsome.
Since someone on the forums mentioned that you can change some hardcore options with /wp-admin/options.php, I got a little interested, and discovered there are other filest that you can run, and do interesting stuff with.
(more…)