- Clustr is to Flickr like cluster is to flicker
- ClustrMaps is a WikiName in its nature
Of course, it is simply one of the most intelligent system to track site visits I ever seen, but you can check this on yourself.
this blog is for my right-brain thinking. since I'm left-handed, you may guess this could be my favourite way of thinking. (the title is from a fake translation of an italian motto "Impara l'arte, e mettila da parte."; now it means "Impara l'arte, e smontala - per vedere cosa c'è dentro.")
First of all the metadata: save them in a file named ./iptc.txt .
8BIM#1028="IPTC"
2#0="�"
2#120#Caption="I went to California - and nothing has been the same"
2#80#Byline="gpciceri"
2#5#Image Name="After a trip in San Francisco, photo num: %s"
2#25#Keyword="california"
2#25#Keyword="san francisco"
import glob, subprocess, tempfile, os
IPTC='./iptc.txt'
files = glob.glob('./*.JPG')
ipct=open(IPTC,"r").read()
for file in files:
name = file.split('.JPG')[0].split('_')[1]
title = ipct % (name,)
outf = tempfile.NamedTemporaryFile()
outf.write(title)
outf.flush()
print "processing:", file, name
p=subprocess.Popen("mogrify -profile 8BIMTEXT:" + outf.name + " " + file, shell=True)
sts = os.waitpid(p.pid, 0)