scrape v3.0.1 Scrape.IR.Feed
Link to this section Summary
Functions
Extract the (best) description from the feed.
Returns the list of all feed items.
Extract the (best) title from the feed.
Extract the website_url from the feed.
Link to this section Functions
Link to this function
description(feed)
Extract the (best) description from the feed.
Example
iex> Feed.description("<feed><description>abc</description></feed>")
"abc"
Link to this function
items(feed)
Returns the list of all feed items.
Example
iex> Feed.items("<feed><entry><title>abc</title></entry></feed>")
[%{"title" => "abc"}]
Link to this function
title(feed)
Extract the (best) title from the feed.
Example
iex> Feed.title("<feed><title>abc</title></feed>")
"abc"
Link to this function
website_url(feed)
Extract the website_url from the feed.
Example
iex> Feed.website_url("<feed><link href='http://example.com' /></feed>")
"http://example.com"