Wordpress plugins
IMDb Markup Syntax

IMDb Markup Syntax

Version : 2.5
Tested up to : 4.2.16
Number of download : 6472
Author : Henrik Roos
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

IMDb Markup Syntax
IMDb Markup Syntax
IMDb Markup Syntax
IMDb Markup Syntax

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. 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)] <h1>[imdb-WhatIf:title_nolink]</h1> Ratings: [imdblive-WhatIf:rating]/10 from [imdblive-WhatIf:votes] users <div>[imdb-WhatIf:poster]</div> [imdb-AboutAlex:id(tt2667918)] [imdblive-AboutAlex:id(tt2667918)] <h1>[imdb-AboutAlex:title_nolink]</h1> Ratings: [imdblive-AboutAlex:rating]/10 from [imdblive-AboutAlex:votes] users <div>[imdb-AboutAlex:poster]</div> All tags example This example display all implements tags in one post. For you own test: cut and paste this example in a new post and save it. [imdb:id(tt1951264)] [imdblive:id(tt1951264)] <table> <tr> <th>Tag description</th> <th>imdb tag (static)</th> <th>imdblive tag (dynamic)</th> </tr> <tr> <td>Cast (A list of main actors)</td> <td>[imdb:cast]</td> <td>[imdblive:cast]</td> </tr> <tr> <td>Cast (A list of main actors) no link</td> <td>[imdb:cast_nolink]</td> <td>[imdblive:cast_nolink]</td> </tr> <tr> <td>Certificate (Recommended age in your country)</td> <td>[imdb:certificate]</td> <td>[imdblive:certificate]</td> </tr> <tr> <td>Date (The day when a movie is shipped to exhibitors in your country)</td> <td>[imdb:date]</td> <td>[imdblive:date]</td> </tr> <tr> <td>Directors (The principal creative artist on a movie set)</td> <td>[imdb:directors]</td> <td>[imdblive:directors]</td> </tr> <tr> <td>Directors (The principal creative artist on a movie set) no link</td> <td>[imdb:directors_nolink]</td> <td>[imdblive:directors_nolink]</td> </tr> <tr> <td>Genres (One or more genres for current movie)</td> <td>[imdb:genres]</td> <td>[imdblive:genres]</td> </tr> <tr> <td>Plot (Description)</td> <td>[imdb:plot]</td> <td>[imdblive:plot]</td> </tr> <tr> <td>Poster (Current movie poster image from your lib)</td> <td><div>[imdb:poster]</div></td> <td>N/A</td> </tr> <tr> <td>Poster (Current movie poster image from your lib) no link</td> <td><div>[imdb:poster_nolink]</div></td> <td>N/A</td> </tr> <tr> <td>Poster Remote (Current movie poster image direct linked from imdb server) no link</td> <td>[imdb:posterRemote_nolink]</td> <td><div>[imdblive:posterRemote_nolink]</div></td> </tr> <tr> <td>Poster Remote (Current movie poster image direct linked from imdb server)</td> <td>[imdb:posterRemote]</td> <td><div>[imdblive:posterRemote]</div></td> </tr> <tr> <td>Rating (Rating scale from 1 to 10 with one decimal)</td> <td>[imdb:rating]</td> <td>[imdblive:rating]</td> </tr> <tr> <td>Runtime (Runtime in minutes for current movie)</td> <td>[imdb:runtime]</td> <td>[imdblive:runtime]</td> </tr> <tr> <td>Tagline (Branding slogan)</td> <td>[imdb:tagline]</td> <td>[imdblive:tagline]</td> </tr> <tr> <td>Tconst (IMDb ID)</td> <td>[imdb:tconst]</td> <td>[imdblive:tconst]</td> </tr> <tr> <td>Title (Prefered in your language)</td> <td>[imdb:title]</td> <td>[imdblive:title]</td> </tr> <tr> <td>Title (Prefered in your language) no link</td> <td>[imdb:title_nolink]</td> <td>[imdblive:title_nolink]</td> </tr> <tr> <td>Type (IMDb classifies)</td> <td>[imdb:type]</td> <td>[imdblive:type]</td> </tr> <tr> <td>Votes (Number of votes from imdb members)</td> <td>[imdb:votes]</td> <td>[imdblive:votes]</td> </tr> <tr> <td>Writers (Someone who creates a written work)</td> <td>[imdb:writers]</td> <td>[imdblive:writers]</td> </tr> <tr> <td>Writers (Someone who creates a written work) no link</td> <td>[imdb:writers_nolink]</td> <td>[imdblive:writers_nolink]</td> </tr> <tr> <td>Year (Publication year)</td> <td>[imdb:year]</td> <td>[imdblive:year]</td> </tr> </table> Markup Syntax [imdb:id(tt0000000)] Set the current movie. All tags starting with [imdb use this id. This ID disappearance when you save the post into your database. [imdblive:id(tt0000000)] Set the current movie. All tags starting with [imdblive use this id. This ID disappearance when you read the post from your database. [imdb:locale(en)] or [imdblive:locale(sv_se)] Set the current language in standard RFC 4646. All tags starting with [imdb [imdblive use this language (if imdb.com support that). [imdb:cast] or [imdblive:cast] A list of main actors (Updated 2.5). Example:Elijah Wood Frodo BagginsIan McKellen Gandalf the GreyOrlando Bloom Legolas GreenleafSean Bean Boromir [imdb:cast_nolink] or [imdblive:cast_nolink] A list of main actors with no links (Required 2.0, Updated 2.5). Example:Elijah Wood, Ian McKellen, Orlando Bloom, Sean Bean [imdb:certificate] or [imdblive:certificate] Various countries or regions have film classification boards for reviewing movies and rating their content in terms of its suitability for particular audiences. For many countries, movies are required to be advertised as having a particular “certificate” or “rating”, forewarning audiences of possible “objectionable content”. The nature of this “objectionable content” is determined mainly by contemporary national, social, religious, and political standards. The usual criteria which determine a film’s certificate are violence and sexuality, with “mature” (adult) situations and especially blasphemy and political issues often being considered more important outside the Western world. This is by no means a hard and fast rule; see the Hays Production Code for an example. In some cases, a film classification board exhibits censorship by demanding changes be made to a movie in order to receive a certain rating. As many movies are targeted at a particular age group, studios must balance the content of their films against the demands of the classification board. Negotiations are common; studios agree to make certain changes to films in order to receive the required rating. The IMDb uses the term “Certificate” as opposed to “Rating” to avoid confusion with “ratings” meaning the opinions of critics. http://www.filmratings.com Classification and Rating Administration (CARA) NOTE: This tag has language dependency, different WordPress language different output. Example: Fight Club has certificate PG on english WordPress and 15 on swedish WordPress [imdb:date] or [imdblive:date] The day when a movie is shipped to exhibitors by the distributor, it is deemed to have been released for public viewing – there are no longer any studio restrictions on who can see the movie. If no release date is given as used publication year. NOTE: This tag has language dependency, different WordPress language different output. Example: Pulp Fiction has release date Fri Oct 14 1994 on english WordPress and Fre 25 Nov 1994 on swedish WordPress [imdb:directors] or [imdblive:directors] The principal creative artist on a movie set. A director is usually (but not always) the driving artistic source behind the filming process, and communicates to actors the way that he/she would like a particular scene played. A director’s duties might also include casting, script editing, shot selection, shot composition, and editing. Typically, a director has complete artistic control over all aspects of the movie, but it is not uncommon for the director to be bound by agreements with either a producer or a studio. In some large productions, a director will delegate less important scenes to a second unit. Example: Director of Pan’s Labyrinth is Guillermo del Toro [imdb:directors_nolink] or [imdblive:directors_nolink] The principal creative artist on a movie set. A director is usually (but not always) the driving artistic source behind the filming process, and communicates to actors the way that he/she would like a particular scene played. A director’s duties might also include casting, script editing, shot selection, shot composition, and editing. Typically, a director has complete artistic control over all aspects of the movie, but it is not uncommon for the director to be bound by agreements with either a producer or a studio. In some large productions, a director will delegate less important scenes to a second unit. Widhout link to imdb Example: Director of Pan’s Labyrinth is Guillermo del Toro [imdb:genres] or [imdblive:genres] One or more genres for current movie. http://www.imdb.com/genre IMDb list of all genres.Example: The Lord of the Rings: The Fellowship of the Ring has genres: Action, Adventure, Fantasy [imdb:plot] or [imdblive:plot] A plot summary is a description of the story in a novel, film or other piece of storytelling. It is not a review and should not contain the opinions of the author. It should contain all the necessary information about the main characters and the unfolding drama to give a complete impression of the twists and turns in the plot, but without confusing the reader with unnecessary detail. Example: Les quatre cents coups has plot: Intensely touching story of a misunderstood young adolescent who left without attention, delves into a life of petty crime. [imdb:poster] Current movie poster image download automatic to your WordPress Media Library and display image as medium size from library.Example: [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.Example: [imdb:posterRemote] or [imdblive:posterRemote] Current movie poster image direct linked from server (remote). No locale savings!Example: [imdb:posterRemote_nolink] or [imdblive:posterRemote_nolink] Current movie poster image direct linked from server (remote). No locale savings! Without link to imdbExample: [imdb:rating] or [imdblive:rating] Rating scale from 1 to 10 with one decimal where 10 is best. NOTE: This tag has language dependency, different WordPress language different output. Example: Pulp Fiction has rating 9.0 on english WordPress and 9,0 on swedish WordPress [imdb:runtime] or [imdblive:runtime] Runtime in minutes for current movie. NOTE: This tag has language dependency, different WordPress language different output. Example: The very long movie Matrjoschka has runtime 5700 min long on english WordPress and 5 700 min long on swedish WordPress [imdb:tagline] or [imdblive:tagline] A tagline is a variant of a branding slogan typically used in marketing materials and advertising. Example: Se7en has tagline Long is the way, and hard, that out of hell leads up to light. [imdb:tconst] or [imdblive:tconst] Tconst/id for current movie. Example: Se7en has Tconst tt0114369 [imdb:title] or [imdblive:title] Title for current moive with link to imdb.com. Example: Se7en has title Se7en [imdb:title_nolink] or [imdblive:title_nolink] Title for current moive without link to imdb.com. Example: Se7en has title Se7en [imdb:type] or [imdblive:type] IMDb classifies titles under one of the following types: feature short documentary video tv_series tv_special video_game Example: Game of Thrones has type tv_series [imdb:votes] or [imdblive:votes] Number of votes from imdb members for the current movie. NOTE: This tag has language dependency, different WordPress language different output. Example: Game of Thrones has votes 307,685 on english WordPress and 307 685 on swedish WordPress* [imdb:writers] or [imdblive:writers] A general term for someone who creates a written work, be it a novel, script, screenplay, or teleplay. Example: Game of Thrones has tow writers David Benioff (creator), D.B. Weiss (creator) [imdb:writers_nolink] or [imdblive:writers_nolink] A general term for someone who creates a written work, be it a novel, script, screenplay, or teleplay. Widhout link to imdb Example: Game of Thrones has tow writers David Benioff – (creator), D.B. Weiss – (creator) [imdb:year] or [imdblive:year] Publication year. Example: Pulp Fiction has publication year 1994 IMDb data copyright Limited non-commercial use of IMDb data is allowed, provided the following conditions are met: You agree to all the terms of our copyright/conditions of use statement. Please also note that IMDb reserves the right to withdraw permission to use the data at any time at our discretion. The data must be taken only direct from IMDb. You may not use data mining, robots, screen scraping, or similar online data gathering and extraction tools on our website. The data can only be used for personal and non-commercial use and must not be altered/republished/resold/repurposed to create any kind of online/offline database of movie information (except for individual personal use). Please refer to the copyright/license information enclosed in each file for further instructions and limitations on allowed usage. You must acknowledge the source of the data by including the following statement: >Information courtesy of The Internet Movie Database. Used with permission. May I use a photo from your site for my web site or publication? Most of the photos on our site are licensed to us for our own use only. We do not have the authority to sublicense them to others. Photos on our site may be licensed directly from the license holders. For photos from “our Studio Friends,” you’ll need to contact the studio or production company. We recommend contacting the publicity department for current releases and the home video department for older films. For most movies, there is a “company credits” link near the top of the lefthand column on the film’s listing. That will provide the name of the studio(s) and companies involved with making the film. Please note that many of our “posters” for older films are actually just scans of their video or DVD packaging. We cannot sublicense those images. Please contact the appropriate studio. For images from agencies like WireImage, Getty Images and MPTV, their names are linked on pages where we display their photos. Click on their names for more information about the agencies and links to their web sites where you can get licensing information. See: http://pro.imdb.com/help/show_leaf?photoslicense

Download now