addItem($data['blog_subject'], $settings['siteurl'].'infusions/blog/blog.php?readmore='.$data['blog_id'], $data['blog_blog']); } } else { $rss->addItem($settings['sitename'].' - '.$locale['rss_blog'], $settings['siteurl'], $locale['rss_nodata']); } $rss->write(); }