Content Integration - WordPress
WordPress Overview
WordPress is an open-source platform that enables individuals and teams to create and publish websites and blogs easily. It is known for its flexibility, extensibility through plugins, and a vast community. By integrating Moveworks with WordPress, our platform can harnesses the capability to accurately retrieve essential content from WordPress, streamline workflows, and enhance productivity.
Access Requirements for WordPress
Moveworks can connect to WordPress. See our WordPress Access Requirements guide to learn more about how to connect your system with Moveworks:
Content Types Supported within WordPress
- Pages
- Blog Posts
How Moveworks Integrates with WordPress
Moveworks has Indexed Search support for publicly available blog posts and pages within WordPress. The following diagram illustrates the high-level architecture of how Moveworks integrates with the WordPress Sites:
![](https://files.readme.io/a23d33b-Untitled_-_2024-06-24T143917.639.png)
This is a live integration which means we poll for knowledge articles every four hours. This is done so that the enterprise cache is updated with relevant snippets for answers.
Our enterprise cache stores the knowledge documents and generates relevant knowledge snippets by understanding the content. This is also where we store redirect URLs in order to direct users to where the knowledge article is located and can be read.
How do we fetch knowledge articles from WordPress
We use the following APIs to fetch the knowledge articles that you want Moveworks to ingest.
Fetch all Pages
curl --location --globoff 'https://{{wordpress_url}}/wp-json/wp/v2/pages?per_page=100&page=1&status=publish' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Basic <base64({{wordpress_username}}:{{wordpress_password}})>'
Fetch all Posts
curl --location --globoff 'https://{{wordpress_url}}/wp-json/wp/v2/posts?per_page=100&page=1&status=publish' \
--header 'Accept: application/json' \
--header 'Authorization: Basic Basic <base64({{wordpress_username}}:{{wordpress_password}})>'
Integration Scope
Content
Our knowledge ingestion engine works on ingesting the content.rendered
section from the API response which is an HTML block and we ingest and snippetize the content based on this HTML.
Updated 3 months ago