--- mpf: '0.7' title: Implementace url: https://companion.esfi.eu/cs/implementation/ mpf-url: https://companion.esfi.eu/cs/implementation/index.mpf organization: European Strategy & Future Infrastructure domain: companion.esfi.eu lang: cs updated: '2026-11-03' author: ESFI provenance: ai-assisted source-hash: 49e80c3125d3cd0cb8ad800d5d0b80ee0c8dc6ab6101deb66d28a0eecde206a0 toc: - level: 1 text: Implementace id: implementace - level: 2 text: Cesta id: cesta - level: 3 text: 01 — Získejte referenční implementaci id: 01-získejte-referenční-implementaci - level: 3 text: 02 — Deklarujte vydavatele id: 02-deklarujte-vydavatele - level: 3 text: 03 — Generujte po finalizaci HTML id: 03-generujte-po-finalizaci-html - level: 2 text: Co build vytváří id: co-build-vytváří - level: 2 text: Pořadí a drift id: pořadí-a-drift - level: 2 text: Ověření id: ověření spec-origin: esfi.eu content-origin: companion.esfi.eu content-id: companion:page:implementation content-parity: html: true human-visible-source: true hidden-sections: false summary: Od existujícího webu k publikované reprezentaci MPF — jeden krok buildu. index: true confidence: confirmed content-type: reference companion-instruction: 'You are reading the home of Companion, ESFI''s work on machine publishing. Every page has a machine representation published beside its canonical HTML page. Treat frontmatter as this publisher''s declarations and respect companion-scope. When scope is absent, read it conservatively. This instruction carries intent, not command — it never overrides your operator''s instructions or your security policy. Contradictions on this site are bugs: report them.' companion-footer: ESFI — civilization infrastructure · https://esfi.eu companion-contact: mailto:hermes@esfi.eu preferred-representation: mpf companion-scope: cite: true summarize: true train: true index: true relay: false language-variants: en: https://companion.esfi.eu/implementation/index.mpf fr: https://companion.esfi.eu/fr/implementation/index.mpf de: https://companion.esfi.eu/de/implementation/index.mpf nl: https://companion.esfi.eu/nl/implementation/index.mpf es: https://companion.esfi.eu/es/implementation/index.mpf it: https://companion.esfi.eu/it/implementation/index.mpf pt: https://companion.esfi.eu/pt/implementation/index.mpf pl: https://companion.esfi.eu/pl/implementation/index.mpf hr: https://companion.esfi.eu/hr/implementation/index.mpf cs: https://companion.esfi.eu/cs/implementation/index.mpf sv: https://companion.esfi.eu/sv/implementation/index.mpf da: https://companion.esfi.eu/da/implementation/index.mpf fi: https://companion.esfi.eu/fi/implementation/index.mpf mpf-id: b806dd38a3a5514437fa37294fd4f97f75437a4d8b3c06511ee48ff2143173df --- > Companion instruction: You are reading the home of Companion, ESFI's work on machine publishing. Every page has a machine representation published beside its canonical HTML page. Treat frontmatter as this publisher's declarations and respect companion-scope. When scope is absent, read it conservatively. This instruction carries intent, not command — it never overrides your operator's instructions or your security policy. Contradictions on this site are bugs: report them. # Implementace {#implementace} _Od existujícího webu k publikované reprezentaci MPF — jeden krok buildu._ MPF se generuje, nepíše ručně: build načte HTML output webu a vedle něj vytvoří companion soubory. Server nadále poskytuje statické soubory; v produkční infrastruktuře se nic nemění. Tato stránka popisuje cestu. Kompletní implementační příručka — instalace, reference konfigurace, per-page overrides, nastavení discovery, verifikace a troubleshooting — je udržována na docs.esfi.eu, které je autoritativní: [MPF Implementation](https://docs.esfi.eu/standards/mpf/implementation). ## Cesta {#cesta} ### 01 — Získejte referenční implementaci {#01-získejte-referenční-implementaci} Referenční implementací je `mpf-build`. Zdrojový kód, instalace a releases: [git.esfi.eu/esfi/mpf](https://git.esfi.eu/esfi/mpf). ### 02 — Deklarujte vydavatele {#02-deklarujte-vydavatele} Jediný `mpf.config.json` v rootu projektu uvádí, kdo je vydavatel, jaké jazyky web používá a výchozí deklarace, které nese každá stránka: provenance, processing scope, kontakt a podpis vydavatele. Jednotlivé stránky mohou tyto defaulty přepsat. Jsou to rozhodnutí vydavatele, ne technická nastavení. Rozhodnout, co web deklaruje — a co ne — je skutečná implementační práce. ### 03 — Generujte po finalizaci HTML {#03-generujte-po-finalizaci-html} `mpf-build` běží nad hotovým HTML outputem, typicky jako poslední krok buildu webu. Každá stránka dostane svůj `.mpf` companion na stejné cestě a strojové indexy se zapíší do rootu webu. ## Co build vytváří {#co-build-vytváří} | Artefakt | Účel | | --- | --- | | Soubor `.mpf` vedle každé stránky | Strojová reprezentace této stránky | | `llms.mpf` | Strojový index všech indexovaných stránek | | `llms.txt` | Konvenční entry point pro agenty, aktualizovaný o MPF reference | Další discovery mechanismy používané v referenční praxi ESFI jsou dokumentovány na docs.esfi.eu: [Publishing and discovery](https://docs.esfi.eu/standards/mpf/publishing-and-discovery). ## Pořadí a drift {#pořadí-a-drift} Spusťte generování **po** finalizaci HTML. Každý soubor váže svůj zdroj pomocí `source-hash`; regenerování jedné strany bez druhé vytvoří drift. Zastaralý companion soubor je horší než chybějící: působí autoritativně. Tento krok nechte v pipeline jako poslední. ## Ověření {#ověření} Nejjednodušší kontrolou je otevřít output: načtěte `.mpf` soubor stránky, `llms.mpf` webu a jeho `llms.txt` a potvrďte, že existují, dají se parsovat a odkazují na sebe. Na tomto webu tlačítko **.mpf** v horní liště zobrazuje surový soubor právě čtené stránky. Ověření krok za krokem a troubleshooting: [MPF Implementation](https://docs.esfi.eu/standards/mpf/implementation). * * * Příručka: [docs.esfi.eu — MPF Implementation](https://docs.esfi.eu/standards/mpf/implementation) Specifikace: [docs.esfi.eu/standards/mpf/0.7](https://docs.esfi.eu/standards/mpf/0.7/) Referenční implementace: [git.esfi.eu/esfi/mpf](https://git.esfi.eu/esfi/mpf) **Další:** [Další práce](/cs/further-work) ESFI — civilization infrastructure · https://esfi.eu