diff options
| author | Leitwolf11 | 2026-11-17 13:22:15 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-17 13:22:15 +0300 |
| commit | e45ac306efd73ec6a5ed37a813455da506d6aab2 (patch) | |
| tree | b64f20e0d8152553f63a235e20fd247e7e28fe5b /apps/web/app/products | |
| parent | 477625cd75db2295d0f05bce206d9ea1b5b13ef2 (diff) | |
| download | progmaweb-site/structured-data.tar.gz | |
Add llms.txt and schema.org data, and bring project facts up to datesite/structured-data
Search tools and language models describe Progmasoft from what they can
read; the site now states it plainly.
- progmasoft.com/llms.txt (llmstxt.org form, text/markdown): what
Progmasoft makes, each project with its tagline, description, language,
release or development status, license, source and site, and the
services. It is written from the product catalog, so it follows it. It
says that only the listed projects are developed and that archived
repositories and deprecated packages are not. Only progmasoft.com and
www serve it; the proxy leaves the path alone, as it does robots.txt.
- JSON-LD (components/JsonLd.tsx, with the page's nonce): Organization
and WebSite on progmasoft.com, an ItemList of the projects on the
catalog, and SoftwareSourceCode on each project page (repository,
issues, language, SPDX license URLs, creation date, status, latest
version, site, in the language of the page). `<` is escaped so no
value can close the script element.
- products.ts: Tazel, Archer and Etincelle are MIT and Catch3 is
BSL-1.0 AND LGPL-3.0-or-later; the catalog still showed the licence
with the exception that no project uses any more.
- The Catch3 entry of the catalog, in every language, no longer calls its
runner and mocks planned: both are released; the description lists
the runner, property tests, mocks, snapshots and structured results.
Tests: 49 unit tests (new: SPDX URLs, the data of every project in every
language, the catalog list, escaping, llms.txt content), tsc, eslint,
build, 140 layout tests. Checked on next start: llms.txt 200 on
progmasoft.com and 404 on the other hosts; the JSON-LD of the Catch3 page
parses.
Claude-Session: https://claude.ai/code/session_01Ji7xZMYjc4zankoc7hGBE1
Diffstat (limited to 'apps/web/app/products')
| -rw-r--r-- | apps/web/app/products/[slug]/page.tsx | 3 | ||||
| -rw-r--r-- | apps/web/app/products/page.tsx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/web/app/products/[slug]/page.tsx b/apps/web/app/products/[slug]/page.tsx index 664278b..522d8b1 100644 --- a/apps/web/app/products/[slug]/page.tsx +++ b/apps/web/app/products/[slug]/page.tsx @@ -9,9 +9,11 @@ import { formatDay, StatusBadge, } from "@/components/ProductCatalog"; +import { JsonLd } from "@/components/JsonLd"; import { getLocale } from "@/lib/locale.server"; import { forwardArrow } from "@/lib/localization"; import { getCatalogMessages, isProductSlug, products } from "@/lib/products"; +import { productData } from "@/lib/structured-data"; interface ProductPageProps { params: Promise<{ slug: string }>; @@ -52,6 +54,7 @@ export default async function ProductPage({ params }: ProductPageProps) { title={product.name} description={text.description} > + <JsonLd data={productData(slug, locale)} /> <section className="pm-section"> <div className="pm-shell pm-detail"> <div> diff --git a/apps/web/app/products/page.tsx b/apps/web/app/products/page.tsx index 38cb0a4..1c1aa53 100644 --- a/apps/web/app/products/page.tsx +++ b/apps/web/app/products/page.tsx @@ -1,6 +1,8 @@ // SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> // SPDX-License-Identifier: AGPL-3.0-or-later +import { JsonLd } from "@/components/JsonLd"; +import { catalogData } from "@/lib/structured-data"; import type { Metadata } from "next"; import Link from "next/link"; import { @@ -62,6 +64,7 @@ export default async function ProductsPage({ searchParams }: CatalogProps) { title={catalog.title} description={catalog.description} > + <JsonLd data={catalogData(locale)} /> <section className="pm-section"> <div className="pm-shell pm-index"> <dl className="pm-stats"> |