Sha256: 109ac2fcb2bc192af393da7bc5c79cc3d07a1a4efafa87157b9ff067e0f6eb0c
Contents?: true
Size: 870 Bytes
Versions: 4
Compression:
Stored size: 870 Bytes
Contents
# HREF Preview <dl> <dt>Homepage</dt><dd><a href="https://github.com/sporkmonger/href-preview">https://github.com/sporkmonger/href-preview</a></dd> <dt>Author</dt><dd><a href="mailto:bob@sporkmonger.com">Bob Aman</a></dd> <dt>Copyright</dt><dd>Copyright © 2014 Bob Aman</dd> <dt>License</dt><dd>Apache 2.0</dd> </dl> # Description A comprehensive library for efficiently previewing links. # Features Capable of detecting: * OpenGraph metadata * Twitter metadata * Microdata metadata * Assorted microformat metadata * RDFa metadata * rel="canonical" links # Example Usage require 'href_preview' p = HRefPreview.open('http://nyti.ms/1c1zNtX') p.title # => "A Successor to Sagan Reboots ‘Cosmos’" p.description # => p.article_html p.article_text p.published p.canonical_uri # Install * gem install href-preview
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
href-preview-0.1.3 | README.md |
href-preview-0.1.2 | README.md |
href-preview-0.1.1 | README.md |
href-preview-0.1.0 | README.md |