=== IMDb Markup Syntax === Contributors: HenrikRoos Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YRT2ALPQH42N4 Tags: IMDb, Movie, Review, API, Markup, Syntax, Clean Requires at least: 3.3 Tested up to: 4.0 Stable tag: 2.2 License: GPL-3.0 License URI: http://opensource.org/licenses/gpl-3.0.html Add IMDb syntax functionallity in your post. Enter simple tags and this plugin replace with IMBb data direct from IMDb Mobile Applications. == Description == This plugin makes it possible to insert movie data in your text from the IMDb Web Service which is the same datasource that IMDb:s Mobile apps is using [IMDb Mobile Applications](http://app.imdb.com). The plugin is * **Stable:** over 120 unit test. * **Clean:** no configuration, well integrated to WordPress API, no checkstyle errors. * **Fast:** No extra database writes, using only filter hooks (no actions hooks). IMDb DataSource is an RESTful interface. * **Internationalizing:** Support for locale from IMBb datasource, date format and number format. * **Error handling:** Well design and well tested error handling. = Simple example = In post *edit* mode you write: [imdb:id(tt0110912)] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis eros non dui porta tincidunt. Nulla ut mi eget justo ultrices auctor sed in lacus. Title: [imdb:title] Release Date: [imdb:date] Vivamus id sem felis. Donec consequat urna et sapien gravida bibendum sed ut orci. Donec eu nibh leo. Etiam hendrerit justo eget est vehicula eu ornare dolor vulputate. **After** you save it is transform to: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis eros non dui porta tincidunt. Nulla ut mi eget justo ultrices auctor sed in lacus. Title: Pulp Fiction Release Date: 1994-10-14 Vivamus id sem felis. Donec consequat urna et sapien gravida bibendum sed ut orci. Donec eu nibh leo. Etiam hendrerit justo eget est vehicula eu ornare dolor vulputate. = Set language for a set av tags = In post *edit* mode you write: [imdb:id(tt0110912)] [imdb:locale(de_DE)] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis eros non dui porta tincidunt. Nulla ut mi eget justo ultrices auctor sed in lacus. Title: [imdb:title] Release Date: [imdb:date] [imdb:id(tt0110912)] [imdb:locale(es)] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum venenatis eros non dui porta tincidunt. Nulla ut mi eget justo ultrices auctor sed in lacus. Title: [imdb:title] Release Date: [imdb:date] = List of movies = In post *edit* mode you write: [imdb-WhatIf:id(tt1486834)] [imdblive-WhatIf:id(tt1486834)]
| Tag description | imdb tag (static) | imdblive tag (dynamic) |
|---|---|---|
| Cast (A list of main actors) | [imdb:cast] | [imdblive:cast] |
| Cast (A list of main actors) no link | [imdb:cast_nolink] | [imdblive:cast_nolink] |
| Certificate (Recommended age in your country) | [imdb:certificate] | [imdblive:certificate] |
| Date (The day when a movie is shipped to exhibitors in your country) | [imdb:date] | [imdblive:date] |
| Directors (The principal creative artist on a movie set) | [imdb:directors] | [imdblive:directors] |
| Directors (The principal creative artist on a movie set) no link | [imdb:directors_nolink] | [imdblive:directors_nolink] |
| Genres (One or more genres for current movie) | [imdb:genres] | [imdblive:genres] |
| Plot (Description) | [imdb:plot] | [imdblive:plot] |
| Poster (Current movie poster image from your lib) | [imdb:poster] |
N/A |
| Poster (Current movie poster image from your lib) no link | [imdb:poster_nolink] |
N/A |
| Poster Remote (Current movie poster image direct linked from imdb server) no link | [imdb:posterRemote_nolink] | [imdblive:posterRemote_nolink] |
| Poster Remote (Current movie poster image direct linked from imdb server) | [imdb:posterRemote] | [imdblive:posterRemote] |
| Rating (Rating scale from 1 to 10 with one decimal) | [imdb:rating] | [imdblive:rating] |
| Runtime (Runtime in minutes for current movie) | [imdb:runtime] | [imdblive:runtime] |
| Tagline (Branding slogan) | [imdb:tagline] | [imdblive:tagline] |
| Tconst (IMDb ID) | [imdb:tconst] | [imdblive:tconst] |
| Title (Prefered in your language) | [imdb:title] | [imdblive:title] |
| Title (Prefered in your language) no link | [imdb:title_nolink] | [imdblive:title_nolink] |
| Type (IMDb classifies) | [imdb:type] | [imdblive:type] |
| Votes (Number of votes from imdb members) | [imdb:votes] | [imdblive:votes] |
| Writers (Someone who creates a written work) | [imdb:writers] | [imdblive:writers] |
| Writers (Someone who creates a written work) no link | [imdb:writers_nolink] | [imdblive:writers_nolink] |
| Year (Publication year) | [imdb:year] | [imdblive:year] |
[imdb:poster_nolink]
Current movie poster image download automatic to your WordPress Media Library and display image as medium size from library. Without link to imdb.*
[imdb:posterRemote] or [imdblive:posterRemote]
Current movie poster image direct linked from server (remote). No locale savings!*
[imdb:posterRemote_nolink] or [imdblive:posterRemote_nolink]
Current movie poster image direct linked from server (remote). No locale savings! Without link to imdb*
[imdb:rating] or [imdblive:rating]
Rating scale from 1 to 10 with one decimal where 10 is best.