Google Site Data Source

The Google Site Data Source lets you index content from your Google Sites into a SearchBlox collection, allowing you to search pages, text, and attachments directly within SearchBlox.

Configuring SearchBlox

Before using the Google Site Data Source, make sure SearchBlox is installed and a Custom Collection is created.

Configuring API for Google Site

**

Steps to create client_secret.json and configure Google Site

  1. Go to https://console.developers.google.com/.
  2. Log in with your Google account.
  3. Select an existing project or create a new project.
418
  1. If creating a new project, enter the project name and agree to the terms of service.
  2. Click on Credentials in the left menu.
  3. On the right page, click Create Credentials and choose OAuth client ID.
  1. Select Application Type as Desktop App and create the credentials.

  1. After creating, you will see the credentials listed.
  1. Download the credentials and rename the file to client_secret.json.

Configuration details of Google Site Data Source

Accessing Connector UI

urlThe SearchBlox URL.
api-keyThe API key for your SearchBlox instance.
data-directoryThe folder where data will be stored. Make sure it has write permission.
colnameThe name of the Custom Collection in SearchBlox.
exclude-formatsFile formats that should be excluded from indexing.
exclude-google-mimeGoogle MIME types to exclude.
fetch-intervalTime between each fetch in seconds.
exclude-sizeFile sizes that should be excluded from indexing.
domainThe website domain.
siteNameThe name of the site in Google Sites.