Expand description
Post-processing fixes for staticdatagen output. Post-processing plugins that fix staticdatagen output.
These plugins run in the after_compile phase to sanitise XML feeds,
sitemaps, manifests, and HTML output produced by the upstream
staticdatagen crate.
SitemapFixPlugin– Fixes 1, 2, 10: duplicate XML declarations, double-slash URLs, and per-page lastmod dates.NewsSitemapFixPlugin– Fix 3: populates news-sitemap entries from front-matter metadata.RssAggregatePlugin– Fix 4: aggregates per-page RSS items into the root feed.ManifestFixPlugin– Fix 8: word-boundary-safe description truncation.HtmlFixPlugin– Fix 9: repairs broken.class=image syntax and Fix 7: upgrades JSON-LD@contextfromhttptohttps.AtomFeedPlugin– Generates an Atom 1.0atom.xmlfeed from.meta.jsonsidecars.
Structs§
- Atom
Feed Plugin - Generates an Atom 1.0
atom.xmlfeed from.meta.jsonsidecars. - Html
FixPlugin - Repairs HTML output:
- Manifest
FixPlugin - Fixes manifest.json description truncation by using full text or word-boundary-safe truncation at 200 characters.
- News
Sitemap FixPlugin - Repairs news-sitemap.xml by populating entries from front-matter metadata instead of using placeholder values.
- RssAggregate
Plugin - Aggregates per-page RSS items into the root
rss.xmlfeed. - Sitemap
FixPlugin - Repairs sitemap.xml by removing duplicate XML declarations, normalising double-slash URLs, and updating per-page lastmod dates.