Giter VIP home page Giter VIP logo

numishare's Introduction

Numishare is an open source suite of applications for managing digital cultural heritage artifacts, with a particular focus on coins and medals. It is developed and maintained by the American Numismatic Society and employed for its online collection. The architecture of the application is built upon an XML foundation. Coins and medals are described in an XML adaptation of NUDS, the Numismatic Database Standard. Other artifacts are encoded in VRA Core 4.0. The adherence to common library/archive/museum standards and best practices ensures the long-term sustainability and curation of the data.

Background

The code has descended and evolved from the University of Virginia Art Museum Numismatic Collection website, produced by the University of Virginia Library and hosted by the Scholars' Lab. The project commenced in Fall 2007 and the code was open sourced Summer 2009. Considerable work commenced, with sponsorship from the Kittredge Numismatic Foundation, to develop the software with small-to-medium institutions, collectors, and historical societies in mind. An administrative interface was developed taking advantage of cutting-edge XForms apps to create, edit, and publish the XML data. The architecture is a major departure from typical LAMP (Linux, Apache, MySQL, PHP) content management systems, enabling far more sophisticated data models which allow for the creation of an advanced public user interface.

Numishare has been developed by the American Numismatic Society since January 2011.

Architecture

Numishare's codebase is open source, and is built upon a modularized set of open source applications that run within Apache Tomcat, including:

  • Orbeon: Enterprise-level server-side XForms processor which manages back-end workflows as well as produces the fully modern public user interface in HTML5 and provides access to alternate models in KML, RDF/XML, Turtle, JSON-LD, Atom, etc. through both REST and content negotation.
  • Apache Solr Advanced search index based on Lucene which provides faceted browsing
  • eXist-db: XML database

numishare's People

Contributors

esnible avatar ewg118 avatar fgnm avatar msch0150 avatar neon-ninja avatar todrobbins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

numishare's Issues

Update UVA data

Reprocess:

  1. Move department to adminDesc
  2. Point collection to Nomisma URI

Clickable References

I need to add a clickable reference like seen in:

http://numismatics.org/collection/1944.100.39727

There are three clickable references defined (RIC I (second edition) Nero 354; BMC.113; WCN.171).
When using:
Edit coin > +Reference Description > References > +Reference:
"+Identifier" and a Title filed appears.
I can enter anything in the title field but it doesn't appear as a link, here I would like that a Link to the OCRE appears, but I havn't found a method which works.
Info: "+Identifier" doesn't show any reaction.

Date on Object cannot be removed

Create a coin.
Typological Description > +Date on Object

Once expanded, it cannot be removed anymore. Even after entering a value > save it cannot be removed like other item (ex. Date range, ... (by a click on "x")).

CRRO Map tab

There is no search facet for 'Type number'. We really need this.

Findspot: search button not visible

Findspot Geonames works now (many thanks), but only with a workaround:

Create/Edit Coin > + Findspot Description > Findspot:
Lookup Type "Geonames" is preselected. Location Name filed is empty. Right of the field is a "!" icon.
Type into the field "Berlin" and hit return. Now the "!" icon disappears, but no results are show. There is still "Berlin" in the field. There is no "search" button"!
Now switch "Lookup Type" to "Manual coordiantes" and switch again back to "Geonames". Now a "Search" button appears right to the field. Type again "Berlin" and click on "Search". Now the results are displayed as expected.

(Small additional enhancement request; if you enter something into the field and if you hit return then the "search" should be executed, currently I have to select the search button and press it.)

Greek

Has gone awry in RRC 1/1: "ΡΩ???Ω?: "

Installation Issues

I've been trying to install Numishare on my institution's (Warwick University) servers and have run into several issues:

Firstly, assets are hard-coded to be served over http when our servers use https. Although we could change the servers it makes sense for numishare to be https as it requires users to log in. I've forked the project and changed every hard-coded http:// to a protocol agnostic version so it'll work correctly regardless. I can submit this as a pull request if that would be helpful.

Secondly, the system was throwing a null pointer exception when we tried to access certain pages. I've tracked this down to line 36 of /xpl/views/pages/index.xpl:

<p:input name="data" href="aggregate('content', #data, #feature-view)"/>

If I remove #feature-view the null pointer exceptions go away. I don't know what #feature-view is for, or why it's a null pointer. Do you have any ideas why this is happening, and how bad is it to just remove it?

Finally I've been having some problems with authentication; I keep getting the Numishare 'Unauthorized User' page when logging in as a numishare-admin user. Orbeon is correctly asking for the username and password and they are correctly being pulled through from tomcat-users.xml - but Numishare is not recognizing the authenticated session. Is any setup required in eXist to be able to log in as a numishare-admin user?

Legends in Mantis

Hi Ethan, there is a peculiarity with the way legends on Roman coins show-up that may have to be adjusted. When you search Mantis, the Obverse and Reverse legends are visible next to each coin, above diameter, weight, reference. If now you click on a given coin, more details will become available, like the mint, the portrait, the region, the denomination, etc. But the legends of the obverse and reverse are no longer displayed. Obviously, if then you click on the reference field and get forwarded to the OCRE page, legends will show-up again. But I believe they should be available in the detailed Mantis window as well, which seems like a minor fix. Could you look into this?
Best regards
Gilles

No findspot found

Setup described in #43

Create/Edit Coin > +Findspot Description > FindSpot

"Search" field:

Abdon
A*
*

I do see the progress bar completing in the top, but no results are found.

ANS Numishare installation not including <IconStyle> in KML results

When you load a kml query results into G Earth you see the default yellow pin at each PlaceMarker. But you don't get a pin in G Maps or in other tools that load the KML. I think this is because the <Style id="#ANSStyle">...</Style> does not include an IconStyle element.

To test I added

http://maps.google.com/mapfiles/kml/pal4/icon57.png

to https://dl.dropboxusercontent.com/u/17002562/ans-aphrodite.kml with added IconStyle and that works just fine in G Earth, G Maps[1] and other KML renderers.

[1] You have to use Classic G Maps since the new version doesn't handle KML.

Tweak findspotDesc

Rewrite XSLT to display prefLabel from Nomisma, link to search results, create pointer to Nomisma.org

Error getting Solr document from XQuery ingestion pipeline.

Create a new collection. Create a new coin for the collection.
Click on "Admin Home" > publish the coin manually by clicking the checkbox the the right side.
(Info: if you click on the coin, then the status of the coin is "approved".)
Click "unpublish all objects".
(Info: if you click on the coin, then the status of the coin is still "approved".)
Click "Publish all approved objects".
Now the error occurs:

Error getting Solr document from XQuery ingestion pipeline.

Info:
Tested with solr 4.10.4 and solr 6.6.3 in 5.5.5 emulation mode.

French translation

some few comments:

  • you need to replace 'BC' and 'AD' by 'av. J. -C.' and 'ap. J. -C.'
  • 'coin' = 'monnaie'
  • 'manufacture' = 'mode de production'
  • 'struck' = 'frappé'
  • 'date range' = 'intervalle chronologique'
  • then I think 'géographie' would actually look better than 'géographique' since this is the substantive.

CHRR frozen facet

In the map tab, select 4 coin types then close the facet. It won't reopen.
github1

Findspot search url not encoded

Create coin with a findspot (example: Berlin (Germany)).
Browse to the coin to display the details via View Public Site.
Under "Findspot Description" you will get the link to the findspot (Berlin (Germany)).
If you click on the links, you get directed to:

http://localhost:8080/orbeon/numishare/myColl/results?q=findspot_facet:"Berlin (Germany)"

And the browser will report error HTTP 400.
If you enter the findspot manually with an encoded url, then it works:

http://localhost:8080/orbeon/numishare/myColl/results?q=findspot_facet:%22Berlin+%28Germany%29%22

Examples of this type

On a type page, "Examples of this type" should perhaps be in bold. And could it have a dividing line above it, as 'Variants' does, to show that we're in a different part of the page?

Mantis - database extraction related issues

Hi Ethan, trying to workout around the available weights in a sample of our database. When I sort results in Mantis 2, for instance by year, it works fine. Then when you download the data using CSV, it does not affect the order in the database. It actually provides the user with the same order, irrespective of the way you did sort the data out.
This is obviously something one can address once he managed to convert the CSV into Excel, but this is not that straightforward a process. Is there a way the sorting functions would affect the CSV downloads? Thanks. Gilles.

Map focus

Can we pull back the focus of the map on the type page to show western europe rather than city-centres?

Java, Orbeon, Solr, Tomcat and Exist versions

Hi. I'm trying to get Numishare running on my University's servers.

I've followed the instructions on the project wiki and things seem to be mostly working, I am able to create and add to projects. However, some pages - including project home pages - cause orbeon to throw errors. I've looked through the logs and the error messages seem to be about incorrect function calls in the XSLT processor. I think this is probably down to some version incompatibility in the set of applications I have installed.

Please could you clarify which versions of Java, Tomcat, Orbeon, Solr and ExistDb are intended to be used with Numishare?

For reference the error is:

+----------------------------------------------------------------------------------------------------------------------+ {}
2016-12-12 14:19:29,566 ERROR PageFlowControllerProcessor  - error caught {controller: "oxf:/page-flow.xml", method: "GET", path: "/numishare/admin/"}
2016-12-12 14:19:29,606 ERROR PageFlowControllerProcessor  -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|A sequence of more than one item is not allowed as the first argument of string() (<role/>, <role/>)                  |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/page-flow.xml                                                                |reading page model data output|  35|
|······················································································································|
|element=<page path="/([^/]+)/.*" model="apps/${1}/page-flow.xml" public-methods="#all"/>                              |
|model  =apps/${1}/page-flow.xml                                                                                       |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/numishare/page-flow.xml                                                 |executing processor           | 188|
|······················································································································|
|name={http://www.orbeon.com/oxf/processors}pipeline                                                                   |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/config/epilogue.xpl                                                          |executing processor           |  60|
|······················································································································|
|element=<p:processor name="oxf:pipeline">[...]</p:processor>                                                          |
|name   ={http://www.orbeon.com/oxf/processors}pipeline                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/config/epilogue-servlet.xpl                                                  |reading processor output      |  31|
|······················································································································|
|element=<p:param type="input" name="xformed-data"/>                                                                   |
|name   =xformed-data                                                                                                  |

The applications I am using are:

App Version
Java 8
Tomcat 7
Orbeon 4.4 (have also tried 4.8.1)
Exist 2.2
Solr 4.10.4

Łódź

Appears misplaced alphabetically in the associated places facet

Implement theme_url in config

Refactor themes to use a theme_url in the Numishare config (when available) instead of hard-coded 'http://' and Tomcat port values, which do not function properly through https

Multiple mints

Mints are appearing multiple times on the browse page.

Weight search

fix bug with decimal weight search from collection page.

Empty "Digital Representation"

Setup described in #43

Create/Edit Coin > +Digital Representation > Digital Representations
I do see "Digital Representations x"
I assume that I should see some fields for adding images ...
But all is "blank" below "Digital Representations x". No errors in the logs. Only some warning in orbeon.log:

2018-03-13 19:17:59,333 INFO ProcessorService - /numishare/admin/edit/coin/ - Received request
2018-03-13 19:17:59,595 INFO lifecycle - event: {"request": "244", "session": "99726F6A7D2DD5EB77027AADDE2A9BEF", "source": "xforms", "message": "new form session", "uuid": "dac63a39096c557d664f6da511c19fff8b2a92e5"}
2018-03-13 19:18:00,125 WARN ResponseProcessCookies - Cookie rejected [JSESSIONID="3F1AF39641CCC1FFF46E803EABACC5D3", version:0, domain:nomisma.org, path:/orbeon/, expiry:null] Illegal path attribute "/orbeon/". Path of origin: "/feed/"
2018-03-13 19:18:00,454 WARN ResponseProcessCookies - Cookie rejected [JSESSIONID="19AC05C1E9D13093A80D349CEAFD55AB", version:0, domain:nomisma.org, path:/orbeon/, expiry:null] Illegal path attribute "/orbeon/". Path of origin: "/feed/"
2018-03-13 19:18:00,653 WARN ResponseProcessCookies - Cookie rejected [JSESSIONID="44EA713122285725388B8C076B525DAA", version:0, domain:nomisma.org, path:/orbeon/, expiry:null] Illegal path attribute "/orbeon/". Path of origin: "/feed/"
2018-03-13 19:18:00,981 INFO lifecycle - event: {"request": "244", "session": "99726F6A7D2DD5EB77027AADDE2A9BEF", "source": "xforms", "message": "after cacheOrStore", "document cache current size": "30", "document cache max size": "50"}
2018-03-13 19:18:01,303 INFO ProcessorService - /numishare/admin/edit/coin/ - Timing: 1970

Test browsers: FireFox 58.02 (64Bit) and Chrome Version 64.0.3282.186 (Official Build) (64-bit)

If I turn on the debugger, I do see:
Uncaught Error: Bootstrap's JavaScript requires jQuery
at bootstrap.min.js:6

I attached a screenshot:
digital_representation_blank

CRRO Not working!

Hi,

I'm trying to use the CRRO, but I'm getting an Orbeon error. The CHRR works, but if you try to click on an individual coin, it takes you to the same Orbeon error. Please fix!

Thank you from a desperate PhD student in the final stages of the dissertation.

Here is the error:

Orbeon Forms - An Error has Occurred

An error has occurred in Orbeon Forms. You may want to try one of the following:

If this error occurred when you followed a link, press your browser's Back button.
If the above does not work, try reloading the page:
With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
With Safari and Chrome: click the Reload button in your browser toolbar.
With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
Return home.
Orbeon Forms 4.5.0.201404080036 CE

Create New Symbol does not work

Setup described in #43
Browser: Google Chrome.

http://localhost:8080/orbeon/numishare/admin/symbols/
Click on "Create New Symbol". The following error occurs:

Orbeon Forms - An Error has Occurred
An error has occurred in Orbeon Forms. You may want to try one of the following:

If this error occurred when you followed a link, press your browser's Back button.
If the above does not work, try reloading the page:
With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
With Safari and Chrome: click the Reload button in your browser toolbar.
With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
Return home.

I attached the orbeon.log.

orbeon.log

numishare and Docker

For me, It looks like that numishare can be used with Docker.
Before I dig into it....
Is there already something in preparation?

Info: you can contact me directly by adding @gmx.de to my login name. Maybe we can discuss my goals and "visions" on the phone.

OCRE: "Search the Corpus" on front page not working?

When I type "drusilla" or "nero" or other keywords into the "Search the Corpus" textfield on http://numismatics.org/ocre/ , the search is sent to the server as "http://numismatics.org/ocre/results?q=*%3A*" and I get the start of the complete list of types. This happens both when I hit return and when I click the "search" button.

I'm on OS X 10.9 and I tried this in Safari and Chrome.

Looking a little under the hood. "%3A" is the url escaped version of @value in "". Perhaps the @name is overriding my input?

Header links wrong after using "Symbols"

Setup described in #43
Browser: Google Chrome.

http://localhost:8080/orbeon/numishare/admin

Click on the header link "Symbols" > Symbol Management page is displayed.
Click on "Modify Settings":

Orbeon Forms - Page Not Found
We are sorry, but the resource you have requested is not available on this server.

The link in the address bar is now:
http://localhost:8080/orbeon/numishare/admin/symbols/edit/settings/

but it should be:
http://localhost:8080/orbeon/numishare/admin/edit/settings/

Info: same behavior for "Admin Home" and "Symbols".

Workaround:
Remove "/symbols" manually from the link in the address bar.

Supported versions

Is there any support matrix? I setup the numishare on Windows 10.

tomcat 8
solr 4.10 (solr 5.0 and higher didn't work, in addition I had to copy example\lib\ext* to tomcat\lib)
exist 4.0.0 (needed to manually copy from current betterFORM resources\xslt*.xsl to webapp\exist\WEB-INF\classes\META-INF\resource\ , same with exist 3.6)
orbeon 2017.2.201712300816-CE

I got the application to work. I can login, I can create a collection, I can create coins. I can search, I can browse but I cannot display the main page of the created collection like:

http://localhost:8080/orbeon/numishare/UlpiaCol/

Orbeon Forms - An Error has Occurred
An error has occurred in Orbeon Forms. You may want to try one of the following:
If this error occurred when you followed a link, press your browser's Back button.
If the above does not work, try reloading the page:
With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
With Safari and Chrome: click the Reload button in your browser toolbar.
With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
Return home.

I attached the orbeon.log.

I read in the Wiki that numishare is tested with solr 4.10 only. The latest version is 7.2.1. So, maybe the root cause is the usage of some newer software. Also the manual copy action to get exist-db to work might be a root cause. A list of tested versions might help.
orbeon.log

Error in PAE

This hoard (http://admin.numismatics.org/chrr/id/PAE) is throwing up an error:

An error has occured

net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of string() (, )
file:///usr/local/projects/chrr/cocoon/xslt/display/nudsHoard/html.xsl - 301:-1

Cocoon stacktrace[hide]

A sequence of more than one item is not allowed as the first argument of string() (, )
file:///usr/local/projects/chrr/cocoon/xslt/display/nudsHoard/html.xsl - 301:-1

Failed to process pipeline
file:///usr/local/projects/chrr/cocoon/xslt/display/nudsHoard/html.xsl - 301:-1 [XPathException]
file:///usr/local/projects/chrr/cocoon/sitemap.xmap - 248:33 <map:serialize type="html">
file:///usr/local/projects/chrr/cocoon/sitemap.xmap - 247:37 <map:transform type="cinclude">
file:///usr/local/projects/chrr/cocoon/sitemap.xmap - 242:82 <map:transform type="xslt-saxon">
context://sitemap.xmap - 1050:134 map:mount

etc.

CHRR Errors

A few of the Spanish coin hoards (La Barroca, Cordoba 2) are showing up with no information, just the word false in lowercase. A number of others (Segaro, El Centenillo, etc.) are showing up with an Orbeon Form error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.