Plug-in for Octopress, Jekyll or just plain Liquid to generate a list of your last checked movies on iCheckMovies. It uses images & information from The MovieDB via their API and displays it in place of the tag.
Copy icheckmovies.rb
and icheckmovies.html
to your Jekyll or Octopress plug-ins folder.
Run gem install nokogiri
or add gem 'nokogiri'
to your Gemfile.
First, make sure that you made your list of checked movies public in your profile. Go to the settings page and set Movie checks to public.
Simple usage (shows 4 movies): {% my_movies your_username %}
Extended usage: {% my_movie max: 10, username: your_username, ... %}
Available options:
max: 5
: The number of movies that you want to show. (default: 4)username: ...
: Your user name at iCheckMovies.com. (required when using extended options)cache: true|false
: Use caching of TMDB calls, preventing repeated web calls for previously retrieved movies. (default: true)size: xsmall|small|normal|large|xlarge
: The size of the movie-posters to be used. (default: normal)tmdb_api_key: ...
: Your TMDB api key if you are not not using the default one.
Licensed under the MIT license.
Created by Maarten van Grootel