Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Elixir library for parsing OpenGraph data (http://ogp.me)

License

NotificationsYou must be signed in to change notification settings

bitboxer/opengraph_parser

Repository files navigation

Build StatusHex.pm versionHex.pm downloads

A Elixir wrapper for theOpen Graph protocol. This is a fork ofopen_graph_extended. The main goal is tohave an active maintained version again.

Installation

The package can be installed byopengraph_parser to your list of dependencies inmix.exs:

defdepsdo[{:opengraph_parser,"~> 0.6.0"}]end

Usage

iex(2)>OpenGraph.parse("<!DOCTYPE html><html><head><meta property=\"og:title\" content=\"Some title\"></head><body><h1>Some title</h1></body></html>")%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.

About

Elixir library for parsing OpenGraph data (http://ogp.me)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp