[−][src]Function bloguen::ops::feed_type_post_header
pub fn feed_type_post_header<W, E, Tz>(
kind: &FeedType
) -> fn(post_name: &str, post_id_name: &str, language: &LanguageTag, author: &str, base: &str, link: &str, post_date: &DateTime<Tz>, into: &mut W, out_name_err: E) -> Result<Cow<'static, str>, Error> where
Tz: TimeZone,
W: Write,
E: Into<Cow<'static, str>>,
Get the correct feed output funxion for the specified feed kind.
Returns feed_rss_post_header()
for FeedType::Rss
,
and feed_atom_post_header()
for FeedType::Atom
.