Gems Ruby For Website Movies
With this the article, I want to show my experience with ruby on rails to make website movie, in the base ruby on rails provide the many gems, however maybe some of them you need to know, and how to use it for your website movie. However it is tip for you guy if you want to start up website ...
With this the article, I want to show my experience with ruby on rails to make website movie, in the base ruby on rails provide the many gems, however maybe some of them you need to know, and how to use it for your website movie.
However it is tip for you guy if you want to start up website movie and code it with ruby on rails.
Google API
I recommend you to use one gem it call: gem "google-api-client", it allows you to uploads your file movie to google drive. Google Drive is the best place for your storage file videos. with this gem also allow you get all information as below:
- File id
- Progress status file
OSDb
Provide you to get subtitle for you video file, with api of website open subtitle . You can get install gem install osdb, you don't worries the wrong subtitle that you get fromt that website becasuse gem osdb will check your hash of your video file that allow remote from api of open subtitle to understand what is subtitle that belong to your video file.
IMDB
Provide you to get information of the movie from database of imdb, however this gem already alert warning to use. But you still use it for search the movie by title, get genre, ploster of movies. To get install gem install imdb.
Mechanize
Yes, !!!! This one I really love it, allows to create your own api for movie website, crawl the links movies from other website. To get install gem install mechanize .
Rest Client
With this gem it mostly the same of mechanize, but you can image that mechanize is used for crawling website, but you use othe api for get links movies from your google drive. you need to use rest-client is the better one. To get install gem install rest-client.
Impressionist
With this gem you can get impression of view page, sometime with this gem is very bad if you don't know to config. but i recommend you to read documents of this gem clearly first before you use i. To get install gem install impressionist.
Conclusion
With this article, it is just some idea for you guy if you are a begginer with website movie. I hope you it can help to create the better website movie, however no body is perfect. The greate of the work is from your coding