filterColumn='article_active'; $articleDAOX->filterValue= 1; $articleDAOX->orderColumn = "article_id" ; $articleDAOX->orderSens = "DESC" ; $articleDAOX->rangeStart = 0 ; $articleDAOX->rangeLinesPerPage = 80 ; $table_list = $articleDAOX->listing() ; $base='http://'.$_SERVER['SERVER_NAME'].'/'; $str=' '.BO_TITLE.' http://'.$_SERVER['SERVER_NAME'].'/blog/ '.BO_TITLE.' fr-fr '.gmdate("D,d M Y H:i:s").' GMT '.gmdate("D,d M Y H:i:s").' GMT '.BO_TITLE.' 60 '; foreach ($table_list[1] as $table_liste) { $str.=' '.$table_liste->article_titre .' '.$base.'detail/'. $table_liste->article_id.'/'.filter($table_liste->article_titre).'.html '; if (!empty($table_liste->article_image)){ $str.='article_image.'" border="0">'.utf8_encode(substr(strip_tags($table_liste->article_descp),0,300)).']]>';} $str.=' '.gmdate("D,d M Y H:i:s",$table_liste->article_date).' GMT '.$base.'detail/'. $table_liste->article_id.'/'.filter($table_liste->article_titre).'.html ';} $str.=' '; echo $str; file_put_contents("rss.xml",$str); ?>