Skip to content

Commit

Permalink
Merge pull request #4 from isawnyu/prep3.1
Browse files Browse the repository at this point in the history
updates for 3.1 release
  • Loading branch information
paregorios authored Aug 1, 2023
2 parents 0d20d94 + e6b936f commit e9b54f9
Show file tree
Hide file tree
Showing 25 changed files with 57,580 additions and 17,047 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,15 @@ Please report problems and make feature requests via [the main _Pleiades_ Gazett

[![License: CC BY 3.0](https://licensebuttons.net/l/by/3.0/80x15.png)](https://creativecommons.org/licenses/by/3.0/) Content is governed by the copyrights of the individual contributors responsible for its creation. Some rights are reserved. All content is distributed under the terms of a [Creative Commons Attribution license (cc-by)](https://creativecommons.org/licenses/by/3.0/).

__Please share notices of data reuse with the _Pleiades_ community via email to [email protected]. These reports help us to justify continued funding and operation of the gazetteer and to prioritize updates and improvements.__
We encourage use and citation of numbered releases for scholarly work that will be published in static form.

## Version 3.0 - 4 April 2023
__Please share notices of data reuse with the _Pleiades_ community via email to [email protected]. These reports help us to justify continued funding and operation of the gazetteer and to prioritize updates and improvements.__

What's new since 2.3 (12 October 2020):
## Version 3.1 - 1 August 2023

- 2,655 new and 10,222 updated place resources (see `data/changelogs/release.html` for details)
- `data/bibliography/zotero.csv`: The complete bibliographic library cited in references throughout the dataset.
- `data/changelogs/`: Monthly changelogs in HTML format since 2009.
- `data/data_quality`: Some metrics.
- `data/gis`: CSV files tested in [QGIS](https://www.qgis.org/en/site/) (likely better than the original CSV package, which is now deprecated, for most use cases).
- Deprecation of legacy CSV export in `data/csv`. The new `data/gis` package is likely better for your purposes.
What's new since 3.0 (4 April 2023):

We encourage use and citation of numbered releases for scholarly work that will be published in static form.
- 359 new and 2,380 updated place resources (see `data/changelogs/release.html` for details)

## Overview

Expand Down Expand Up @@ -72,13 +67,13 @@ The __summary__ data for all places, errata, authors, place types, and time peri

NB: RDF serializations of data for individual places — in both Turtle and RDF/XML syntax — can be had from links on the place pages, such as http://pleiades.stoa.org/places/579885/turtle for Athens, or by a negotiated request for the resource http://pleiades.stoa.org/places/579885#this. Please see the README in https://github.com/isawnyu/pleiades-rdf for a description of the RDF and the vocabularies and ontologies used.

### NEW: Changelogs
### Changelogs

__directory: /data/changelogs/__

Monthly listings, in HTML files, of new and updated place resources since 2009. The listings include: place titles and summaries, links to the live resources on the Pleiades website using canonical URIs, and information about the creators and contributors of each resource, with a special entry for the authors of the referenced changes (includes change summary notes).

### NEW: Data Quality Metrics
### Data Quality Metrics

__directory: /data/data_quality/__

Expand Down
7,908 changes: 7,751 additions & 157 deletions data/changelogs/2023/04/index.html

Large diffs are not rendered by default.

8,434 changes: 8,434 additions & 0 deletions data/changelogs/2023/05/index.html

Large diffs are not rendered by default.

7,371 changes: 7,369 additions & 2 deletions data/changelogs/2023/06/index.html

Large diffs are not rendered by default.

9,008 changes: 9,008 additions & 0 deletions data/changelogs/2023/07/index.html

Large diffs are not rendered by default.

34,646 changes: 20,129 additions & 14,517 deletions data/changelogs/release.html

Large diffs are not rendered by default.

5,218 changes: 2,860 additions & 2,358 deletions data/html/credits.html

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions data/html/credits_files/++resource++protect.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/* jshint undef: true, unused: true */
/* globals tinymce, jQuery, kukit */

"use strict";

var script = document.getElementById('protect-script');

if(script){
var base_url = script.getAttribute('data-site-url');
var token = script.getAttribute('data-token');

if(window.jQuery !== undefined){
jQuery.ajaxSetup({
beforeSend: function (xhr, options){
if(options === undefined){
return;
}
if(!options.url){
return;
}
if(options.url.indexOf('_authenticator') !== -1){
return;
}
if(options.url.indexOf(base_url) === 0 || options.url.indexOf('//') === -1){
// only urls that start with the site url
// Extra compared to plone4.csrffixes: also for relative urls, like @@my-view.
xhr.setRequestHeader("X-CSRF-TOKEN", token);
}
}
});
}
if(window.tinymce && window.tinymce.util.XHR._send === undefined){
window.tinymce.util.XHR._send = window.tinymce.util.XHR.send;
var xhr = window.tinymce.util.XHR;
var _send = xhr.send;
window.tinymce.util.XHR.send = function(){
var args = Array.prototype.slice.call(arguments);
if(args[0]){
var config = args[0];
if(config.data && typeof(config.data) === 'string' &&
config.url && config.url.indexOf(base_url) === 0){
config.data = config.data + '&_authenticator=' + token;
}
}
_send.apply(xhr, args);
};
}
if(window.kukit && window.kukit.sa){
kukit.sa.ServerAction.prototype.reallyNotifyServer = function() {
// make a deferred callback
var domDoc = new XMLHttpRequest();
var self = this;
var notifyServer_done = function() {
self.notifyServer_done(domDoc);
};
// convert params
var query = new kukit.fo.FormQuery();
for (var key in this.oper.parms) {
query.appendElem(key, this.oper.parms[key]);
}
// also add the parms that result from submitting an entire form.
// This is, unlike the normal parms, is a list. Keys and values are
// added at the end of the query, without mangling names.
var submitForm = this.oper.kssParms.kssSubmitForm;
if (submitForm) {
for (var i=0; i<submitForm.length; i++) {
var item = submitForm[i];
query.appendElem(item[0], item[1]);
}
}
query.appendElem('_authenticator', token);
// encode the query
var encoded = query.encode();
// sending form
var ts = new Date().getTime();
//kukit.logDebug('TS: '+ts);
var tsurl = this.url + "?kukitTimeStamp=" + ts;
domDoc.open("POST", tsurl, true);
domDoc.onreadystatechange = notifyServer_done;
domDoc.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");
domDoc.send(encoded);
};
}
}
Binary file added data/html/credits_files/FeatureContainer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/html/credits_files/PlaceContainer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/html/credits_files/PositionalAccuracy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/html/credits_files/copy_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/html/credits_files/cut_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e9b54f9

Please sign in to comment.