
內容簡介
GenerateBot 是一款連接 WordPress 網站與 GenerateBot 內容平台的外掛。使用者可以在 GenerateBot 編輯器中創建文章,並直接將其發佈到 WordPress,提升內容管理的效率。
【主要功能】
• 安全的令牌認證
• 發佈或草稿選擇
• 自動下載特色圖片
• 分類與標籤分配
• 作者對應功能
• 健康檢查端點
外掛標籤
開發者團隊
原文外掛簡介
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
Install and activate this plugin on your WordPress site.
Go to Settings > GenerateBot to find your Integration Token.
In your GenerateBot dashboard, go to Integrations > Connect WordPress.
Enter your WordPress site URL and paste the Integration Token.
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
WordPress 5.8 or higher
PHP 7.4 or higher
A GenerateBot account (sign up at generatebot.com)
