473,386 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to parse XML product feed using PHP??

rahulephp
I am a php programmer but I am not so good with XML files.
For a price comparison website, I need to parse the Amazons XML feed to store product data into the database.

Can anyone please help me to find out such a simple script to parse Amazon XML product feed???
(Actually, I need each product data in array to be stored into the database)

Thank you in advance.
Aug 18 '10 #1
2 2329
zorgi
431 Expert 256MB
Have a look at SimpleXML
Aug 18 '10 #2
Some simple examples on how to parse XML using PHP. Check this.
Aug 24 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Nitin Madnani | last post by:
Hi Guys I am using pyparsing to parse transformation rules for my natural language processing application. The rules also have structure to them, i.e., a rule might look like: ] <--> ] ...
1
by: H.L Bai | last post by:
hi, everybody i meet a parse error when i used the xml4c. any proposal is helpful. The error is following .../XMLRegionHandler.h:59 parse error before '*' .../XMLRegionHandler.h:60 parse...
0
by: Martin | last post by:
I'm distributing stand-alone HTML forms for users to complete and e-mail/snail-mail back to me. (For security and budget reasons, receiving the form data to a web- server is not an option.) Then...
0
by: nithyasri | last post by:
How to Parse Xml schema using .NET and get an object model? I need to parse an Xml schema and display it as a tree structure in dot net. How do i do it? Any help will be appreciated.
0
Meetee
by: Meetee | last post by:
Hi.. I have created an XML file which contains username and password. I want to parse this XML file so that username and password can be stored in database. I am using TinyXML and want to parse...
1
by: kambinglaaaaaaa | last post by:
can anybody help me, how to parse a parameter without using CGI, anybodys?
4
by: gomzi | last post by:
hi, i would like to know if its possible to display an atom feed using .net 2.0? if yes, then can you please tell me on how i should go about it.
4
by: ohaqqi | last post by:
Hi everybody. I haven't programmed anything in about 8 years, I've read up a little bit on C and need to write a shell in C. I want to use strtok() to take an input from a user and parse it into the...
1
by: Man4ish | last post by:
Hi , I am trying to parse one file sdf format having molecule information. e.g 1 2 2 3 4 6 4 7 $$$$ 9 2 4 3
1
by: vaskarbasak | last post by:
Hi I have to parse EDI File(810 and 855) using core java. Can anybody help me in this issue. thnx vaskar
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.