[WordPress] 外掛分享: Kolibia Agent-Ready

首頁外掛目錄 › Kolibia Agent-Ready
全新外掛
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 6.8+ PHP 8.0+ v1.0.0 上架:2026-04-29

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kolibia Agent-Ready」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Kolibia Agent-Ready makes singular WordPress content available as Markdown so tools and agents do not have to scrape HTML. Behaviour follows common content negotiation patterns (similar in spirit to Markdown for Agents on Cloudflare): clients that prefer Markdown can request it explicitly.
What is included today

Markdown responses for singular content — For each built-in public post type registered by WordPress core (post, page, attachment on a typical site), a single-item URL can return Content-Type: text/markdown; charset=UTF-8 instead of the themed HTML page.
When Markdown is served

The request includes an Accept header that lists text/markdown (requests with text/markdown;q=0 are ignored).
Or the URL includes the query argument output_format=md (handy for browsers and manual testing).

HTML to Markdown — Rendered post body is passed through WordPress’s the_content filters, then converted to Markdown using the league/html-to-markdown library. A short YAML front matter block includes title and permalink.
Password-protected content — If a password is required, the response is a small Markdown message instead of the full body.
Discovery in HTML — On the normal HTML view, the plugin prints so clients can find the Markdown URL.
Admin shortcut — On the posts and pages list screens, a row action View as AI Agent opens the same Markdown URL (preview URLs are used for drafts where WordPress would show Preview).

Developer filters

kolibia_ar_markdown_post_types — Defaults to all public, built-in post types from core; override to add custom post types or remove types (e.g. attachment).
kolibia_ar_post_markdown — Filter the final Markdown string.
kolibia_ar_markdown_password_required — Filter the Markdown shown when a password is required.

Roadmap
Further “agent readiness” features (broader API discovery, additional formats) may be added in future releases.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon