https://github.com/nuclia/nuclia.plone
Plone add-on allowing to index Plone contents in Nuclia
https://github.com/nuclia/nuclia.plone
Last synced: 8 months ago
JSON representation
Plone add-on allowing to index Plone contents in Nuclia
- Host: GitHub
- URL: https://github.com/nuclia/nuclia.plone
- Owner: nuclia
- License: gpl-2.0
- Created: 2022-08-26T15:43:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T15:48:08.000Z (about 3 years ago)
- Last Synced: 2024-05-10T11:22:15.039Z (over 1 year ago)
- Language: Python
- Size: 46.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE.GPL
Awesome Lists containing this project
README
# nuclia.plone

This Plone add-on allows to index Plone contents in [Nuclia](https://nuclia.com/).
## Create a Nuclia knowledge box
[Create a Nuclia account](https://docs.nuclia.dev/docs/quick-start/create)
## Install the add-on
Add `nuclia.plone` in your buildout in the `eggs` section and run buildout.
Restart Plone.
Go to Site Setup / Add-ons and install `nuclia.plone`.
Go to Nuclia settings, and enter the following:
- Knowledge box ID: you have a default knowledge box created with your Nuclia account, go to [Nuclia dashboard](https://nuclia.cloud/), the knowledge box ID is indicated on the home page in the **Nuclia APi endpoint**.
- API key: see [how to get an API key](https://docs.nuclia.dev/docs/guides/getting-started/quick-start/push#get-an-api-key).
- Region: this the geographical region your knowledge box is attached to.
- Widget snippet: see [how to create a widget](https://docs.nuclia.dev/docs/guides/getting-started/quick-start/search#add-a-search-widget-to-your-website).
- File attribute: the attribute of the content that contains the file to index. Default is `file`.
- Metadata mapping: Nuclia allows to store the following metadata: `title`, `summary`, `tags`, `contributors`, `created`, `modified`. You can map Plone content fields to these metadata fields. If the field belongs to the parent node, use the following format: `parent/field_name`.
- Workflow states: you can choose which workflow states trigger indexing in Nuclia. Default is `published`.## Usage
Everytime a content having a file is created or modified (and if it is in the appropriate workflow state).
The Nuclia search widget is visible on the `/@@nuclia-search` view.