How do you attach a link in ruby ββon rails, similar to attaching a facebook link, where you get the title and description of the link. Could you help me with the code?
You can use mechanize
my_page=Mechanize.new my_page.get("http://google.com") my_page.page.title
OR, you can use Pismo (https://github.com/peterc/pismo). Details of its use are available on github.
Source: https://habr.com/ru/post/1304478/More articles:Routing Symfony using an API web service - apiDownload the file from your Premium Rapidshare account using .NET. - c #How can I find out if the proxy server instance is MarshalByRef? - c #Simulate the login action of VBulletin using C # - c #C / iPhone goal: how to add a timer to update text? - objective-cMySQL: get the "busiest" or "most popular" hour from the datetime field? - mysqlCreating a Makefile from an Xcode Project to Port the Project to Other UNIX Systems - xcodeConvert LINQ to SQL to SQL custom method - c #Best and easiest algorithm to find the top on the chart? - cJava Proxy Servlet for sending files - javaAll Articles