Import CSV from url address and export as XML -- Rails
        Posted  
        
            by Jeffrey
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jeffrey
        
        
        
        Published on 2009-10-12T23:36:59Z
        Indexed on 
            2010/05/04
            5:08 UTC
        
        
        Read the original article
        Hit count: 379
        
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.
© Stack Overflow or respective owner