title = KernelTools::tra( 'Syndication Problem' ); $item->link = 'http://'.$_SERVER['HTTP_HOST'].BIT_ROOT_URL; $item->description = !empty( $message ) ? $message : KernelTools::tra( "You don't have permission to view this syndication feed." ); $item->source = 'http://'.$_SERVER['HTTP_HOST'].BIT_ROOT_URL; $item->author = $gBitUser->getPreference( 'site_title' ); $item->descriptionTruncSize = $gBitSystem->getConfig( 'rssfeed_truncate', 500 ); $item->descriptionHtmlSyndicated = FALSE; // pass the item on to the rss feed creator $rss->addItem( $item ); // display the error msg echo $rss->saveFeed( $rss_version_name, TEMP_PKG_PATH.'rss/error.xml' ); die;