Categories
General

Photopress 1.5 for WP 2.7

This will likely need some refinement, but major bits seem to be working with WordPress 2.7. If you notice things that still need to be fixed, please let me know.

Download Photopress 1.5 for WordPress 2.7: photopress_1.5.zip

Thanks to Brad for noticing the broken link!

Thanks to afperea for noticing the broken demo album – fixed by refreshing permalinks. Wondering if there’s a way for Photopress to do that…

Categories
General

Photopress 1.4: final bugfix for WP 2.6

This version is only for WP 2.6-ish – I’m working on getting my plugins working well with WP 2.7 over the next couple of days. The upgrade to WP 2.7 is going to be rough on my users, but hopefully they’ll like it once they adapt.

In the meantime, Steven Alm found an issue with album display – if you aren’t using permalinks it’s much easier to use the page ID than the page slug, but Photopress wasn’t looking for page IDs. This version fixes the problem with a spot in the options to specify a page ID for the album page. I also noticed the album style stuff wasn’t getting inserted properly. Finally, this version fixes a huge performance issue when using Photopress with other plugins that use preg_replace.

Download Photopress 1.4: photopress_1.4.zip

Categories
General

Digikam-pocalypse

I’ve been using Digikam to organize my photo portfolio into albums and tags for quite a while. I have something like 2500 photos, with a few albums and a LOT of tags. The new version of Fedora comes with KDE 4, which apparently includes a new version of digikam. Normally this would be a good thing – more features, prettier interface, etc. Unfortunately, the new version’s database is a little different, so it’s gotta import photo info from the old database. Sadly, it failed to import mine for some reason, maybe because I have so many tags or photos. It started up fine with just the photos, making a new database from scratch, but my old tags obviously weren’t there.

I thought about just waiting patiently for an update to digikam to see if that’d fix it, but I figured I’d poke around in the meantime. Digikam stores its photo info in a SQLite database, which can be messed with using the SQLite Manager add-on for Firefox. Sounds strange, looks pretty ugly, but it works well enough. SQLite databases are just files so I made a copy of my old database and the new, empty database to work with. The old and new databases looked pretty similar – there are just a few new tables and some tables have new fields. The tag-related fields look exactly the same though, so it’s pretty odd the import failed. I’d hoped to just use SQLite Manager to just copy the old tags tables into the new database, but the image ids were sadly different. All my image names are unique, which meant I could run a query to match up the old and new image ids using the image names as a key, then replace the old ids in the copied-over ImageTags table with the matching new image ids. Complicated, but it worked…

Categories
General

Liferea + Flash in Fedora redux

I’ve been without Flash support in Liferea for my x86_64 Fedora for quite a while. Well, Adobe has a 64-bit alpha version of their sucktastic Flash Player available now, and it seems to work perfectly with both Firefox and Liferea – so now I can watch BB’s lame unicorn videos right in my favorite feed reader. I can’t decide whether this is good or bad.

Categories
General

Cran-ban-nut muffins

Cran-ban-nut muffins

Something to do with leftover cranberry sauce…

Ingredients:

  • 3 very ripe bananas
  • 3 eggs
  • 3 tablespoons soft or melted butter
  • about 3 cups of fluffy nut flour (grate in a rotary cheese grater or buy at Trader Joe’s)
  • flavoring like vanilla, nutmeg, etc.
  • about 1 tablespoon honey
  • about 1/4 teaspoon salt
  • about 1/2 teaspoon baking soda
  • about 3/4 cup cranberry sauce, hopefully homemade

Preheat the oven to 350 F. Smash up the bananas in a bowl first, leaving chunks if you like. Mix in everything but the cranberry sauce, adjusting the amount of nut flour to get a batter that’s a little thicker than usual – the cranberry sauce will thin the batter. Fold in the cranberry sauce carefully if you don’t want pink muffins. Spoon into muffin pans and bake about 35 minutes for smallish muffins, watching carefully for brownness – the nut flour burns easily.