Skip to content

Commit

Permalink
updated Europe PMC fulltext query URL. Closes lagotto#245.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 11, 2015
1 parent cc8d3a0 commit a456f38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/sources/europe_pmc_fulltext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def config_fields
end

def url
config.url || "http://www.ebi.ac.uk/europepmc/webservices/rest/search/query=%{query_string}&dataset=fulltext&format=json&resultType=lite"
config.url || "http://www.ebi.ac.uk/europepmc/webservices/rest/search/query=%{query_string}&format=json&resultType=lite"
end

def events_url
Expand Down
2 changes: 1 addition & 1 deletion docs/europe_pmc_fulltext.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Search the Europe PMC fulltext corpus for scholarly works.
</tr>
<tr>
<td valign="top" width=20%><strong>API URL</strong></td>
<td valign="top" width=80%>http://www.ebi.ac.uk/europepmc/webservices/rest/search/query="DOI"+OR+"URL"&dataset=fulltext&format=json&resultType=lite</td>
<td valign="top" width=80%>http://www.ebi.ac.uk/europepmc/webservices/rest/search/query="DOI"+OR+"URL"&format=json&resultType=lite</td>
</tr>
<tr>
<td valign="top" width=20%><strong>License</strong></td>
Expand Down

0 comments on commit a456f38

Please sign in to comment.