Récupère les 3 numéros de Gong-Information depuis l'API Strapi

Les documents réels du GONG (journal Gong-Information) vivaient uniquement sur
l'API Strapi en ligne (api.gong.gp), pas dans le dépôt. Ils sont maintenant
récupérés et intégrés en dur (le back-office Strapi peut être définitivement retiré) :

- n° 16 (Mai-Juin 1966), n° spécial (Janv-Fév 1967), n° 19 (Mars-Avril-Mai 1967).
- Transcription intégrale (contenu first-party) + couverture optimisée WebP (~40 Ko).
- Scans PDF recompressés via Ghostscript (176 Mo → 28 Mo, 150 dpi lisibles).
- Nouvelle section /archives (index + fiche par numéro), schema Article/CreativeWork.
- Liens depuis nav, footer, accueil, publications ; ajout au sitemap ; PWA globIgnores.

npm run check : 0/0 · build : 32 pages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sucupira
2026-07-25 00:31:39 -04:00
co-authored by Claude Opus 4.8
parent 9669edf8bc
commit 8ba1c2757a
20 changed files with 367 additions and 2 deletions
+5
View File
@@ -1,5 +1,6 @@
import { SITE, membres } from '$lib/data/gong';
import { getActualites } from '$lib/server/actualites';
import { getArchives } from '$lib/server/archives';
export const prerender = true;
@@ -12,6 +13,7 @@ const statiques: { path: string; priority: string; changefreq: string }[] = [
{ path: '/ideologie/', priority: '0.7', changefreq: 'yearly' },
{ path: '/heritage/', priority: '0.7', changefreq: 'yearly' },
{ path: '/publications/', priority: '0.6', changefreq: 'yearly' },
{ path: '/archives/', priority: '0.8', changefreq: 'yearly' },
{ path: '/charte/', priority: '0.7', changefreq: 'yearly' },
{ path: '/orientation/', priority: '0.7', changefreq: 'yearly' },
{ path: '/sources/', priority: '0.6', changefreq: 'yearly' },
@@ -36,6 +38,9 @@ export function GET() {
for (const a of getActualites()) {
urls.push(`<url><loc>${SITE.url}/actualites/${a.slug}/</loc><lastmod>${a.iso}</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url>`);
}
for (const a of getArchives()) {
urls.push(`<url><loc>${SITE.url}/archives/${a.slug}/</loc><lastmod>${a.iso}</lastmod><changefreq>yearly</changefreq><priority>0.6</priority></url>`);
}
const xml = `<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">