https://github.com/bitboxer/opengraph_parser
Elixir library for parsing OpenGraph data (http://ogp.me)
https://github.com/bitboxer/opengraph_parser
elixir opengraph
Last synced: 4 months ago
JSON representation
Elixir library for parsing OpenGraph data (http://ogp.me)
- Host: GitHub
- URL: https://github.com/bitboxer/opengraph_parser
- Owner: bitboxer
- License: mit
- Created: 2020-11-20T12:51:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-08T10:57:10.000Z (4 months ago)
- Last Synced: 2025-03-14T19:57:59.365Z (4 months ago)
- Topics: elixir, opengraph
- Language: Elixir
- Homepage:
- Size: 271 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: code_of_conduct.md
Awesome Lists containing this project
README
# OpenGraph
[](https://github.com/bitboxer/opengraph_parser/actions/workflows/elixir.yml)
[](https://hex.pm/packages/opengraph_parser)
[](https://hex.pm/packages/opengraph_parser)A Elixir wrapper for the [Open Graph protocol](http://ogp.me). This is a fork of
[open_graph_extended](https://framagit.org/tcit/open_graph). The main goal is to
have an active maintained version again.## Installation
The package can be installed by `opengraph_parser` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:opengraph_parser, "~> 0.6.0"}]
end
```## Usage
```elixir
iex(2)> OpenGraph.parse("Some title
")%OpenGraph{description: nil, image: nil, site_name: nil, title: "Some title",
type: nil, url: nil}
```## License
OpenGraphParser Elixir source code is licensed under the MIT License.