很多同学,他们在使用OJS之前,自己的网站已经发布了很多期刊文章,在使用OJS之后,有什么办法,可以把这些文章的数据一次性的批量导入到OJS中呢?今天丁老师给你解答。
OJS导入文章的方法:
1.用管理员账号进入Dashboard,左侧菜单选择Tools。进入页面后,右侧点击选择Native XML Plugin。

2.进入Native XML导入页面,在Import选项卡中,点击Upload File,上传要导入的文章xml文件,即可导入。

3.XMl格式范例:
<?xml version="1.0" encoding="utf-8"?>
<articles xmlns="http://pkp.sfu.ca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" locale="en">
<submission_file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<name locale="zh_CN">文件名称.pdf</name>
<file id="27" filesize="116414" extension="pdf">
<embed encoding="base64">文件base64值</embed>
</file>
</submission_file>
<publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1" status="1" url_path="" seq="0" access_status="0" section_ref="ART" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<id type="internal" advice="ignore">21</id>
<id type="doi" advice="update">10.0000/cy3j9n23</id>
<title locale="en">文章标题1</title>
<abstract locale="en">文章摘要</abstract>
<authors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<author include_in_browse="true" user_group_ref="" seq="0" id="19">
<givenname locale="en">作者姓名</givenname>
<country>作者国家代码</country>
<email>作者Email</email>
</author>
</authors>
</publication>
</article>
<article xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" locale="en">
<submission_file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<name locale="zh_CN">文件名称.pdf</name>
<file id="27" filesize="116414" extension="pdf">
<embed encoding="base64">文件base64值</embed>
</file>
</submission_file>
<publication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1" status="1" url_path="" seq="0" access_status="0" section_ref="ART" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<id type="internal" advice="ignore">21</id>
<id type="doi" advice="update">10.0000/cy3j9n23</id>
<title locale="en">文章标题2</title>
<abstract locale="en">文章摘要</abstract>
<authors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pkp.sfu.ca native.xsd">
<author include_in_browse="true" user_group_ref="" seq="0" id="19">
<givenname locale="en">作者姓名</givenname>
<country>作者国家代码</country>
<email>作者Email</email>
</author>
</authors>
</publication>
</article>
</articles>导入须知:
1.请按照XMl格式来填写内容。
2.文章的PDF或Word附件,须以base64的内容格式,填入到<embed encoding="base64">中。
备注:
这是OJS系统自带的导入功能,需要严格按照XML的格式来完善内容,确保内容无误后可以导入,但是该操作需要具备一定的专业能力,如果格式不对或者内容错误,就会出现无法导入的情况。
如果你也有大量数据需要导入,却自己无法解决,可以使用丁老师的OJS数据导入服务协助完成。
ojs期刊系统,配置email邮箱发信功能的方法:1.打开根目录下的config.ini.php文件。2.找到"SMTP server settings",按照如下设置。; Available options: se...
经常有想做期刊运营的客户咨询,使用OJS期刊管理系统,是不是很贵?都会产生什么费用啊?网上说的OJS很烧钱,是不是真的?针对这些相关问题,丁老师今天做一下解答。OJS是否收费?OJS系统是开源免费的,不收任何费用,并且无软件授权,支持商...
近期丁老师在对OJS期刊系统进行等保工作时,发现OJS一个安全漏洞,即任意文件上传漏洞,具体内容如下。漏洞描述任意文件上传漏洞(Unrestricted File Upload),是一种常见的Web安全漏洞,由于Web应用程序在实现文件...
近日,在帮助客户做OJS期刊系统服务器转移,新服务器配置好后,导入了OJS的数据库并恢复了OJS程序,但是打开网站却出现了“There are no readable files in this directory tree. Are ...