@consilioweb/payload-seo-analyzer 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -635,6 +635,7 @@ All endpoints are prefixed with the configured `endpointBasePath` (default: `/se
635
635
  | `GET` `POST` | `/alerts-digest` `/alerts-run` | Monitoring digest (opt-in `features.alerts`) — score regressions, new 404s, ranking drops via webhook/email |
636
636
  | `GET` | `/history` | Score history data for trend charts |
637
637
  | `GET` | `/sitemap-audit` | Sitemap structure audit |
638
+ | `GET` | `/sitemap.xml` `/sitemap-news.xml` `/sitemap-images.xml` `/sitemap-video.xml` | XML sitemaps (public) — standard + Google News (48h) + image + video |
638
639
  | `GET` `PATCH` | `/settings` | Read or update SEO settings |
639
640
  | `POST` | `/suggest-links` | Internal link suggestions for a page |
640
641
  | `POST` | `/create-redirect` | Create a single redirect entry |
@@ -643,6 +644,7 @@ All endpoints are prefixed with the configured `endpointBasePath` (default: `/se
643
644
  | `POST` | `/ai-rewrite` | Rewrite a single meta field (Claude if `ANTHROPIC_API_KEY` set, else heuristic) |
644
645
  | `POST` | `/ai-optimize` | **AI SEO Optimize** — scan a page, propose optimized meta (Claude Opus 4.8 by default), server-validated; applied in one click from the sidebar |
645
646
  | `GET` `POST` | `/alt-text-audit` `/ai-alt-text` | **AI image alt-text** (Claude vision, `features.aiFeatures`) — list images missing alt, generate + apply |
647
+ | `POST` | `/ai-content-brief` | **AI content brief** (`features.aiFeatures`) — outline, entities, questions, word count for a keyword |
646
648
  | `GET` | `/cannibalization` | Detect keyword cannibalization |
647
649
  | `POST` | `/external-links` | Check external link status (live HTTP checks with SSRF protection) |
648
650
  | `GET` | `/sitemap-config` | Sitemap configuration data |
@@ -710,6 +712,8 @@ function PageJsonLd({ doc }) {
710
712
 
711
713
  `buildSeoMetadata` returns a structural subset of Next's `Metadata` (assignable to it). `buildJsonLd` reuses the exact builders behind the admin schema generator (Article, Product, LocalBusiness, FAQPage, BreadcrumbList, Organization, Person, Event, Recipe, Video). Also exported: `renderJsonLdScript`, `detectSchemaType`, `getSchemaImageUrl`, `SCHEMA_TYPES`.
712
714
 
715
+ **Multi-location local SEO**: give a document a `locations[]` array (each with `name`, `address`, `geo: { latitude, longitude }`, `openingHours`, `priceRange`) and `buildJsonLd(doc, { type: 'LocalBusiness' })` emits a `@graph` of `LocalBusiness` nodes — one per establishment.
716
+
713
717
  ### Low-memory hosting (e.g. Infomaniak)
714
718
 
715
719
  The site-wide audit (`/admin/seo` dashboard) is the heaviest operation. On constrained shared Node hosting it is built **single-flight, in the background**: the first uncached load returns `202` and the dashboard shows a “generating…” state while it computes, then polls until ready — it never blocks or OOM-kills the process. Tune it via env vars if needed: