Skip to content
/ linkser Public

Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.

License

Notifications You must be signed in to change notification settings

ging/linkser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linkser

Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.

Installation

Add to your Gemfile gem 'linkser' and bundle update

Using Linkser

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

About

Linkser is a link parser for Ruby. It gets an URI, tries to dereference it and returns the relevant information about the resource.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages