限制摘要长度

This commit is contained in:
wlx 2015-01-05 07:05:38 +00:00
parent 48aa21d6a3
commit c1c939c57b
1 changed files with 1 additions and 1 deletions

View File

@ -4096,7 +4096,7 @@ class Admin_DataController extends Zend_Controller_Action
<title><![CDATA['.$row['title_en'].']]></title>
<subtitle></subtitle>
</titles>';
$doi.='<description><![CDATA['.$row['description'].']]></description>';
$doi.='<description><![CDATA['.substr($row['description'],0,200).']]></description>';
$doi.='<publisher><publisher_name>'.$row['publisher_en'].'</publisher_name></publisher>';
$doi.='<doi_data>
<doi>'.$row['doi'].'</doi>