View Single Post
  #1 (permalink)  
Old 28-11-04
morleymouse's Avatar
morleymouse morleymouse is offline
Super Member
 
Join Date: Aug 2003
Location: Costa Del Sheffield
Posts: 2,769
Thanks: 3
Thanked 13 Times in 9 Posts
morleymouse is an unknown quantity at this point
  xml > csv into mysql with a sprinkle of php

nice descriptive subject there

okay, I am now fine with putting CSV data into mysql database and doing stuff with it from there. easy.

but then I come across crazy merchants with xml feeds! really what are they playing at, anyway its just your normal xml like:

<?xml version="1.0"?>
<Products>
blah blah
</Products>

with lots of stuff in the middle that I want.

I was hoping excel would open it up how I wanted, but it hasn't so im a bit stumped as to where to go next.

Idealy Id like some script to parse that into proper CSV then I could run thatthrouhg the other script wich puts it into database. But if thats going to be a bit tricky just something that could get it as CSV on my computer and id upload from there.

Just looking for pointers really, what should I be searching for?

as always, help much appreciated
__________________
Dan Morley
Alpharooms.com
daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
My Blog | Cheap Holidays
Reply With Quote
Sponsored Links