Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T00:44:28.000Z (3 months ago)
- Last Synced: 2024-09-28T21:34:30.673Z (3 months ago)
- Topics: elixir, opengraph
- Language: Elixir
- Homepage:
- Size: 248 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: code_of_conduct.md
Awesome Lists containing this project
README
# OpenGraph
[![Build Status](https://github.com/bitboxer/opengraph_parser/actions/workflows/elixir.yml/badge.svg?branch=main)](https://github.com/bitboxer/opengraph_parser/actions/workflows/elixir.yml)
[![Hex.pm version](https://img.shields.io/hexpm/v/opengraph_parser.svg)](https://hex.pm/packages/opengraph_parser)
[![Hex.pm downloads](https://img.shields.io/hexpm/dt/opengraph_parser.svg)](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.