public function showThread($request, $response)
    {/*{{{*/
        header("Content-Type: text/xml; charset=utf-8");

        echo ThreadBaiduZhiDaoXml::getFullXML($request->threadid); 
        
        return parent::DIRECT_OUTPUT;
    }/*}}}*/
function getFlowInfos($flow, $thread)
{/*{{{*/
    $threadInfo = new ThreadBaiduZhiDaoXml($thread->id);
    $posts = array();
    $posts = $thread->posts;
    $flowData = array();
    $flowData['diseaseurl'] = $flow->getUrl();
    $flowData['disease'] = $flow->getDiseaseName4Flow();
    $flowData['question'] = $flow->title;
    $flowData['status'] = ($flow->isTreated() ? '就诊后' : '就诊前');
    $flowData['asktime'] = $thread->ctime;
    $flowData['answertime'] = $threadInfo->getFirstSpacePostTime();
    foreach($posts as $post)
    {
        if($post->user->id == $flow->space->id)
        {
            $tt = array();
            $tt['type'] = 'treatment';
            $tt['content'] = strip_tags($post->content);
            $flowData['contents'][] = $tt;
            unset($tt);
        }
        else
        {
            $dd = array();
            $dd['type'] = 'description';
            $dd['content'] = strip_tags($post->content);
            $flowData['contents'][] = $dd;
            unset($dd);
        }
        unset($post);
        BeanFinder::get('LocalCache')->removeAll();
    }
    $flowData['doctorid'] = $flow->space->host->id;
    unset($threadInfo, $posts, $flow, $thread);
    return $flowData;
}/*}}}*/