Solved

Importing XML Feed to a Mysql Database/table

Posted on 2011-03-08
1
594 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:greeneel
1 Comment
 
LVL 4

Accepted Solution

by:
gizmola earned 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Fore-Foreword Today (2016) Maxmind has a new approach to the distribution of its data sets.  This article may be obsolete.  Instead of using the examples here, have a look at the MaxMind API (https://www.maxmind.com/en/geolite2-developer-package). …
More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now