Linux 软件免费装
Banner图

HiveKit External API Page Content

开发者 corradofiore
更新时间 2026年10月14日 01:06
PHP版本: 8.3 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

html content markdown api remote

下载

1.3.0

详情介绍:

External API Page Content lets you create any number of configurable page-to-API mappings. No page purpose or endpoint is hard-coded. Each mapping contains: The endpoint must return the document directly in the HTTP response body. JSON/XML wrappers are not expected. Features:

安装:

  1. Upload and activate the plugin.
  2. Go to External API Content in the admin menu.
  3. Click Add mapping.
  4. Select a WordPress page and enter its API URL.
  5. Choose Auto-detect, HTML, or Markdown.
  6. Optionally add request headers, one per line in Header-Name: value format.
  7. Set the mapping's cache TTL.
  8. Optionally click Test API to inspect the endpoint response before saving.
  9. Save settings.
Repeat for as many pages as required. The original content stored in each WordPress page is not overwritten. It acts as an emergency fallback.

升级注意事项:

1.3.0 Adds per-mapping HTTP request headers. Existing 1.1 and 1.2 settings are migrated automatically.

常见问题:

What happens when the external API is unavailable?

The last successful response for that mapping is served instead. If the API has never returned a usable response, the normal WordPress page content is shown unchanged.

How do I authenticate to the API?

Add an Authorization header with the hivekit_eapc_request_args filter, so the token stays in your own code and never reaches the database. If you instead type a header into a mapping's Request headers field, its value is stored in the site options table. The plugin never reads PHP constants, so it cannot expose wp-config.php secrets.

Does this plugin send data to the plugin author?

No. Requests go only to the API URLs you configure yourself.

Can several pages use the same API?

Yes. Every mapping is independent and keeps its own cache TTL, request headers and payload format.

Which Markdown features are supported?

Headings, paragraphs, blockquotes, horizontal rules, fenced code blocks, ordered and unordered lists, links, inline code, bold, emphasis and strikethrough. Tables and nested lists are not supported; see the Markdown support section above.

Does it work on multisite?

Settings are stored per site. After a network activation, configure each site through the External API Content screen.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.0