ID == get_option('dbem_events_page') && $wp_query->get('rss')) ) { header ( "Content-type: text/xml" ); ob_start(); echo "\n"; ?> <?php echo get_option ( 'dbem_rss_main_title' ); ?> http://blogs.law.harvard.edu/tech/rss Weblog Editor 2.0 ", ">", str_replace ( "<", "<", get_option ( 'dbem_rss_description_format' ) ) ); $events = EM_Events::get( array('limit'=>5, 'owner'=>false) ); foreach ( $events as $event ) { $description = $event->output( get_option ( 'dbem_rss_description_format' ), "rss"); $description = ent2ncr(convert_chars(strip_tags($description))); //Some RSS filtering ?> <?php echo $event->output( get_option('dbem_rss_title_format'), "rss" ); ?> output('#_EVENTURL'); ?>