Linux 软件免费装
Banner图

Agentic Markdown Bridge

开发者 asmaulhq
更新时间 2026年10月24日 03:23
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

markdown ai agents llms machine readable content negotiation

下载

1.0.3 1.0.4

详情介绍:

Agentic Markdown Bridge gives public WordPress content a clean machine-readable Markdown representation while leaving the normal HTML experience unchanged. Its primary purpose is a per-page representation layer for WordPress content: posts, pages, and public custom post types can expose their own Markdown endpoint for AI agents, retrieval systems, developer tools, and other machine clients. llms.txt support is optional and complements that per-page layer rather than defining it. With pretty permalinks: https://example.com/about/ can expose: https://example.com/about/index.md The HTML page can advertise the representation with: <link rel="alternate" type="text/markdown" href="https://example.com/about/index.md"> The plugin also includes optional llms.txt management, per-content controls, caching, diagnostics, multilingual-aware URLs and response language metadata, local request counters, content negotiation, and developer/CLI tools. The plugin does not automatically send content or analytics to Bipixels or any third party and does not require an account, API key, SaaS service, or remote code. Optional AI-assisted llms.txt buttons are user-initiated outbound links to third-party AI websites. Representation layer, not just llms.txt The core feature is a machine-readable representation layer for individual WordPress URLs. Each eligible piece of content can have its own Markdown endpoint, discovery metadata, HTTP validation headers, content-negotiation behavior, exclusions, title rules, and per-content overrides. Optional llms.txt management acts as a site-level resource map on top of that representation layer. Core Markdown features Discovery and HTTP behavior Performance llms.txt manager Admin and diagnostics Front-end actions Optional fixed front-end actions can be enabled for eligible pages: Front-end actions are disabled by default and are not required for machine discovery. Multilingual compatibility Markdown URLs are derived from the translated WordPress permalink, preserving language paths used by common multilingual plugins. Response language metadata includes integration support for Polylang and WPML, uses the active TranslatePress language when available, and falls back to the current WordPress locale. Multisite Settings and data remain site-specific on WordPress Multisite. Network activation initializes each site, and uninstall cleanup handles each site. WP-CLI When WP-CLI is available: wp agentic-markdown validate wp agentic-markdown url 123 wp agentic-markdown clear-cache wp agentic-markdown generate-llms

安装:

  1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin, or upload the agentic-markdown-bridge folder to /wp-content/plugins/.
  2. Activate Agentic Markdown Bridge.
  3. Go to Settings > Agentic Markdown.
  4. Choose content types and discovery behavior.
  5. Optionally configure llms.txt, caching, front-end actions, content negotiation, or YAML front matter.
  6. Open Tools > Markdown Diagnostics to verify the installation.

常见问题:

Is this primarily an llms.txt generator?

No. The primary feature is the per-page Markdown representation layer, including discovery metadata, HTTP caching/validation, content negotiation, and per-content controls. llms.txt management is an optional supporting feature.

Does this replace my normal WordPress pages?

No. The normal HTML URL remains the canonical human-facing page. Markdown is an additional representation.

Does it create physical .md files?

No. Markdown is generated dynamically from current published WordPress content.

Can I disable Markdown for one page?

Yes. In the Agentic Markdown editor panel choose Disable. You can also explicitly Enable a post that is outside the globally selected post types while the global Markdown master switch remains on.

Can I keep a visual block out of Markdown?

Yes. Add agentic-markdown-exclude under Gutenberg > Advanced > Additional CSS class(es). Developers can also add data-agentic-markdown="exclude" to custom markup.

Can I replace generated Markdown for one page?

Yes. Set Content source to “Use custom Markdown below” and enter the custom Markdown in the override editor.

Can I create or edit llms.txt without FTP or cPanel?

Yes. The built-in manager can serve a virtual /llms.txt. If a physical root file exists, the editor loads it and can update it when WordPress has safe write access.

Does the plugin overwrite llms.txt automatically?

No. The generator only creates a new draft when you explicitly click the Generate button. Manual content remains editable.

Does content negotiation replace /index.md?

No. /index.md remains available. Content negotiation is optional and additionally lets clients request the canonical HTML URL with Accept: text/markdown.

What data do local counters store?

Only aggregate request counts per post and an aggregate managed llms.txt request count. No IP address, user agent, cookie identifier, or external analytics payload is stored.

Does it send my content to an AI provider?

Not automatically. The plugin makes no server-side AI API calls. If an administrator explicitly clicks one of the optional AI-assisted llms.txt buttons, the browser opens the chosen third-party AI service. ChatGPT and Perplexity receive the generated prompt as part of the outbound URL. For Claude and Gemini, the prompt is copied to the clipboard and a clean new-chat page is opened; nothing is submitted until the administrator pastes and submits it.

Will this improve rankings or citations?

No ranking or citation outcome can be guaranteed. The plugin provides cleaner machine-readable representations and discovery signals; individual crawlers and systems decide how to use them.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0.0