dynamic select list from csv

Norman Khine norman at khine.net
Sat May 8 06:33:04 EDT 2010


hello,
i have a csv file which is like:

150;"Europe";154;"Northern Europe";826;"uk";"United
Kingdom";"Yorkshire & Humberside";"Humberside"
150;"Europe";154;"Northern Europe";826;"uk";"United
Kingdom";"Yorkshire & Humberside";"North Yorkshire"
150;"Europe";154;"Northern Europe";826;"uk";"United
Kingdom";"Yorkshire & Humberside";"West Yorkshire"
150;"Europe";155;"Western
Europe";250;"fr";"France";"Île-de-France";"Seine-Saint-Denis"
150;"Europe";155;"Western Europe";250;"fr";"France";"Alsace";"Bas-Rhin"
150;"Europe";155;"Western Europe";250;"fr";"France";"Alsace";"Haut-Rhin"
150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Dordogne"
150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Gironde"
150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Landes"
150;"Europe";155;"Western Europe";250;"fr";"France";"Aquitaine";"Lot-et-Garonne"


what i would like to do in riak is to build a dynamic select list similar to:

http://www.javascriptkit.com/javatutors/selectcontent2.shtml

but in my case i will have 3 levels, Country, Region, County - how
would i do this in riak /nitrogen? if i update the csv file, would i
need to reload the riak server, can this be dynamic? or would i have
to make an interface through which i can write the data?

any advice and pointers are much appreciated.

norman

-- 
¿noʎ uɐɔ uʍop ǝpısdn ǝʇıɹʍ uɐɔ ı - %>>> "".join( [
{'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in
",adym,*)&uzq^zqf" ] )



More information about the riak-users mailing list