kml2hpgloe is a script that parses a KML file and recommends image links found in the tag in HP-Gloe.
It should run out of the box, as the script uses several default Python libraries. If it does not work, you can use virtualenv and install the required libraries (check the header of the file).
It is very easy:
./kml2hpgloe.py -f filename.kml
or
./kml2hpgloe.py -u http://domain.com/resources.kml
This is script is licensed under the GPLv3. Please, check the COPYING file.