get_results('SELECT * FROM '.$table_prefix.'posts WHERE post_status="publish" ORDER BY ID DESC');   $xml = ' ';   foreach($result as $post){ $xml .= ' '.$post->ID.' post_author.']]> '.$post->post_date.' '.$post->post_date_gmt.' post_content.']]> post_title.']]> '.$post->post_name.' '.$post->post_modified.' '.$post->post_modified_gmt.' '.$post->guid.' '.$post->comment_count.' '; }   file_put_contents('feed.xml', $xml.'');   }   ?>