1
This commit is contained in:
@@ -1726,8 +1726,7 @@ class Article extends Controller {
|
||||
$xml = '';
|
||||
//create xml 头
|
||||
$xml .= '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL;
|
||||
$xml .= '<doi_batch version="4.3.7" xmlns="http://www.crossref.org/schema/4.3.7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.crossref.org/schema/4.3.7
|
||||
http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
|
||||
$xml .= '<doi_batch version="4.3.7" xmlns="http://www.crossref.org/schema/4.3.7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.crossref.org/schema/4.3.7 http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
|
||||
$xml .= '<head>' . PHP_EOL;
|
||||
$xml .= '<doi_batch_id>' . date('Ymd') . '</doi_batch_id>' . PHP_EOL;
|
||||
$xml .= '<timestamp>' . date('YmdHis') . '</timestamp>' . PHP_EOL;
|
||||
@@ -1822,8 +1821,7 @@ http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
|
||||
$xml = '';
|
||||
//create xml 头
|
||||
$xml .= '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL;
|
||||
$xml .= '<doi_batch version="4.3.7" xmlns="http://www.crossref.org/schema/4.3.7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.crossref.org/schema/4.3.7
|
||||
http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
|
||||
$xml .= '<doi_batch version="4.3.7" xmlns="http://www.crossref.org/schema/4.3.7" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.crossref.org/schema/4.3.7 http://www.crossref.org/schemas/crossref4.3.7.xsd">' . PHP_EOL . PHP_EOL;
|
||||
$xml .= '<head>' . PHP_EOL;
|
||||
$xml .= '<doi_batch_id>' . date('Ymd') . '</doi_batch_id>' . PHP_EOL;
|
||||
$xml .= '<timestamp>' . date('YmdHis') . '</timestamp>' . PHP_EOL;
|
||||
|
||||
Reference in New Issue
Block a user