rss_flow v0.1.1 RssFlow

This module uses output provided by XmlParser, transforms it to RSS-specific format, filters it, and transforms to format that can be consumed by XmlBuilder

Summary

Functions

Filter RSS items. Filter can be applied to a map representing XML or directly to an XML string

Transform RSS-specific format to XmlBuilder format

Transform XML string or XmlParser format to RSS-specific format (a map)

Functions

filter(data, pattern)

Specs

filter(map | binary, binary) :: map

Filter RSS items. Filter can be applied to a map representing XML or directly to an XML string.

generate(data)

Specs

generate(map) :: {atom, map, list}

Transform RSS-specific format to XmlBuilder format.

parse(data)

Specs

parse(binary | {atom, map, list}) :: map

Transform XML string or XmlParser format to RSS-specific format (a map).