修正DOI导出xml内容

This commit is contained in:
wlx 2015-01-14 06:22:58 +00:00
parent 30f1f679d9
commit 1395d64c5c
1 changed files with 3 additions and 3 deletions

View File

@ -4071,9 +4071,9 @@ class Admin_DataController extends Zend_Controller_Action
'title'=>$metadata['title'], 'title'=>$metadata['title'],
'doi'=>$metadata['doi'], 'doi'=>$metadata['doi'],
'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/'.$uuid, 'url'=>"http://" . $_SERVER['HTTP_HOST'].'/data/'.$uuid,
'publisher'=>'黑河计划数据管理中心', 'publisher'=>'寒区旱区科学数据中心',
'title_en'=>$metadata['title_en'], 'title_en'=>$metadata['title_en'],
'publisher_en'=>'Heihe Plan Science Data Center', 'publisher_en'=>'Cold and Arid Regions Science Data at Lanzhou',
); );
}else{ }else{
$this->view->data['doi'] = $metadata['doi']; $this->view->data['doi'] = $metadata['doi'];
@ -4172,7 +4172,7 @@ class Admin_DataController extends Zend_Controller_Action
$doi.='<doi_data> $doi.='<doi_data>
<doi>'.$row['doi'].'</doi> <doi>'.$row['doi'].'</doi>
<timestamp>'.$timestamp.'</timestamp> <timestamp>'.$timestamp.'</timestamp>
<resource><![CDATA[http://www.heihedata.org/data/'.$row['uuid'].']]></resource> <resource><![CDATA[http://westdc.westgis.ac.cn/data/'.$row['uuid'].']]></resource>
</doi_data>'; </doi_data>';
$doi.='</database> $doi.='</database>
</science_data> </science_data>