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
Options - Options controlling how a feed is built.
- Feed
Page - One generated RSS feed file.
- Front
Matter - Parsed YAML frontmatter for a single chapter.
Enums§
- Feed
Error - Errors produced while collecting articles or building feeds.
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.