Importing 21k pictures from directories (BINS format)

mkochano

Joined: 2008-12-05
Posts: 27
Posted: Fri, 2008-12-05 13:28

Hi

I'd like to import my BINS gallery (little more than 21k pictures) to Gallery2.

BINS galleries are built from directory structure containing image files and XML descriptions. Directory names are used as album titles while their numerical prefixes are used for ordering (directory "001_First album" will be shown as album called "First album" and will be first on the page).

This is example of such structure:

.
|-- 993_Rok 2008
|   |-- 990_Koncert Starego Szmuglera w Czarnej Perle, 29.02.2008
|   |-- 991_MC Peleng F3.5 8mm, 03.02.2008
|   |-- 992_Koncert Piotra Godeckiego w tawernie Przechyły, 02.02.2008
|   |-- 993_Motocyklexpo, 02.02.2008
|   |-- 994_Zdjęcia motocykla, 01.02.2008
|   |-- 995_Koncert Piotra Godeckiego w tawernie Czarna Perła, 31.01.2008
|   |-- 996_Praga nocą, 15-17.01.2008
|   |-- 997_Eliminacje do Shanties, 12-13.01.2008
|   |-- 998_Narty w Krynicy, 05-12.01.2008
|   `-- 999_Sylwester u Piotrka i Tufka, 31.12.2007-01.01.2008
|-- 994_Rok 2007
|   |-- 802_Wigilijna impreza firmowa Javart, 19.12.2007
|   |   |-- fotostory
|   |   `-- wszystkie
|   |-- 803_Impreza u Szymka, 15.12.2007
|   |-- 804_Wystawa kotów rasowych w Blue Expo, 15.12.2007

Each directory contains "album.xml" file with album description, album highlight and so one. For each image file there may be XML file with it's title, description and so on. Please note use of polish language specific characters.

I'm looking for a tool that can help with such import. I've tried galleryadd.pl v2.30 but it's behaviour is totally random (creates albums in randomly selected existing albums, messes up non-US-ASCII characters).

I can convert above structure to any other if the import tool requires it.

Regards
Michał