addItem($data['article_subject'], $settings['siteurl'].'infusions/articles/articles.php?article_id='.$data['article_id'], $data['article_snippet']); } } else { $rss->addItem($settings['sitename'].' - '.$locale['rss_articles'], $settings['siteurl'], $locale['rss_nodata']); } $rss->write(); }