charge/rss
Types
pub type RSSFeed {
RSSFeed(title: String, description: String, base_url: String)
}
Constructors
-
RSSFeed(title: String, description: String, base_url: String)
pub type RSSItem {
RSSItem(
title: String,
path: fs.SitePath,
description: option.Option(String),
date: option.Option(date.IsoDate),
content: option.Option(element.ElementTree),
)
}
Constructors
-
RSSItem( title: String, path: fs.SitePath, description: option.Option(String), date: option.Option(date.IsoDate), content: option.Option(element.ElementTree), )
Values
pub fn with_rss(
pipeline: charge.Pipeline(a, b),
feed: RSSFeed,
get_item: fn(b, charge.HTMLFile) -> option.Option(RSSItem),
) -> charge.Pipeline(a, b)