Import CSV from url address and export as XML -- Rails
- by Jeffrey
Two questions:
How can I import a file from a web address, without a form?
Example: Organisation.import(:from = 'http://wufoo.com/report.csv')
How can I use xml builder without pulling from the db?
More Info
My company uses wufoo for web forms. The data from wufoo is exported as csv files. To get the data into my company's cms, it needs to be formatted as xml. I don't need to store any of the data, aside from the url to the csv file. I thought this might work well as a simple rails app.