
外掛標籤
開發者團隊
原文外掛簡介
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
Secure authentication using an API key (stored as a hash).
REST endpoint for creating or updating posts (slug-based upsert):
POST /wp-json/keytomic/v1/drafts
Supports multiple modes:
ping (connection test)
draft (creates or updates a draft post by slug)
publish (creates or updates a published post by slug)
Converts Keytomic payloads into WordPress post content:
contentHtml, contentMarkdown, or sections (heading/body)
Optional featured image sideloading from a provided URL (skips re-sideloading when the same URL is sent again for the same post).
Stores an SEO meta description and outputs it as a meta description tag on single posts.
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.)
External services
This plugin is designed to be used with the Keytomic platform and requires an API key generated in your Keytomic account.
This plugin does not send your site’s content to Keytomic on its own. It only processes inbound requests made to your site’s endpoint.
Data handled:
– API key (entered by the site admin and stored as a hash in WordPress options)
– Post data received from Keytomic (title, slug, summary/excerpt, content, optional hero image URL and alt text, optional SEO description, optional JSON-LD structured data)
When data is processed:
– When Keytomic sends a request to your site’s REST endpoint
– When the plugin downloads a featured image from a URL provided in the request (if used)
External service links:
– Keytomic: https://keytomic.com
– Privacy Policy: https://keytomic.com/privacy
– Terms of Service: https://keytomic.com/terms
