addItem($data['news_subject'], $settings['siteurl'].'infusions/news/news.php?readmore='.$data['news_id'], $data['news_news']); } } else { $rss->addItem($settings['sitename'].' - '.$locale['rss_news'], $settings['siteurl'], $locale['rss_news']); } $rss->write(); }