Expand description
mdbook-rss-feed core library.
This module scans an mdBook src directory for chapters, extracts frontmatter and content, and turns them into one or more RSS 2.0 channels suitable for static hosting.
Structs§
- Article
- A chapter plus its parsed metadata.
- Build
Result - Result of building feeds for a book.
- Feed
Page - One generated RSS feed file.
- Front
Matter - Parsed YAML frontmatter for a single chapter.
- Json
Feed - Json
Feed Item
Functions§
- build_
feed - Build one or more RSS 2.0 feeds for an mdBook.
- collect_
articles - Collect all Markdown chapters under
src_dir. - parse_
markdown_ file - Parses a markdown file and returns an Article.
- rss_
to_ atom - Convert an RSS 2.0 channel into a minimal Atom 1.0 feed.
- rss_
to_ json_ feed - Convert an RSS 2.0 channel into a JSON Feed 1.1 structure.