?
Solved

Importing XML Feed to a Mysql Database/table

Posted on 2011-03-08
1
Medium Priority
?
626 Views
Last Modified: 2012-05-11
Hello Folks,

I am looking for some information to would educate me on how one would go about downloading and inserting .xml data feeds into a mysql database.
Currently I know nothing about the method and would like to learn. the way in which the feeds are available to me is via a url.

e.g: http:mysite.com/mycategory/feedname.xml


Thanks in advance
0
Comment
Question by:Eaddy Barnes
1 Comment
 
LVL 4

Accepted Solution

by:
gizmola earned 2000 total points
ID: 35073809
This is a great summary article of the subject.  http://rpbouman.blogspot.com/2006/03/importing-xml-data-into-mysql-using.html

A more flexible solution is to use some sort of scripting language (PHP is a popular one) that comes with xml parsing routines, to read in the xml file, parse it and insert the data into one or more tables that match the implied structure of the xml.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question