Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
version 0.2; do not add leading 'find'
  • Loading branch information
lehner committed Sep 26, 2011
1 parent 9947011 commit 04e9508
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.xml
Expand Up @@ -8,7 +8,7 @@

<property name="jabref.dir" value="../../jabref" />

<property name="version" value="0.1" />
<property name="version" value="0.2" />
<property name="jar" value="${build.lib}/${ant.project.name}-${version}.jar" />

<fileset id="pluginFileset" dir="." includes="plugin.xml" />
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<!DOCTYPE plugin PUBLIC "-//JPF//Java Plug-in Manifest 1.0" "http://jpf.sourceforge.net/plugin_1_0.dtd">
<plugin id="INSPIREfetcher" version="0.1">
<plugin id="INSPIREfetcher" version="0.2">

<requires>
<import plugin-id="net.sf.jabref.core"/>
Expand Down
3 changes: 2 additions & 1 deletion src/INSPIREfetcher.java
Expand Up @@ -125,6 +125,7 @@ public INSPIREfetcher() {

public String constructUrl(String key) {
String identifier = "";

try {
identifier = URLEncoder.encode(key, "UTF-8");
} catch (UnsupportedEncodingException e) {
Expand All @@ -134,7 +135,7 @@ public String constructUrl(String key) {
.append("/");
sb.append("search").append("?");
sb.append("ln=en&action_search=Search&sf=&so=d&rm=&rg=25&sc=0&of=hx&");
sb.append("p=find+");
sb.append("p=");
sb.append(identifier);
return sb.toString();
}
Expand Down

0 comments on commit 04e9508

Please sign in to comment.