feedex v0.0.2 Feedex.Helpers.Xml

A wrapper for erlang’s xmerl xml parser.

Link to this section Summary

Link to this section Functions

Link to this function attr(node, name)
Link to this function find(node, path)
Link to this function first(node, path)
Link to this function parse_date(str, patterns \\ ["{ISO:Extended}", "{ISO:Extended:Z}", "{ISO:Basic}", "{ISO:Basic:Z}", "{RFC1123}", "{RFC1123z}", "{RFC3339}", "{RFC3339z}", "{ANSIC}", "{UNIX}", "{RFC822}", "{RFC822z}"])
Link to this function preprocess(xml, opts \\ [quiet: true])
Link to this function without_js(text)
without_js(String.t) :: String.t

Remove all occurences of javascript using a regex.