save_and_present
Write the completed article package to a timestamped folder and return all file paths, including paste-ready HTML, preview page, JSON-LD, image, meta, and audit report.
Instructions
Step 11. Write the finished package to disk and return the paths.
Produces a timestamped folder containing paste-into-blogger.html (both
JSON-LD blocks plus the styled body - the file to paste into the post
editor), index.html (a standalone preview page with meta, canonical, Open
Graph and Twitter tags in the head), body.html, newsarticle.jsonld,
faqpage.jsonld, a copy of the image, meta.json, report.md, and - when pack
from build_publishing_pack is supplied - publish-pack.md with the title,
labels, permalink and Gemini image prompt.
report.md is the human-readable summary: verification verdict and
publishers, human score before and after humanising, SEO score with any
must-fix items, and the reference list. Populate meta with keys
verification, human_score ({before, after, detector_used,
is_real_detector}), seo and references and they all appear in it.
Pass the meta dict that build_schema returned - canonical_url, image_url and
the rest are read from it when not given explicitly. Put the verification
result, both human scores, the SEO audit and the reference list in meta so the
post stays auditable later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| pack | No | ||
| slug | Yes | ||
| title | No | ||
| language | No | ||
| html_body | Yes | ||
| image_url | No | ||
| image_path | No | ||
| description | No | ||
| json_ld_faq | No | ||
| canonical_url | No | ||
| json_ld_article | No |