PHP widget displaying "recently rated" IMDb items with templates and cache.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cache
images
includes
templates
.gitignore
LICENSE
README.md
index.php
screenshot.png

README.md

IMDb "recently rated" widget

Scrape IMDb to create a widget displaying the latest IMDb items you've rated, what score, link to it, and cover art

Project contains 2 templates, one HTML and one image; HTML widget, Image widget

IMDb my ratings widget

Article for this project (link to my blog)

Installation

  • Upload to server
  • Give write permissions on cache/ folder, .html cache will be saved there
  • Give write permissions on images/ folder, IMDb thumbnails will be saved there

GET Variables

  • debug if set, skips cache
  • t type of widget/output (1 = HTML, 2 = Image)
  • w width (default 248px for HTML, 640px for image)
  • h height (default 280px for HTML, 96px for image)
  • f image file format (only PNG for now)
  • c count of movies to show (in HTML output)
  • u IMDb profile ID or URL

Information

Set GET variable debug if you want to skip cache.

Templates

  • templates folder contains templates, here you change the appearance of the widget
  • Edit main.inc, minify it to main.min.inc and it will be used. If main.min.inc doesn't exist, main.inc is used.