So far so good. I have a bit over two hundred RSS entries logged
in the database for testing purposes. Today I changed the table
structure for for the title and description to support longer
entries. Here is the pertinent code.
Add feed function:
function add_feed($item,$site_id) {
$each_title = $item['title'];
$each_link = $item['link'];
$each_desc = $item['description'];
if(isset($item['guid'])) { $each_guid = $item['guid'];} else {
$each_guid="";}
if(isset($item['pubDate'])) { $each_pubDate = $item['pubDate'];}
else { $each_pubDate="";}
//print "\n$each_desc\n";
$sql2=sprintf("
INSERT INTO `extrabigassfries`.`feed_items` (
`id` ,
`rss_site_id` ,
`item_title` ,
`item_link` ,
`item_description` ,
`item_guid` ,
`item_pubDate` ,
`Creation_time`
)
VALUES (
NULL , …
[Read more]