TTG Client Script

Download the latest TTG Client Lightroom Script version here (20091216.002)

Released under the GNU GPL version 3 license

 

This PERL script converts TTG Client Response Gallery, TTG Highslide Gallery and TTG Highslide Gallery Pro gallery selection emails

e.g.

Selections: EX_20080914_153823, EX_20080914_154715
GalleryTitle: Test Gallery
Name: Sample
Email: <>

into smart collections that can be imported into Lightroom.  Details regarding the usage of these web galleries can be found at The Turning Gate.

Pre-Requisites

This script is written in PERL.  Mac OSX users should already have PERL available on their system.  Windows users may need to download and install PERL from here.

Usage

  1. Unzip the TTG Client Lightroom Script (1778) file on your HDD.
  2. Copy the body of a TTG Client Response Gallery, TTG Highslide Gallery or TTG Highslide Gallery Pro gallery selection email into a text file. (Example: ttgclient-sample.txt, in the test directory of the download ZIP) 
  3. Run the ttgclient.pl script installed in step 1, passing one or more filenames as parameters. Do this using a command line similar to the one (in bold) below.  Upon successful execution of the script the “Smart Collection” response will be provided.
    e.g. on Windows ttgclient.pl test\ttgclient-sample.txt
    Smart Collection TTGClient-Sample-Selections.lrsmcol ready for import to Lightroom.
    e.g. on Mac (assumes perl is in you path) perl ./ttgclient.pl test/ttgclient-sample.txt
    Smart Collection TTGClient-Sample-Selections.lrsmcol ready for import to Lightroom.
  4. Open Lightroom’s Library module.
  5. In the Collections panel, right click on a Collection. Select Import Smart Collection Settings from the context menu, then select the file generated by ttgclient.pl (e.g. TTGClient-Sample-Selections.lrsmcol).
  6. If the client specified ratings for any of the photos you will also have a separate import files generated for each rating level awarded.  Repeat the previous step until all of the collections are imported.

You should now have a new Smart Collection (e.g. TTGClient-Sample-Selections) containing all of the selections and rated images included in the email from the gallery. 

History

Version Change Log
20091216.002 Worked around LR2 web gallery bug that renames files if they have a hyphen in their name (Issue #40).
Added support for TTG Highslide and TTG Highslide Pro gallery email format (Issue #41).
20081102.001 Initial public release