talk@lists.collectionspace.org

Targeted discussion among implementers and between implementers and the CollectionSpace development team

View all threads

CollectionSpace Public Browser

AK
Amandeep Kapila
Thu, Dec 29, 2022 4:48 PM

Dear all,

I have an instance of Collection Space running at CollectionSpace
(punlib.info) http://punlib.info:8180/cspace/core/login and want to make
my collection available through Public Browser, using my Wordpress instance
on the same server. From the documentation at GitHub -
collectionspace/wp-collectionspace: WordPress plugin for CollectionSpace
https://github.com/collectionspace/wp-collectionspace, I installed the
collectionspace plugin in my wordpress instance but I am facing
difficulties in configuring it. I have also created the required gateway
user.

Further, the documentation says,


Set custom fields to configure the browser. There are two custom fields.
Both are required:

script location: The URL to the CollectionSpace browser JavaScript
application, e.g.
https://unpkg.com/cspace-public-browser@1.2.0/dist/cspacePublicBrowser.min.js.
Your CollectionSpace administrator should be able to provide the correct
value for your CollectionSpace installation.

config: Configuration settings for the CollectionSpace browser application,
in JavaScript object notation (not restricted to JSON). At a minimum,
specify the basename and gatewayUrl settings. basename should be set to
"/collection/" followed by the slug of the page (the last element of the
permalink). gatewayUrl should be set the the URL of your CollectionSpace
public gateway server. Your CollectionSpace administrator should be able to
provide the correct value. For example, if your page slug is core, your
config might look like:

{
basename: '/collection/core',
gatewayUrl: 'https://core.dev.collectionspace.org/gateway/core',
}


I can't figure out the values that I should replace for my url. I have
tried many permutations but no success.

Can someone elaborate on how I should figure out the right settings for my
server?

Regards,
Aman

Dear all, I have an instance of Collection Space running at CollectionSpace (punlib.info) <http://punlib.info:8180/cspace/core/login> and want to make my collection available through Public Browser, using my Wordpress instance on the same server. From the documentation at GitHub - collectionspace/wp-collectionspace: WordPress plugin for CollectionSpace <https://github.com/collectionspace/wp-collectionspace>, I installed the collectionspace plugin in my wordpress instance but I am facing difficulties in configuring it. I have also created the required gateway user. Further, the documentation says, **************************************************************************************** Set custom fields to configure the browser. There are two custom fields. Both are required: script location: The URL to the CollectionSpace browser JavaScript application, e.g. https://unpkg.com/cspace-public-browser@1.2.0/dist/cspacePublicBrowser.min.js. Your CollectionSpace administrator should be able to provide the correct value for your CollectionSpace installation. config: Configuration settings for the CollectionSpace browser application, in JavaScript object notation (not restricted to JSON). At a minimum, specify the basename and gatewayUrl settings. basename should be set to "/collection/" followed by the slug of the page (the last element of the permalink). gatewayUrl should be set the the URL of your CollectionSpace public gateway server. Your CollectionSpace administrator should be able to provide the correct value. For example, if your page slug is core, your config might look like: { basename: '/collection/core', gatewayUrl: 'https://core.dev.collectionspace.org/gateway/core', } ****************************************************************************************** I can't figure out the values that I should replace for my url. I have tried many permutations but no success. Can someone elaborate on how I should figure out the right settings for my server? Regards, Aman
RL
Ray Lee
Fri, Jan 6, 2023 11:37 PM

Hi Aman,
What version of CollectionSpace are you using? Did you install it using the automated installer?

Thanks,
Ray


From: Amandeep Kapila amandeep.kapila@gmail.com
Sent: Thursday, December 29, 2022 11:48 AM
To: Talk@lists.collectionspace.org
Subject: [Talk] CollectionSpace Public Browser

Dear all,

I have an instance of Collection Space running at CollectionSpace (punlib.info)http://punlib.info:8180/cspace/core/login and want to make my collection available through Public Browser, using my Wordpress instance on the same server. From the documentation at GitHub - collectionspace/wp-collectionspace: WordPress plugin for CollectionSpacehttps://github.com/collectionspace/wp-collectionspace, I installed the collectionspace plugin in my wordpress instance but I am facing difficulties in configuring it. I have also created the required gateway user.

Further, the documentation says,


Set custom fields to configure the browser. There are two custom fields. Both are required:

script location: The URL to the CollectionSpace browser JavaScript application, e.g. https://unpkg.com/cspace-public-browser@1.2.0/dist/cspacePublicBrowser.min.js. Your CollectionSpace administrator should be able to provide the correct value for your CollectionSpace installation.

config: Configuration settings for the CollectionSpace browser application, in JavaScript object notation (not restricted to JSON). At a minimum, specify the basename and gatewayUrl settings. basename should be set to "/collection/" followed by the slug of the page (the last element of the permalink). gatewayUrl should be set the the URL of your CollectionSpace public gateway server. Your CollectionSpace administrator should be able to provide the correct value. For example, if your page slug is core, your config might look like:

{
basename: '/collection/core',
gatewayUrl: 'https://core.dev.collectionspace.org/gateway/core',
}


I can't figure out the values that I should replace for my url. I have tried many permutations but no success.

Can someone elaborate on how I should figure out the right settings for my server?

Regards,
Aman

Hi Aman, What version of CollectionSpace are you using? Did you install it using the automated installer? Thanks, Ray ________________________________________ From: Amandeep Kapila <amandeep.kapila@gmail.com> Sent: Thursday, December 29, 2022 11:48 AM To: Talk@lists.collectionspace.org Subject: [Talk] CollectionSpace Public Browser Dear all, I have an instance of Collection Space running at CollectionSpace (punlib.info)<http://punlib.info:8180/cspace/core/login> and want to make my collection available through Public Browser, using my Wordpress instance on the same server. From the documentation at GitHub - collectionspace/wp-collectionspace: WordPress plugin for CollectionSpace<https://github.com/collectionspace/wp-collectionspace>, I installed the collectionspace plugin in my wordpress instance but I am facing difficulties in configuring it. I have also created the required gateway user. Further, the documentation says, **************************************************************************************** Set custom fields to configure the browser. There are two custom fields. Both are required: script location: The URL to the CollectionSpace browser JavaScript application, e.g. https://unpkg.com/cspace-public-browser@1.2.0/dist/cspacePublicBrowser.min.js. Your CollectionSpace administrator should be able to provide the correct value for your CollectionSpace installation. config: Configuration settings for the CollectionSpace browser application, in JavaScript object notation (not restricted to JSON). At a minimum, specify the basename and gatewayUrl settings. basename should be set to "/collection/" followed by the slug of the page (the last element of the permalink). gatewayUrl should be set the the URL of your CollectionSpace public gateway server. Your CollectionSpace administrator should be able to provide the correct value. For example, if your page slug is core, your config might look like: { basename: '/collection/core', gatewayUrl: 'https://core.dev.collectionspace.org/gateway/core', } ****************************************************************************************** I can't figure out the values that I should replace for my url. I have tried many permutations but no success. Can someone elaborate on how I should figure out the right settings for my server? Regards, Aman
JW
jessi.weithman@lyrasis.org
Fri, Jan 20, 2023 6:48 PM

Hello Aman,

I am the Program Manager for CollectionSpace. I’d be interested in learning more about how you are using CollectionSpace and the types of collections that you are tracking within your CollectionSpace installation. Once you have the browser configured, and if it is publicly accessible, please share the link with the community as well.

Thank you,
Jessi Weithman

Hello Aman, I am the Program Manager for CollectionSpace. I’d be interested in learning more about how you are using CollectionSpace and the types of collections that you are tracking within your CollectionSpace installation. Once you have the browser configured, and if it is publicly accessible, please share the link with the community as well. Thank you, \ Jessi Weithman