Περιγραφή
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,attachmenton a typical site), a single-item URL can returnContent-Type: text/markdown; charset=UTF-8instead of the themed HTML page. - When Markdown is served
- The request includes an
Acceptheader that liststext/markdown(requests withtext/markdown;q=0are ignored). - Or the URL includes the query argument
output_format=md(handy for browsers and manual testing).
- The request includes an
- HTML to Markdown — Rendered post body is passed through WordPress’s
the_contentfilters, then converted to Markdown using the league/html-to-markdown library. A short YAML front matter block includestitleandpermalink. - 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
<link rel="alternate" type="text/markdown" href="…?output_format=md" />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.
Εγκατάσταση
- Copy the
agent-readyfolder intowp-content/plugins/(or install the distributed package). - Activate Kolibia Agent-Ready under Plugins in the WordPress admin.
- That’s it! AI Agents will automatically discover your site’s content.
Συχνές Ερωτήσεις
-
Do I need to configure anything?
-
No. Just activate the plugin and you’re good to go. AI Agents will automatically discover your site’s content.
-
Does this replace my theme for visitors?
-
No. Normal visitors still get HTML. Markdown is returned only when
text/markdownis negotiated or?output_format=mdis used (and the same permission rules as viewing the content apply). -
Which URLs are affected?
-
Singular URLs for built-in public types from core (typically posts, pages, and media attachment pages). Custom post types are not included unless you add them via the
kolibia_ar_markdown_post_typesfilter.
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Kolibia Agent-Ready” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Kolibia Agent-Ready” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.0.0
- Initial release: Markdown negotiation,
output_format=md, alternate link, admin “View as AI Agent”, HTML-to-Markdown for singular core public post types.