wos 文献被引_根据WOS获取某篇SCI论文被引用次数[Web of Science 统计]

这篇博客展示了如何通过Web of Science获取特定SCI论文的引用次数。它提供了SQL查询示例,从数据库中筛选出相关记录,并利用HTTP POST请求发送XML数据到指定URL以获取引用频次信息。如果响应成功,会展示引用次数和引用文章链接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下面是根据某篇SCI论文的WOS获取某篇SCI论文被引用次数[Web of Science 统计]

由于涉及到授权,代码中地址并不是真实地址,仅供学习之用!!

pageEncoding="UTF-8"%>

String path = request.getContextPath();

String basePath = request.getScheme() + "://"

+ request.getServerName() + ":" + request.getServerPort()

+ path + "/";

%>

获取某篇SCI论文被引用次数[Web of Science 统计]

List uilist = new ArrayList();

String sql = "select top 10 * from Table where ({ fn LENGTH(Field82) } = 19)";

GetConn getCon = new GetConn();

Connection con = getCon.GetConnection();

Statement st = con.createStatement();

ResultSet rs = st.executeQuery(sql);

while(rs.next())

{

String subui = rs.getString("Field82").substring(3, rs.getString("Field82").length());

uilist.add(subui);

}

String ui = "";

/* String ui = (String) request.getAttribute("ui");

if (ui != null && !"".equals(ui) && ui.length() == 19)

{

ui = ui.substring(3, ui.length()); */

%>

for(int i=0;i

ui = uilist.get(i);

System.out.println(ui);

%>

SCI引用频次:

StringBuffer sb = new StringBuffer("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("timesCited");

sb.append("citingArticlesURL");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("" + ui + "");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

sb.append("");

URL url = new URL("https://xx.xxxxx.com/xx/xxxx");

HttpURLConnection conn = (HttpURLConnection) url.openConnection();

conn.setRequestProperty("Content-Type","text/xml;charset=UTF-8");

conn.setRequestMethod("POST");

conn.setRequestProperty("Charset", "UTF-8");

conn.setRequestProperty("Content-Length",String.valueOf(sb.length()));

conn.setRequestProperty("Connection", "Keep-Alive");

conn.setConnectTimeout(5000);

conn.setDoOutput(true);

OutputStream os = conn.getOutputStream();

os.write(sb.toString().getBytes("UTF-8"));

os.flush();

os.close();

if (conn.getResponseCode() == 200) {

String line = null;

String body = "";

InputStream is = conn.getInputStream();

BufferedReader br = new BufferedReader(new InputStreamReader(is));

while ((line = br.readLine()) != null) {

body += line;

}

if (body.indexOf("") == -1) {

out.print(" 0");

System.out.println("次数== -1");

} else {

ui = body.substring(

body.indexOf(""),

body.lastIndexOf(""));

String linkstr = body.substring(

body.lastIndexOf("http://"),

body.indexOf("]]>"));

out.print(" 

+ "\" target=\"_blank\">" + ui + "

");

System.out.println("ui:" + ui);

}

// out.print(body);

conn.disconnect();

}

%>

}

%>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值