February, 2006


22
Feb 06

RSS Demystified

I’m a big fan of RSS. There’s no way I could keep up with everything without it. But I’ve found that with the exception of a small handful of my technically-minded colleagues, everybody I know seems to fall into one of these three camps.

  1. They don’t know what it is, or if they do,
  2. They don’t know how to make use of it, or
  3. They don’t understand the point of it.

This article aims to lay out, very simply, what RSS is and why it is useful for the average person, not just for the tech-savvy crowd.

Continue reading →


19
Feb 06

txp:dml_article_thumb

Textpattern provides the <txp:article_image /> tag, which I use in the templates for the majority of posts on my site. However, for some reason it doesn’t provide an equivalent tag for the thumbnail version of an article image. Since I use thumbnails in my RSS feed, this was problematic for me. This plugin was my answer to the problem.

To install:

  1. Download the plugin file (see link below)
  2. Go to Textpattern’s admin tab
  3. Go to the plugins tab
  4. Paste the contents of the downloaded file into the text box and click upload.
  5. Once the plugin shows up in the list, you’ll have to click ‘no’ in the Active column to change it to ‘yes’; then the plugin will be active.

To use:

  1. Make sure your article has an article image assigned. The article image is listed under the advanced options.
  2. Put a <txp:dml_article_thumb /> tag where you want the thumbnail to appear.

The article image should be the image’s ID number only. Don’t add a file extension or anything, just the ID, i.e. “52″. To put the full size image into the article, use <txp:article_image />.

Download dml_article_thumb-0.6.txt


11
Feb 06

Night Lights

Dusk

Budapest, Hungary.

Submitted for Lens Day challenge “Dusk“.


10
Feb 06

iPhoto batch add comments

UPDATE: As the first comment below indicates, one can now do this natively in iPhoto. A little Googling suggests that Apple added this feature in iPhoto 4. So check out the Batch Change feature (found in the Photos menu), it appears to do the same thing that my Applescript does. Actually, it does one thing my script can’t do — it is able to replace comments entirely, if you want, instead of appending to the existing comment.

Thanks to Michael Browne for pointing this out.

(Original post follows…)

I use iPhoto to manage my digital photo collection, but I find its keyword feature to be very difficult to deal with. I wanted a free-format searchable keyword system, not some predefined list of tags I could add to my pictures.

iPhoto has a comment facility so you can put remarks on your images. However, you can only do so one image at a time using a text entry box. When I have a newly imported batch of 200 photos and want to apply the same keyword(s) to all of them, that just isn’t going to work.

Enter Applescript. This script will let you add a random string of word(s) to any selection of images in iPhoto. Simply select the desired photos in your current iPhoto window, run this script, enter your keyword(s) in the dialog box and click OK. The script will run and pop up another dialog when it’s finished.

The script will recognize existing comments and preserve them. If an image has no comment, the keyword(s) are set as the comment. If an image already has a comment, the keyword(s) are appended after adding a space.

Now, I can go to iPhoto, type “hubbard glacier” into my search box, and find all the pictures I took of a particular glacier in Alaska. Voila! And I don’t have a zillion pre-defined keywords in the iPhoto preferences, either.

One final note. If you apply your keyword(s) to a lot of images, it might take a while to get back the final OK window. Don’t worry, Applescript is still working for you. Be patient. On my PowerBook G4 1.25GHz laptop, it can take a couple of minutes to get the result back if I’m marking 200 photos.

DISCLAIMER: Use this software at your own risk. If it does something bad to your iPhoto database, it’s not my fault.

NOTICE: I have used this script with iPhoto 5 and can claim it will work. It has not been tested with iPhoto 6 to my knowledge. If you decide to try it with iPhoto 6, please drop me a note and let me know what happened.

Download iphoto_batch_add_comments.zip