OpenGraph (ogp v1.0.0)
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
fetch(url)
Specs
Fetch URL and parse Open Graph protocol.
Returns %OpenGraph{}
.
Link to this function
parse(html)
Specs
Parse Open Graph protocol.
Returns %OpenGraph{}
.
Examples
iex> OpenGraph.parse("<meta property='og:title' content='GitHub' />")
%OpenGraph{title: "GitHub"}