You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Inhji Y. bed84f8952 update to use floki 0.26 1 month ago
config Initial commit :hatching_chick: 3 years ago
lib update to use floki 0.26 1 month ago
test update to use floki 0.26 1 month ago
.gitignore ignore iml 2 years ago
.gitlab-ci.yml Several improvements and API changes 2 years ago
LICENSE Initial commit :hatching_chick: 3 years ago
README.md update readme 2 years ago
mix.exs update to use floki 0.26 1 month ago
mix.lock update to use floki 0.26 1 month ago

README.md

OpenGraph

A Elixir wrapper for the Open Graph protocol.

Installation

The package can be installed as:

  1. Add open_graph_extended to your list of dependencies in mix.exs:
def deps do
  [{:open_graph_extended, "~> 0.1.0"}]
end

Usage

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}

License

OpenGraphExtended Elixir wrapper source code is licensed under the MIT License.