|
11 months ago | |
---|---|---|
config | 4 years ago | |
lib | 11 months ago | |
test | 11 months ago | |
.gitignore | 2 years ago | |
.gitlab-ci.yml | 3 years ago | |
LICENSE | 4 years ago | |
README.md | 3 years ago | |
mix.exs | 11 months ago | |
mix.lock | 11 months ago |
A Elixir wrapper for the Open Graph protocol.
The package can be installed as:
open_graph_extended
to your list of dependencies in mix.exs
:def deps do
[{:open_graph_extended, "~> 0.1.0"}]
end
iex(2)> OpenGraphExtended.parse("<!DOCTYPE html><html><head><meta property=\"og:title\" content=\"Some title\"></head><body><h1>Some title</h1></body></html>")
%OpenGraphExtended{description: nil, image: nil, site_name: nil, title: "Some title",
type: nil, url: nil}
OpenGraphExtended Elixir wrapper source code is licensed under the MIT License.