This is the plugin for ARC node websites that run entirely off of Wordpress. It allows a Wordpress site to communicate with the ARC catalog as hosted on Corpora.
Note: Not to be confused with the legacy Ruby-on-Rails app for ARC nodes. This is a Wordpress plugin intended to enable scholarly engagement with the ARC Catalog from within an ARC node environment.
To install this plugin, clone this repository into the wp-content/plugins directory of your Wordpress instance, and
then set the following environment variables:
COLLEX_CORPORA_HOSTie: https://corpora.dh.tamu.eduCOLLEX_CORPUS_IDie: 5f623b8eff276600a4f44553COLLEX_FEDERATION_IDie: 5f62423c52023c009d733904COLLEX_OTHER_FEDERATION_IDSie: 5f623f2952023c009d73107f,5f623f9b52023c009d731553,5f623f9552023c009d7314da,5f62423c52023c009d733905
To get the ARC Full Search widgets to appear, you must ensure that a page exists in Wordpress containing 3 elements (preferably <div>'s) with these respective ID's:
arc-user-auth-boxThe element with this ID will contain the interface for logging into ARCarc-fs-search-boxThe element with this ID will contain the main search boxarc-fs-facets-boxThe element with this ID will contain the facet treearc-fs-results-boxThe element with this ID will contain search results