Skip to content

Commit

Permalink
Remove writing about searching for authors
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed Oct 8, 2023
1 parent 4bdc673 commit 212f6fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scholia/app/templates/check-crossref.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<h1>Check Crossref</h1>

<p>Enter a topic or author to search for papers in Crossref and check for their presence in Wikidata.</p>
<p>Enter a topic to search for papers in Crossref and check for their presence in Wikidata.</p>

<form id="form" class="form-horizontal mb-3">
<div class="input-group">
Expand Down Expand Up @@ -119,7 +119,7 @@ <h3 class="d-inline-block">Advanced</h3>
const test_query_button = document.getElementById("test-query")

function update_query_string() {
// Changing the form updates the query string in the advanced section which is
// Changing the form updates the query string in the advanced section which is
// the query string which is ultimately used to check crossref
// User validation not required as API calls are performed locally
const params = {}
Expand Down Expand Up @@ -180,8 +180,8 @@ <h3 class="d-inline-block">Advanced</h3>
function get_dois_from_crossref() {
// cribbed from q_curation.html. Maybe eventually worth refactoring
let query_string = "select=DOI&" + document.getElementById("query_string").value
// on q_curation.html we need to URIencode the query string but here it breaks
// the ability to select number of rows?
// on q_curation.html we need to URIencode the query string but here it breaks
// the ability to select number of rows?
const url = `https://api.crossref.org/works/?${query_string}`;
const error_message = "The API failed which could be due to a problem with your connection or with the upstream server. If the issue persists <a href='https://github.com/WDscholia/scholia/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=''>submit a bug report on GitHub</a>"

Expand Down

0 comments on commit 212f6fb

Please sign in to comment.