Author Topic: Format of structured keyword files  (Read 4893 times)

Offline edcatlett

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Format of structured keyword files
« on: August 16, 2007, 09:28:16 PM »
I have an existing database of structured keywords I maintain.  I would like to use that to generate a file that I can import into PM because I am comfortable with my current way of maintaining the structure, adding keywords, etc.

Is ther some documentation on how your keyword file is setup?  I HATE the idea of trying to enter them manually.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Format of structured keyword files
« Reply #1 on: August 16, 2007, 10:07:40 PM »
I have an existing database of structured keywords I maintain.  I would like to use that to generate a file that I can import into PM because I am comfortable with my current way of maintaining the structure, adding keywords, etc.

Is ther some documentation on how your keyword file is setup?  I HATE the idea of trying to enter them manually.

The file format is exceedingly simple.  The best way to learn about it is to use the Save button and save the sample database to a file and then open it up with a text editor.

Basically it is a UTF-8 encoded text file where tabs are used to describe the hierarchy.  Some special characters are used to mark items as synonyms (words surrounded by { and }) or mark items as organizational "category" nodes (words surrounded by [ and ]).  Words that have no special characters surrounding them are just keywords.

HTH,

-Kirk

Offline edcatlett

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Re: Format of structured keyword files
« Reply #2 on: August 17, 2007, 04:33:42 AM »
Thanks Kirk.

On a side note ... do you sleep? ;D

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Format of structured keyword files
« Reply #3 on: August 17, 2007, 05:52:34 AM »
Glad you asked, I was wondering the same too; Kirk seems to be around always ;D
 
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Format of structured keyword files
« Reply #4 on: August 17, 2007, 06:38:33 AM »
Thanks Kirk.

On a side note ... do you sleep? ;D

Yes, I sleep from time to time.

-Kirk