Tag Archives: Site updates

Where I navel-gaze at the fun of my recent site updates.

Happy Bir’day to Me!

There's no end in sight for this.Saturday was my bir’day! I’m a ripe young mumble-something years old, and I don’t feel like I’m getting old–I feel like I’m running out of time.

Advertising that I didn’t want gifts (hello, getting rid of stuff) meant that the gifts I did get were thoughtful and amazing. A set of writing books covering memoirs, grants, motivation, and fictionwriting techniques. A shorthand manual. Weber and Neal Stephenson books. Amazing and creative fancy-pants yarn (color 12).Greg says this yarn could kill me and that I should ask for a pale man to save me.

I picked up yarn for a new project myself on Saturday–an afghan to be finished by Feb 13 and begun after I finish my current afghan. Greg, being Greg, picked a pretty, soft eggplant-colored yarn for the blanket, and it’s going to be beautiful. I’ll have to relearn how to knit for that and the wavy scarf I’m doing with the fancypants yarn.

Continue reading Happy Bir’day to Me!

Search-building: custom or Google

Until earlier this week, I had a lousy site search in place. It was one of Google’s Custom Search Engines, barely configured and only on its own page, due to it’s hefty (and blocking!) JavaScript. I’d long since disabled WordPress’s search since my stories aren’t being run in WordPress, and I didn’t feel like trying to chew on the internal search mechanisms to include the stories.

Last week, I started playing around with a project to create my own (Python) site search, including a crawler and Whoosh-based search. I’d seen the implementation of a Lucene search in Zend go fairly easy-peasy, and liked the idea of a self-hosted search.

Problem is–well, one of the problems is–the crawl time for a site with 1200 posts (most of which are low-priority) is a deal-breaker on a shared hosting provider. It takes far longer than 5 minutes just to collect the links, even with multiple threads. Add the parse time to get indexable content for 1200 pages, and I was stuck contemplating how to crawl and index the site in parts.

This sounds like a great, fun, project. …Except that it’s already been done and I have other things I’d rather be doing. Google did it; their index for my site updates surprisingly quickly and doesn’t make me afraid that Dreamhost will smite me. (I’ve been with Dreamhost for several years now, and while I’ve learned how to properly deploy a site since moving here from… Brinkster, was it?, I don’t relish the idea of learning a new environment for all the stuff I run here.)

So instead of the 4-5 hours I’d spent screwing with the Ikea-esque assembly of a site crawler and search, I spent two this week really making Google’s Custom Search Engine (CSE) work for me. Yes, there are ads. Yes, it’s not a solution that I own. (Then again, neither is my email, in that sense.)
Continue reading Search-building: custom or Google

OpenID: why is this so complicated?!

So, I set up a Google Profile in the hopes that I could centralize my identity on the intarwubs using this new-fangled OpenID thing.

My first target was Yahoo(!). I know, Yahoo is so not cool, but the Charlotte Camarilla LARPs have their mailing lists there. (Side note: I would totally host and maintain forums on a server for them. Mailing lists are so 1998.). I just wanted to start to sign in with my Google info, because I hate making 15 different profiles. Even Facebook Connect would be fine.

Turns out I’m stuck using my antiquated Yahoo(!) account for that (and Flickr). Of course, it wants to be my OpenID, too.

I know OpenID is supposed to be (in part) about taking ownership for URIs, but I’m not greedy. I only want ownership of a couple: irrsinn.net and some other beast with all that stupid profile info (like the Google profile I constructed, or Facebook) that can identify me other places.

What’s the point of OpenID if I have to have one for every major service provider?

Since Google and Yahoo are partisan and won’t use each other, I might as well not tie myself to a particular PIM provider. So I created a MyOpenID profile and tied it to irrsinn.net using the OpenID plugin for WordPress (although the directions in the article “Using Your Own URL as Your OpenID” work, too). I ended up spending an embarrassing amount of time trying to get that to work, too. A mix of WP Super Cache and a conflict between the meta tags method and the OpenID plugin (don’t use both!) made for a great evening of fun.

Here’s a secret: don’t try to set up the domain as your OpenID and set up OpenID-able WP comments at the same time. Just go step by step.

Why not use my pretty Google profile for my OpenID, you ask? Because Google is pretty damn ridiculous about their setup and documentation: it may not even be possible. I don’t want to have to swim through API docs to find what parameters I need for two meta tags. (Couldn’t find it there when I glanced through anyway.)

In a childish huff, I’ve decided that if Google wants to make this so crazily complicated, then I’ll just use a neutral party like MyOpenID. Hmph!

Titles on links: straightening up

A combination of my recent job interview and reading Coding Horror reminded me that I’ve been slack on putting title attributes on my links here on the blagonet. The interview because it touched on accessibility, and Coding Horror because Atwood crosslinks a lot of his posts, but doesn’t give the name of the post in the title tag, which means I end up with 30 open tabs to blog entries that I couldn’t cherry-pick thanks to non-semantic URIs and no titles. I also don’t know which of Atwood’s links are internal or external without checking the URIs. Kinda frustrating.

So I reactivated my External Links plugin (which puts that nice little icon next to external links) and am being non-lazy about titling links.

I feel better already. Hopefully that’ll make things a little easier to read around here.

Initial story management plugin done

My initial pass at the story management plugin is in place. It doesn’t do the fancy things I want it to do yet, but it can note the root page of a series, output a list of stories in story-date order on that root page, note the arcs, and give Next/Previous links using the actual story names in the individual stories.

Not bad for about 3 hours of work. Especially having to code around my elbows in WP.

Interesting note: PHP stores timestamps as integers, which means that to get dates beyond the year 2038, I used this nifty little Date class. Dropped in like a charm, doesn’t seem to have caused any conflicts with other parts of WordPress.

I think I’ll polish the plugin up a bit (give it a description, for instance) and toss it up in the WP plugin library. It’s not very configurable at the moment, but that’ll probably wait until I get in the sorting features that I want.