Magpie RSS allows you to provide a URL, and be returned an object representing the RSS feed.
You can iterate over the result, and insert into the database, something like:
PHP Code:
$rss = fetch_rss('http://www.google.com/news.rss');
foreach($rss->items as $item) {
$query='INSERT INTO news (headline,content,date) VALUES ('
.mysql_real_escape_string($item['title']).','
.mysql_real_escape_string($item['body']).','
.mysql_real_escape_string($item['pubdate'])
.')';
mysql_query($query) or die($query.mysql_error());
}
Magpie instructions:
http://magpierss.sourceforge.net/