Skip to main content

Crate mdbook_rss_feed

Crate mdbook_rss_feed 

Source
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.
BuildResult
Result of building feeds for a book.
FeedPage
One generated RSS feed file.
FrontMatter
Parsed YAML frontmatter for a single chapter.
JsonFeed
JsonFeedItem

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.