IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms); past CHANGELOG entries and the proposals in docs/dev are not rewritten - AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames - iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required - env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup - skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were - reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
425fac14fb
commit
b91984fbcd
+12
-12
@@ -18,7 +18,7 @@ components and do not render without the importMap.
|
||||
## Config (payload.config.ts)
|
||||
|
||||
```ts
|
||||
ipalKit({
|
||||
iapl({
|
||||
seo: {
|
||||
collections: ['pages', 'posts'], // which collections get meta
|
||||
// generateTitle: ({ doc }) => `${doc.title}`, // optional
|
||||
@@ -761,7 +761,7 @@ import { NoSnippet } from '@intecion/ipal-kit/rsc' // in a client component: /
|
||||
- Wrap: the footer, the contact bar, a CTA section repeated on every page
|
||||
("Umów się na konsultację"). **Never `<main>`** — the snippet should come from it.
|
||||
- The plugin's components do this themselves: `CookieBanner`, `LanguageSwitcher`.
|
||||
- The effect shows after a recrawl (days–weeks). `ipal-seo-check` warns about a footer without
|
||||
- The effect shows after a recrawl (days–weeks). `iapl-seo-check` warns about a footer without
|
||||
`data-nosnippet` and about duplicated descriptions.
|
||||
|
||||
## Sitelinks — brand search signals
|
||||
@@ -1218,7 +1218,7 @@ export const dynamic = 'force-dynamic'
|
||||
- Exceptions from the panel are added to `robots.aiBotRules` from code (the panel comes last, so it wins).
|
||||
- A user agent from the panel: one token (`[\w\-.*/]`), no spaces or newlines — an entry
|
||||
"Bot\nDisallow: /" is rejected and cannot inject a rule.
|
||||
- Database unavailable → the options from code. `IPAL_NOINDEX=1` still wins over everything.
|
||||
- Database unavailable → the options from code. `IAPL_NOINDEX=1` still wins over everything.
|
||||
- `robots` (sync) stays unchanged — it ignores the panel.
|
||||
|
||||
## Sitemap — readable in the browser, zero files in the project
|
||||
@@ -1265,7 +1265,7 @@ Both are equally good for Google — it is about readability for humans, not SEO
|
||||
## Search engines — Search Console verification, AI bots, llms.txt note (1.13)
|
||||
|
||||
The **Site settings → Search engines** tab (on by default; empty fields change
|
||||
nothing; `ipalKit({ searchSettings: false })` removes it — also without `seo` (`seo: { searchSettings }` still works; the top-level option wins); the function
|
||||
nothing; `iapl({ searchSettings: false })` removes it — also without `seo` (`seo: { searchSettings }` still works; the top-level option wins); the function
|
||||
`searchSettings: (fields) => fields` gets the plugin's fields and returns your own — add, remove,
|
||||
relabel; the helpers read the names `searchVerification` / `aiCrawlers` / `llmsIntro`):
|
||||
|
||||
@@ -1416,22 +1416,22 @@ It complements Markdown/llms: the assistant extracts the page's key content more
|
||||
Metadata has an X/Twitter card, image dimensions and alt, and entries get `og:type=article` with dates.
|
||||
- **Sitemap with images** (`<image:image>`): by default the page's SEO image; your own source:
|
||||
`createContentHelpers({ sitemapImages: (doc) => [...] })`.
|
||||
- **IndexNow:** `ipalKit({ indexNow: true })` + the route `src/app/indexnow-key.txt/route.ts`
|
||||
- **IndexNow:** `iapl({ indexNow: true })` + the route `src/app/indexnow-key.txt/route.ts`
|
||||
(`createIndexNowKeyRoute`). After a page/entry is published, its addresses in all languages go to Bing &
|
||||
co. (ChatGPT Search and Copilot use Bing's index). Production with public https only.
|
||||
Key: Site integrations → IndexNow (generated on save) or `INDEXNOW_KEY`. Google does not
|
||||
support IndexNow — for Google, use the sitemap.
|
||||
Key route from `lib/content`: `export { indexNowKeyRoute as GET } from '@/lib/content'`.
|
||||
By hand (e.g. content imported by a script): `submitToIndexNow({ payload, urls })` (key: `getIndexNowKey(payload)`)
|
||||
— never throws, only logs. With `IPAL_NOINDEX=1` (staging) it sends nothing, even with
|
||||
— never throws, only logs. With `IAPL_NOINDEX=1` (staging) it sends nothing, even with
|
||||
`NODE_ENV=production` (1.13).
|
||||
- **llms.txt / llms-full.txt** cover content collection entries (`content`) and all languages; MCP
|
||||
`list_pages` too. Shared source: `collectSiteIndex`.
|
||||
|
||||
## noindex — staging, Markdown, protection (1.9.1)
|
||||
|
||||
- **`IPAL_NOINDEX=1`** in the staging/preview env: robots `Disallow: /`, `noindex, nofollow` in meta,
|
||||
`X-Robots-Tag` in `buildSecurityHeaders`. Never on production (`ipal-seo-check` reports it).
|
||||
- **`IAPL_NOINDEX=1`** in the staging/preview env: robots `Disallow: /`, `noindex, nofollow` in meta,
|
||||
`X-Robots-Tag` in `buildSecurityHeaders`. Never on production (`iapl-seo-check` reports it).
|
||||
- Markdown versions (`/md/…`) and the llms files have `X-Robots-Tag: noindex`; Markdown also has
|
||||
`Link: <html-url>; rel="canonical"` — AI reads it, Google sees no duplicates.
|
||||
- `buildNoindexField` does not allow ticking noindex on the home page and archive pages.
|
||||
@@ -1439,7 +1439,7 @@ It complements Markdown/llms: the assistant extracts the page's key content more
|
||||
|
||||
## Turn off, override, extend
|
||||
|
||||
- **Turn off the module:** leave out `seo` in `ipalKit()` — no SEO tab and no auto-fill. The Site settings →
|
||||
- **Turn off the module:** leave out `seo` in `iapl()` — no SEO tab and no auto-fill. The Site settings →
|
||||
Search engines tab stays (remove it with the top-level `searchSettings: false`). The front helpers (`buildMetadata`, `buildRobots`, the JSON-LD builders) are plain functions and work without it.
|
||||
- **Auto-fill:** `autoFill: false` turns it off; `autoFill: { title, description, content, descriptionLength }`
|
||||
remaps the source fields. Skip it for one save with `context: { [SKIP_AUTO_FILL]: true }`.
|
||||
@@ -1447,9 +1447,9 @@ It complements Markdown/llms: the assistant extracts the page's key content more
|
||||
points it at another global/field.
|
||||
- **Titles and descriptions:** `generateTitle` / `generateDescription` replace plugin-seo's generators;
|
||||
`fields` adds your own fields to the SEO group. Per page, **Exact page title** beats the composed title.
|
||||
- **Search engines tab:** `ipalKit({ searchSettings: false })` removes it (with or without `seo`); `searchSettings: (fields) => fields` adds, removes or
|
||||
- **Search engines tab:** `iapl({ searchSettings: false })` removes it (with or without `seo`); `searchSettings: (fields) => fields` adds, removes or
|
||||
relabels fields (keep `searchVerification` / `aiCrawlers` / `llmsIntro`, or read your own fields in your routes).
|
||||
- **The Site settings global itself** (where the SEO fields live): `ipalKit({ globalOverrides: { 'site-settings': … } })`
|
||||
- **The Site settings global itself** (where the SEO fields live): `iapl({ globalOverrides: { 'site-settings': … } })`
|
||||
— an object is merged over the plugin's global (`access`, `admin` and `hooks` key by key: your access rules win,
|
||||
your hooks run after the plugin's; other keys such as `fields` replace the plugin's); a function
|
||||
`(global) => global` gives full control (drop a plugin hook, append fields). The same works for
|
||||
@@ -1459,4 +1459,4 @@ It complements Markdown/llms: the assistant extracts the page's key content more
|
||||
`robots: { disallowParams, extraDisallow, adminRoute, disallow, aiBots, aiBotRules, … }`, `summaryField`,
|
||||
`pageJsonLd.entries`. Or skip the factory handlers and build your own routes from the low-level builders
|
||||
(`buildSitemapEntries`, `buildRobots`, `buildLlmsTxt`, `createSitemapRouteHandler`).
|
||||
- **IndexNow:** off unless `ipalKit({ indexNow: true })`.
|
||||
- **IndexNow:** off unless `iapl({ indexNow: true })`.
|
||||
|
||||
Reference in New Issue
Block a user