我尝试使用XML插件将我的大学学报的旧期刊导入到OJS。我构建了xml问题文件:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE issue PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/native.dtd">
<issue published="false" current="false">
<title>August 2008, Volume 3, Number A08</title>
<volume>3</volume>
<number>A08</number>
<year>2008</year>
<section>
<title locale="en_US">Articles</title>
<abbrev locale="en_US">ART</abbrev>
<article>
<title>Approximating Counterparts</title>
<abstract>Abstract text...</abstract>
<pages>1-11</pages>
<date_published>2008-08-01</date_published>
<author primary_contact="true">
<firstname>FISTNAME</firstname>
<middlename><![CDATA[ ]]></middlename>
<lastname>LASTNAME</lastname>
<email>email@email</email>
</author>
<galley>
<label>PDF</label>
<file><href mime_type="application/pdf" src="http://...../issue/some.pdf"/></file>
</galley>
</article>
</section>
</issue>并成功导入到OJS中。但是,我在关键字、DOIs和引用方面遇到了问题。我不知道将它们放在我的sample.xml文件中的什么位置。像<keywords>...</keywords>、<references>...</references>或<doi>...</doi>这样的标签似乎不起作用,我的意思是,当我把它们放到我的sample.xml文件中时,它们没有任何作用。
有没有办法解决这个问题?
我已经检查了/var/www/html/ojs/plugins/importexport/native中的示例,搜索了native.dtd文件,但找不到解决方案……
发布于 2015-01-03 01:06:14
导入/导出的最佳文档是:http://pkp.sfu.ca/wiki/index.php/Importing_and_Exporting_Data
除此之外,要了解可以使用哪些元素,可以查看plugins/importexport/native/native.dtd。或者,您也可以尝试导出包含要查找的数据的文章,并查看其放置位置。
对于关键字,请使用元素,例如:
<subject locale="en_US">mathematics, formal logic</subject>对于DOIs,使用元素,确保指定类型,例如:
<id type="doi">10.1234/t.v1i1.1-imp-test</id>使用本机导入/导出插件当前不支持引用导入。
https://stackoverflow.com/questions/27730686
复制相似问题