Python script to create bulk_upload files for Gallery 2
Photos of the Arxiu Historic del Poblenou: http://fotos.arxiuhistoricpoblenou.es
To install the Xlrd package in 1and1 hosting:
- Download easy_install
- Install easy_install
- run command
easy_install --root
- include the library directly on the script
- using PYTHONPATH will not work since the apache server running the cgi is under control of 1and1 admin and does not export PYTHONPATH from the local environment of a user account
You will need python 2.7.
In addition, you should update the path to system modules at the begining of the file, to load XLRD module.
Use script update_keywords.py and clean_keywords.py to create a SQL file to update the keywords of pictures.