bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

Importing CSV #72

Closed Amieman closed 9 years ago

Amieman commented 9 years ago

Hey everyone, I'm sorry but I'm a complete newbie here.. I'm trying to figure out how to get my locations in here without having to do a ton of work. I have 350 location in a csv file is there anyway of getting them into the locations.xml file easily?

bjorn2404 commented 9 years ago

@Amieman You'd want to convert the CSV to XML or JSON. If you search Google for converting CSV to XML or JSON you should find several methods.

Amieman commented 9 years ago

Thank you so much for your reply! My question is though how I go about the formatting? How do I endure it will be similar to the xml like so

bjorn2404 commented 9 years ago

It depends on the converter you are using but I'd try to make sure the CSV column names are the same as the XML attributes.

Amieman commented 9 years ago

Thanks! You rock!