module OpenGraph

Overview

TODO Write documentation for Opengraph

Extended Modules

Defined in:

opengraph.cr
opengraph/object.cr
opengraph/version.cr

Constant Summary

VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.from_url(url) #

Fetch Open Graph data from the specified url. Makes an HTTP GET request and returns an OpenGraph::Object or nil if the URL was not found.


[View source]
def self.parse(html, strict = true) #

Parse raw html either from a string or an XML::Node and return an OpenGraph::Object.


[View source]