Linux 软件免费装
Banner图

Keytomic

开发者 salam09
更新时间 2026年5月15日 14:45
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

seo rest api editorial workflow content publishing content automation

下载

0.1.3 0.1.4

详情介绍:

Keytomic is a lightweight companion plugin for the Keytomic platform. It allows Keytomic to send blog drafts to your WordPress site using a secure REST API endpoint. The plugin does not generate content inside WordPress. It receives a request from Keytomic and creates or updates a post on your site based on the payload you provide. Key features
  1. Secure authentication using an API key (stored as a hash).
  2. REST endpoint for creating or updating posts (slug-based upsert):
  3. POST /wp-json/keytomic/v1/drafts
  4. Supports multiple modes:
  5. ping (connection test)
  6. draft (creates or updates a draft post by slug)
  7. publish (creates or updates a published post by slug)
  8. Converts Keytomic payloads into WordPress post content:
  9. contentHtml, contentMarkdown, or sections (heading/body)
  10. Optional featured image sideloading from a provided URL (skips re-sideloading when the same URL is sent again for the same post).
  11. Stores an SEO meta description and outputs it as a meta description tag on single posts.
  12. Stores Keytomic JSON-LD structured data and outputs it on single posts.
Authentication Requests must include the Authorization header: Authorization: Keytomic YOUR_API_KEY (As a fallback, apiKey may also be provided in the JSON payload.)

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install via the WordPress admin.
  2. Activate the plugin from the “Plugins” page.
  3. Go to Settings → Keytomic.
  4. Paste your Keytomic API key and save.
  5. In Keytomic, connect your WordPress site using your site URL and the endpoint shown above.

屏幕截图:

  • Example request result (connection successful)
  • Draft post created by Keytomic

升级注意事项:

0.1.4 Adds JSON-LD structured data support using final WordPress permalinks. 0.1.3 Adds slug-based upsert behavior for incoming Keytomic draft/publish requests and avoids duplicate featured image sideloads on retries.

常见问题:

Where is the endpoint?

POST /wp-json/keytomic/v1/drafts

How do I test the connection?

Send a request with mode set to ping and your Authorization header. A successful response returns “Connection successful”.

Does it publish automatically?

It supports both draft and publish modes. Keytomic controls the mode per request.

Does it create duplicates if I send the same draft again?

No, the plugin updates the existing post when the incoming slug matches an existing WordPress post. If the slug changes, it creates a new post.

Is the API key stored in plain text?

No. The API key is stored as a hash and verified server-side.

What payload formats are supported?

The plugin accepts contentHtml, contentMarkdown, or sections (heading/body). It can also accept a heroImage URL to set a featured image.

更新日志:

0.1.4 0.1.3 0.1.2 0.1.0