Parser in PHP for xml feed to database

  • Status Closed
  • Budget $30 - $250 USD
  • Total Bids 5

Project Description

I need a parser in PHP 5 to parse the content of an XML feed and store the data in a MySQL database.

I actually already have this application in Java using a SAXparser library and i've attached a stripped down feedhandler routine from that as reference. I need to see how this works in PHP before deciding to create others in Java or PHP. I believe there is a SAXparser in PHP as well, if you want to use someting differently then be specific in your bid.

Submitting the data to the DB should only be done for data which has changed since the last read (i intend reading the feed every 5-10 minutes) therefore there needs to be some form of caching applied. Attached is a sample of the feed, (note the actual feed can be as much as 5Mb each time) as well as a description of the algorithm to be used with the basic DB structure.

It would be to your advantage to convince me you understand the sports data involved so i don't need to explain every detail. Future parsers will be of the same data but have different XML structures. And i would like to see a sample PHP routine which is representative of the quality of your coding.

Get free quotes for a project like this
Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online