Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
I hope someone can help me out here, I have an XML feed which I want to take from a website. Then filter straight into my MySQL database. This will be a cronjob which runs every night and updates the data. Any ideas how to go about this?
Initial thoughts are to use LWP::Useragent to get the content, then save it locally on the server. Then use XML::Simple to load up the file into a data structure, before processing it and loading up into the database.
Is this the best way to go about this? Any other more specific perl modules anyone knows about?
Thanks for your help on this one.
Cheers, Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML Feed to MySQL
by Joost (Canon) on Oct 20, 2004 at 11:30 UTC | |
by Anonymous Monk on Oct 20, 2004 at 12:06 UTC | |
|
Re: XML Feed to MySQL
by gellyfish (Monsignor) on Oct 20, 2004 at 11:31 UTC | |
|
Re: XML Feed to MySQL
by jZed (Prior) on Oct 20, 2004 at 14:40 UTC |