=== SiteAI ===
Contributors: digitalinnovations
Tags: seo, ai, content, questions, knowledge
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.9.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Help AI understand your WordPress site. Site-specific behavior is configured per installation.

== Description ==

SiteAI helps a WordPress site explain itself to AI tools that already read the public web. It installs from a ZIP, activates on a normal WordPress site, and upgrades without data loss.

Scanning, company facts, five customer questions, a 15-line knowledge sheet, question coverage, the knowledge report, and the optional public knowledge page work with no account. SiteAI Plus is $49 per year for one website and adds unlimited questions, an unlimited knowledge sheet, and an uploaded guide. Paying again adds another year. The plugin confirms a payment with the SiteAI checkout and does not send page content anywhere.

Publish knowledge is off until you turn it on in Settings. That page and its plain-text file stay on your own site. Anyone, including an AI crawler, can read them once you turn them on.

It works alongside existing SEO. The aim is AI discoverability (AEO / GEO / AIO): can machines tell what the business does, who it helps, and which questions it can answer.

== Installation ==

1. Upload the plugin ZIP through Plugins → Add Plugin → Upload Plugin.
2. Activate SiteAI.
3. Open SiteAI in the admin menu and review versions, the Business Knowledge Profile, and data-retention settings.

== Frequently Asked Questions ==

= Does SiteAI require a license key? =

The free limits work without one. SiteAI Plus is $49 per year for that website. Get Plus opens checkout. Paying again adds another year.

= Does it send my content to an AI service? =

No. This version does not call an AI provider.

= Does it change the public site? =

Only if you turn on Publish knowledge, EventSeries JSON-LD, or AI link attribution in Settings. All three are off by default. Attribution adds campaign tags inside the generated files. It does not change menus, canonical URLs, or sitemaps.

== Changelog ==

= 0.9.9 =
* Company Facts can list pages an AI should share. AI link attribution is off until Settings turns it on. llms.txt and the knowledge page then add separate campaign tags to same-site visitor links.

= 0.9.8 =
* SiteAI Plus is $49 per year for one site. Get Plus opens Stripe Checkout. Paying again adds another year.

= 0.9.7 =
* Home explains what SiteAI is for. Coverage, the activity log, and tools move out of the main menu. The last scan time uses the site timezone.

= 0.9.6 =
* Customer Questions shows the 5 free slots beside SiteAI Plus, which is unlimited.

= 0.9.5 =
* SiteAI Plus turns on from a license pasted in Settings. The license works only on the website it was issued for.

= 0.9.4 =
* Plugin Check fixes: public pages escape their text, admin input is sanitized, and database queries identify tables with placeholders.

= 0.9.3 =
* Free sites publish company facts, llms.txt, 5 customer questions, and a 15-line knowledge sheet. Adding more, and uploaded guides, require SiteAI Plus.

= 0.9.2 =
* Preview of llms.txt opens inside SiteAI instead of leaving the admin.

= 0.9.1 =
* Admin screens are Home, Company Facts, Customer Questions, Sources, and Settings.

= 0.9.0 =
* The plugin folder slug is site-ai. The name in WordPress stays SiteAI.
* The knowledge report downloads with no license key. Settings no longer asks for a license, a payment provider, or usage tracking.

= 0.8.0 =
* The plugin runs without a license key. Scan, profile, knowledge, coverage, and the public knowledge page stay available.
* Settings can store a license endpoint and activate a key. The key is kept out of exports. Paid extras stay off until that endpoint accepts the key.
* Tools can download a plain-text knowledge report after a valid license. That download is the paid extra.

= 0.7.3 =
* Admin screens use clearer cards, type, and spacing. The scanner shows a count, a progress panel, and a calmer results table. Scanning itself is unchanged.

= 0.7.2 =
* A knowledge sheet can include questions. A line ending with ? starts a question, and the lines under it are the answer. Those pairs show up under Answer a question. A question can also be added on that screen.

= 0.7.1 =
* Business Knowledge Profile can fill its empty fields from the latest scan. Text already saved is left in place. Audience, locations, and differentiators are not guessed.

= 0.7.0 =
* Publish knowledge is off by default. When turned on, the business profile (except internal notes), knowledge sheet, uploaded guide, saved answers, and links to published pages are available on a public page and a plain-text file. No AI provider is called.

= 0.6.0 =
* Each Business Profile question can be answered on the Knowledge screen. A saved answer marks that question answered in Coverage, even when no page contains the words. Uploading a guide is unchanged. Suggested answers wait for an AI provider.

= 0.5.0 =
* Knowledge sheet and an uploaded .txt or .md guide are owner-supplied truth. Coverage can match questions against them as well as scanned pages. The yes/no interview is not included.

= 0.4.0 =
* Knowledge graph stores a valid weekly EventSeries from the post editor and the Business Profile.
* Public JSON-LD is off until enabled. Yoast or Rank Math receives the series; otherwise SiteAI prints one block. An invalid join URL publishes nothing.

= 0.3.2 =
* The scanner reads up to 200 published items per pass and continues on its own, with a progress bar. A large site may take more than one pass.

= 0.3.1 =
* Coverage lists gaps first and names the words still missing. A page is Covered only when every important word in the question is on that page.
* A new scan stores the readable page text, not only a short excerpt.

= 0.3.0 =
* Question coverage compares Business Profile questions with scanned titles, headings, and excerpts. It does not call an AI or change the public site.

= 0.2.2 =
* Scan filter no longer uses the reserved post_type query parameter, which made WordPress refuse to load the Scan screen.
* Admin menu icon is a diamond mark instead of the search magnifying glass.

= 0.2.1 =
* Scanner excerpts and word counts keep the readable text and drop page-builder shortcode attributes.
* The stored-item count is read with a prepared query so it matches the rows in the table.

= 0.2.0 =
* Scanner reads published content for the post types selected in Settings. It stores titles, links, headings, and excerpts. It does not change the public site or the Business Profile.

= 0.1.1 =
* Display name is SiteAI. Technical slug remains discovery-engine so existing installs upgrade in place.

= 0.1.0 =
* Foundation: activation, Business Knowledge Profile, activity log, debug mode, export/import, and provider abstractions. Licensing, updates, and telemetry are not active.
