=== Listeo Markdown for AI Agents ===
Contributors: purethemes
Tags: listeo, markdown, llm, ai, elementor, woocommerce
Requires at least: 6.0
Requires PHP: 7.4
Requires Plugins: listeo-core
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Cached Markdown twins for public WordPress and Listeo content, without a loopback request, Cloudflare Worker, or hosting configuration.

== Description ==

Listeo Markdown for AI Agents exposes public singular content at explicit `.md`
URLs. It supports normal posts and pages, Listeo listings, published Elementor
documents, WooCommerce products, and testimonials. Other public post types can
opt in by filter. The admin cache browser uses lazy keyset pagination, search,
post-type filters, and cache-status filters.

There is one cache model: a hit reads a ready file from uploads; a miss renders
Markdown in the same PHP request, returns it immediately, and saves it
atomically. Saving content invalidates and refreshes its cached document.

The optional manual preload runs in small background batches through Action
Scheduler when available and otherwise through WP-Cron.

== Hosting ==

The `.md` URL is a normal WordPress rewrite endpoint. Cache files live under
an unguessable plugin directory below `wp-content/uploads/`, but their physical
uploads URL is not the public contract. Standard WordPress server configurations
need no custom snippet; unknown `.md` routes must reach WordPress.
When an unusual server rule intercepts `.md`, append
`?lismfa_markdown=1` to the normal HTML permalink. The fallback is private and
no-store so it cannot collide with the HTML cache key.

Explicit `.md` URLs are the reliable interface. Negotiated Markdown is marked
private/no-store so it cannot poison the HTML page-cache key. Negotiation remains
best-effort when a page cache or CDN responds before WordPress.

== Privacy ==

Only published, password-free, publicly viewable content is eligible. Common
SEO noindex settings are respected. Cart, checkout, account and shop archive
pages, the posts archive, attachments, Elementor templates, and Listeo ads are
excluded. Forms and executable embeds
are removed from Elementor output. The listing renderer excludes private
booking, payment, package, message, rejection, and email data. Product output
never includes orders, customers, downloads, raw stock quantity, or sessions.
Access-control plugins with custom protection can deny a post through the
`lismfa_is_public_post` filter.

== WP-CLI ==

`wp listeo-markdown preload [--force]`

`wp listeo-markdown generate <post-id>`

== Changelog ==

= 1.0.0 =
* First stable release.
* Move the settings screen under the Listeo Core menu.

= 0.2.0 =
* Replace generation strategies with synchronous cold generation plus optional manual preload.
* Store cache files under uploads and remove required server configuration.
* Add posts, pages, opt-in public CPTs, Elementor, WooCommerce products, and a collision-free front-page twin.

= 0.1.0 =
* Initial local development version.
