GenerateBot

外掛說明

GenerateBot is a companion plugin that connects your WordPress site to the GenerateBot content platform. Once connected, you can publish articles created in GenerateBot directly to WordPress without leaving the GenerateBot editor.

Features

  • Secure token-based authentication – A unique integration token is generated on activation. All communication between GenerateBot and your site is authenticated.
  • Publish or draft – Choose whether articles land as drafts for review or publish immediately. Set a site-wide default or override per article.
  • Featured images – Automatically downloads and attaches featured images from external URLs.
  • Categories and tags – Assign categories and tags during publishing. Missing categories are created automatically.
  • Author mapping – Map articles to any WordPress user who can edit posts.
  • Health-check endpoint – Verify the connection is working from your GenerateBot dashboard at any time.

How it works

  1. Install and activate this plugin on your WordPress site.
  2. Go to Settings > GenerateBot to find your Integration Token.
  3. In your GenerateBot dashboard, go to Integrations > Connect WordPress.
  4. Enter your WordPress site URL and paste the Integration Token.
  5. Articles you publish from GenerateBot will appear in your WordPress Posts.

REST API Endpoints

The plugin registers four endpoints under the generatebot/v1 namespace. All endpoints require a valid Bearer token in the Authorization header.

  • GET /wp-json/generatebot/v1/status – Connection health-check
  • POST /wp-json/generatebot/v1/publish – Create a post
  • GET /wp-json/generatebot/v1/authors – List available authors
  • GET /wp-json/generatebot/v1/categories – List categories

Requirements

螢幕擷圖

  • The GenerateBot settings page showing the Integration Token and publishing defaults.
  • Connecting your WordPress site from the GenerateBot dashboard.

安裝方式

From the WordPress Plugin Directory

  1. Go to Plugins > Add New in your WordPress admin.
  2. Search for “GenerateBot”.
  3. Click Install Now, then Activate.
  4. Go to Settings > GenerateBot to view your Integration Token.

Manual Installation

  1. Download the plugin zip file.
  2. Go to Plugins > Add New > Upload Plugin.
  3. Upload the zip file and click Install Now.
  4. Activate the plugin.
  5. Go to Settings > GenerateBot to view your Integration Token.

Via FTP

  1. Extract the generatebot folder from the zip file.
  2. Upload it to /wp-content/plugins/ on your server.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Go to Settings > GenerateBot to view your Integration Token.

常見問題集

How do I connect GenerateBot to my WordPress site?

After activating the plugin, go to Settings > GenerateBot. Copy the Integration Token shown there and paste it into the GenerateBot Integrations page along with your site URL.

Can I choose whether articles are published as drafts?

Yes. You can set the default publish status in the plugin settings (draft or publish immediately), and you can also override it per article from the GenerateBot editor.

Does the plugin support featured images?

Yes. If you include a featured image URL when publishing from GenerateBot, the plugin will automatically download the image and set it as the post’s featured image.

What happens if a category does not exist?

The plugin will create the category automatically when it receives an article with a category name that does not exist on your site.

Is my data secure?

All API communication is authenticated with a unique token generated per site. The plugin uses WordPress’s built-in hash_equals for constant-time token comparison. We recommend using HTTPS on your WordPress site for encrypted communication.

Can multiple GenerateBot accounts connect to the same site?

Currently, the plugin supports a single integration token per site. All GenerateBot accounts that need to publish to the same site should share the same token.

Where can I get support?

Visit generatebot.com/support or email support@generatebot.com.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈GenerateBot〉的開發相關工作。

參與者

將〈GenerateBot〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.
  • REST API endpoints for publishing, status check, authors, and categories.
  • Token-based authentication.
  • Admin settings page with default author, category, and publish status.
  • Automatic featured image import from external URLs.
  • Auto-creation of missing categories.