'Feed Name', 'url' => 'blank', 'topic_id' => '', 'description' => 'this is the rss feed for the blank plugin', // that's 'description' not 'text' 'class' => e_UC_MEMBER, 'limit' => '9' ); return $config; } /** * Compile RSS Data * @param array $parms * @param string $parms['url'] * @param int $parms['limit'] * @param int $parms['id'] * @return array */ function data($parms=array()) { $sql = e107::getDb(); $rss = array(); $i=0; if($items = $sql->select('blank', "*", "blank_field = 1 LIMIT 0,".$parms['limit'])) { while($row = $sql->fetch()) { $rss[$i]['author'] = $row['blank_user_id']; $rss[$i]['author_email'] = $row['blank_user_email']; $rss[$i]['link'] = "_blank/_blank.php?"; $rss[$i]['linkid'] = $row['blank_id']; $rss[$i]['title'] = $row['blank_title']; $rss[$i]['description'] = $row['blank_message']; $rss[$i]['category_name'] = ''; $rss[$i]['category_link'] = ''; $rss[$i]['datestamp'] = $row['blank_datestamp']; $rss[$i]['enc_url'] = ""; $rss[$i]['enc_leng'] = ""; $rss[$i]['enc_type'] = ""; $i++; } } return $rss; } }