Demo and example code

The following pages with demos and exmaple code show what can be done using SOCH and are aimed at app- and web developers.

  • The Flea (using SOCH API) – This is a simple tool application, developed in-house, to demonstrate some of the capabilities of the SOCH API. The API is efficient and stable; we recommend that you use it.
  • Documentation for the K-samsök/SOCH API – The documentationen describes how application developers can use the K-samsök/SOCH API. The English documentation is a little out of date now; up-to-date documentation is available in Swedish.
  • The SOCH source code – download (.zip 363 kB – version from 2013-11-08) This is the source code for SOCH (Swedish Open Cultural Heritage), a cultural heritage repository harvesting RDF formated SOCH protocol metadata of cultural heritage objects over the OAI-PMH transport mechanism. SOCH also provides an extensive API that uses a Solr index. The implementation is pure Java and a simple relational database is used för harvesting and indexing. The database is not needed by the API, since the API works totally with the Solr index. It is not executable because it lacks the necessary 3rd party libraries, database, solr index as well as its web container.
  • Kringla for Android – Download source (.zip, 669 kB) – The Kringla app for Android was developed in 2010 and has not been updated since; as such, it is unlikely to run error-free on modern versions of Android. The app was removed by Google Play in May 2018. The API key for Google Maps has been removed from the code, and the SOCH API key has been replaced with a test key in the source.
  • Publicerad:
  • Uppdaterad:
  • Kategorier: Ej kategoriserad