https://github.com/ging/linkser
Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.
https://github.com/ging/linkser
Last synced: 11 months ago
JSON representation
Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.
- Host: GitHub
- URL: https://github.com/ging/linkser
- Owner: ging
- License: mit
- Created: 2011-11-14T10:53:23.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-03-24T18:59:22.000Z (about 13 years ago)
- Last Synced: 2025-05-07T21:04:31.504Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 220 KB
- Stars: 29
- Watchers: 11
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.textile
- License: LICENSE.txt
Awesome Lists containing this project
README
h1. Linkser "!https://secure.travis-ci.org/ging/linkser.png!":http://travis-ci.org/ging/linkser
Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.
h2. Installation
Add to your Gemfile @gem 'linkser'@ and @bundle update@
h2. Using Linkser
bc.. l = Linkser.parse 'https://github.com/ging/linkser'
l.title #=> "linkser"
l.description #=> "linkser - Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource."
y = Linkser.parse 'http://youtube.com/someyoutubevideo'
y.title #=> the title of the video
y.images #=> the thumbnails of the video
y.resource.url #=> the url of the video