打开/dede/co_export.php文件
找到
else if($itemName == 'litpic')
{
$litpic = trim($ctag->GetInnerText());
}
再它下面加入
else if($itemName == 'keywords')
{
$keywords = trim($ctag->GetInnerText());
}
else if($itemName == 'body')
{
$body = trim($ctag->GetInnerText());
$description = cn_substr(html2text($body),150);
$description = str_replace(' ','',$description);
$description = addslashes($description);
}
再找到
$mainSql = str_replace('@sortrank@', $sortrank, $mainSql);
再它下面加入
$mainSql = str_replace('@description@', $description, $mainSql);
再找到
$rs = $dsql->ExecuteNoneQuery($mainSql);
再它下面加入
$tags = InsertTags($keywords, $aid);