PHP Classes

File: README

Recommend this page to a friend!
  Classes of Bernhard Essl   IMDB Parser   README   Download  
File: README
Role: Documentation
Content type: text/plain
Description: README
Class: IMDB Parser
Extract movie information from IMDB site pages
Author: By
Last change: up
Date: 13 years ago
Size: 1,802 bytes
 

Contents

Class file image Download
IMDB_Parser - parsing imdb.com site Thu Feb 21 13:52:41 CET 2008 =================================== * Intro This class parse Information like title, language, genre of a video-detail-site from the internet movie database http://www.imdb.com. * Usage first you must fetched a imdb.com-detail-site, see the examples: $imdb_website = file_get_contents ('http://imdb.com/title/tt0138704/'); Include the class.imdb_parser.php: require("classes/class.imdb_parser.php"); Create a new instance of the class: $IMDB_Parser = new IMDB_Parser; * Methods $IMDB_Parser->getMoviePictureHtml($imdb_website) $IMDB_Parser->getMovieTitle($imdb_website) $IMDB_Parser->getMovieTagline($imdb_website) $IMDB_Parser->getMoviePlot($imdb_website) $IMDB_Parser->getMovieActors($imdb_website) $IMDB_Parser->getMovieActors($imdb_website, $name_and_id=True) $IMDB_Parser->getMovieRating($imdb_website) $IMDB_Parser->getMovieLanguage($imdb_website) $IMDB_Parser->getMovieColor($imdb_website) $IMDB_Parser->getMovieCountry($imdb_website) $IMDB_Parser->getMovieDirectedBy($imdb_website) $IMDB_Parser->getMoviePicture($imdb_website) $IMDB_Parser->getMovieGenres($imdb_website) $IMDB_Parser->getMovieYear($imdb_website) $IMDB_Parser->getMovieRuntime($imdb_website) $IMDB_Parser->getMovieStars($imdb_website) $IMDB_Parser->getMovieAka($imdb_website) $IMDB_Parser->getMovieVotes($imdb_website) $IMDB_Parser->getMovieAwards($imdb_website) * SVN Check out the newest release through SVN server. svn checkout svn://svn.berlios.de/imdb-parser/trunk imdb-parser * Contact Feel free to report any problems, comments or whatever. * Thanks to berlios.de for hosting the project. Guvenc kaplan, Erik aka D3FiANC3, Edward Husar and all the other contributers & bugreporters.