Thread: RSS to MySQL
View Single Post
Old 04-08-2008, 12:11 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

There are numerous methods that you could employ to get the job done -- any tutorial will give you just one way to do it, which might or might not be the best approach for you.

The task essentially boils down to a number of sub-tasks:
  1. Grab the RSS document (from a remote location?)
  2. Parse the XML into a PHP data structure (Arrays, Objects [SimpleXML, DOM, Custom?], etc.)
  3. Add to MySQL database (MySQL extenstion, MySQLi, PDO, etc.)
Salathe is offline  
Reply With Quote