1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright © 2023 - 2026 Static Site Generator (SSG). All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT
//! 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 `@context` from `http` to `https`.
//! - `AtomFeedPlugin` -- Generates an Atom 1.0 `atom.xml` feed from
//! `.meta.json` sidecars.
pub
pub use AtomFeedPlugin;
pub use HtmlFixPlugin;
pub use ManifestFixPlugin;
pub use NewsSitemapFixPlugin;
pub use RssAggregatePlugin;
pub use SitemapFixPlugin;