Skip to content

Commit

Permalink
changed URL to zenodeo.org
Browse files Browse the repository at this point in the history
  • Loading branch information
punkish committed May 8, 2020
1 parent d887d47 commit 84212ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions config/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
*
**************************************************************/

const host = 'https://zenodeo.punkish.org';
const host = 'https://zenodeo.org';

module.exports = {

loglevel: 'ERROR',

v1: {
uri: {
zenodeo: 'https://zenodeo.punkish.org/v1'
zenodeo: 'https://zenodeo.org/v1'
}
},

Expand All @@ -25,7 +25,7 @@ module.exports = {
},

uri: {
zenodeo: 'https://zenodeo.punkish.org/v2'
zenodeo: 'https://zenodeo.org/v2'
}
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://punkish.org"
},
"license": "CC0-1.0",
"homepage": "https://zenodeo.punkish.org",
"homepage": "https://zenodeo.org",
"bugs": {
"url": "https://github.com/punkish/zenodeo/issues"
},
Expand Down
12 changes: 6 additions & 6 deletions resources/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ SUM: 191 2965 2200 15124
All the data in the database are now exposed via the API with four new routes to query<br>
<ul>
<li>figureCitations : <a href="https://zenodeo.punkish.org/v2/figurecitations">https://zenodeo.punkish.org/v2/figurecitations</a></li>
<li>bibRefCitations : <a href="https://zenodeo.punkish.org/v2/bibrefcitations">https://zenodeo.punkish.org/v2/bibrefcitations</a></li>
<li>materialsCitations : <a href="https://zenodeo.punkish.org/v2/materialscitations">https://zenodeo.punkish.org/v2/materialscitations</a></li>
<li>treatmentAuthors : <a href="https://zenodeo.punkish.org/v2/treatmentauthors">https://zenodeo.punkish.org/v2/treatmentauthors</a></li>
<li>figureCitations : <a href="https://zenodeo.org/v2/figurecitations">https://zenodeo.org/v2/figurecitations</a></li>
<li>bibRefCitations : <a href="https://zenodeo.org/v2/bibrefcitations">https://zenodeo.org/v2/bibrefcitations</a></li>
<li>materialsCitations : <a href="https://zenodeo.org/v2/materialscitations">https://zenodeo.org/v2/materialscitations</a></li>
<li>treatmentAuthors : <a href="https://zenodeo.org/v2/treatmentauthors">https://zenodeo.org/v2/treatmentauthors</a></li>
</ul>
The above four routes, along with <a href="https://zenodeo.punkish.org/v2/treatments">https://zenodeo.punkish.org/v2/treatments</a> now expose all the data ETL-ed from XMLs. By appending queries to the above URIs, you can constrain the results.
The above four routes, along with <a href="https://zenodeo.org/v2/treatments">https://zenodeo.org/v2/treatments</a> now expose all the data ETL-ed from XMLs. By appending queries to the above URIs, you can constrain the results.
</li>
<li>
Expand All @@ -136,7 +136,7 @@ SUM: 191 2965 2200 15124
</li>
<li>
Querying by lat/lon is unintuitive for the common user. Enhanced and easy location search is now possible by automatically doing a &apos;contained&apos; query based on the lat/lon pair provided. For example, the following query <code>https://zenodeo.punkish.org/v2/materialscitations?lat=77&amp;lon=78</code> will actually return all the records that are within the following box: <code>latitude &gt; 76.1 AND latitude &lt; 77.9 AND longitude &gt; 77.1 AND longitude &lt; 78.9</code>
Querying by lat/lon is unintuitive for the common user. Enhanced and easy location search is now possible by automatically doing a &apos;contained&apos; query based on the lat/lon pair provided. For example, the following query <code>https://zenodeo.org/v2/materialscitations?lat=77&amp;lon=78</code> will actually return all the records that are within the following box: <code>latitude &gt; 76.1 AND latitude &lt; 77.9 AND longitude &gt; 77.1 AND longitude &lt; 78.9</code>
<pre class="language-text">
lat: 77.9 lat: 77.9
Expand Down

0 comments on commit 84212ec

Please sign in to comment.