root/branches/php4-imdbonly/doc/CHANGELOG @ 346

Revision 346, 17.8 KB (checked in by izzy, 6 months ago)

! imdb::quotes() had some annoying "share this quote" added due to IMDB site changes (ticket #129, backport from trunk)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1$Id$
2
3History for IMDBPHP
4===================
5
6v1.2.5
7-------------------
8! imdb::releaseInfo() was also partly affected by the last IMDB site changes
9! another IMDB site change broke imdb::alsoknow()
10! imdb::quotes() had some annoying "share this quote" added due to IMDB site changes
11
12v1.2.4 (24.10.2010)
13-------------------
14! imdb::releaseInfo() did not recognize entries without day - fixed.
15! imdb_person::born() and died() have been broken by IMDB changes again - fixed.
16  Same for interviews(), articles(), pictorials() and magcovers()
17! imdb::color() has been broken by IMDB changes - also fixed. Same for
18  imdb:sound(), mpaa() and mpaa_hist()
19
20v1.2.3 (14.02.2010)
21-------------------
22! imdb::plotoutline() did not cut surrounding DIV (backport from trunk)
23! imdb::alsoknow() fixed (IMDB site changes - backport from trunk)
24* imdb::movieconnection() - fixed FollowedBy and added Follows (tnx 2 Qvist)
25* imdb::releaseInfo() now catches a few more cases (missing links)
26! IMDB Search did not work with the localized sites due to new domains used
27! imdb_person::filmograf did not catch characters if they had no link. Due
28  to changes on the IMDB sites, it in fact did no longer catch any character...
29! imdb_person: born() and died() missed to return the year due to IMDB site changes
30! imdb::seasons() returned wrong season count, and imdb::episodes() got messed up on airing dates
31
32v1.2.2 (26.11.2009)
33-------------------
34! fixed an backport error (PHP5 style declaration)
35! fixed runtimes() again (the IMDB guys are playing with us), and fixed mpaa_reason (both backports from trunk)
36! imdb_person::filmograf() was broken due to an inserted onClick() on IMDB.COM (backport from trunk)
37! fixed the imdb::trailers() method. Note that IMDB now only lists their own
38  videos, so the imdb_trailers class is (currently) useless.
39- removed the imdb_trailers class from checks. As IMDB seems to no longer
40  list external trailers, they will either fail. The code for the class will
41  remain in the repository for now - one never knows...
42+ added new method imdb::keywords_all() (to retrieve the full list)
43
44v1.2.1 (15.11.2009)
45-------------------
46! version info was not updated in the base class
47! imdb: minor fix for releaseInfo()
48! imdb::language() was broken
49+ imdb::creator() method backported from trunk
50! minor fix to imdbsearch class backported
51+ imdbsearch: added method reset() to clean up the search results array
52  (backported from trunk@r257)
53! imdb::officialSites() returned a bunch of internal links not belonging here
54  (backported fix from trunk@r260)
55! imdb::runtimes() and imdb::sountrack() was broken (backported fix from trunk@r262)
56
57v1.2.0 (04.10.2009)
58-------------------
59+ the test pages now support a "cron-mode" passing "cron=1" at the URL, i.e.
60  plain text output, and only on failures (intended for automated tests)
61! movie: fixed a small initialization issue (wrong type for keywords)
62! movie: episodes() returned bool false (instead of empty array) if no episodes
63
64v1.1.6 (29.09.2009)
65-------------------
66+ movie: added method to retrieve keywords (thanx to Balamir for the code!)
67+ movie: method cast() now also has the headshots included (thumbs and big)
68* test/ directory has been missing in Makefile, and "make uninstall" left some
69  files on the system
70+ added version and revision info to the classes (to be shown with the test page
71  results)
72+ let the test page prepend "." and ".." to PHPs include_path so it runs out of
73  the box
74
75v1.1.5 (24.09.2009)
76-------------------
77! hopefully fixed "invalid stream resource" on some network timeouts
78+ movie: added method to retrieve movie types (if specified)
79! person: fixed a property missing in initialization
80! movie: some methods were broken due to site changes. Fixed goofs(), trailers(),
81  and trivia()
82* some minor updates and changes
83
84v1.1.4 (26.04.2009)
85-------------------
86+ movie: added method mpaa_hist() to include multiple ratings per country (if set)
87+ methods returning a data array now have the additional element "mon" holding
88  the months number (while "month" still keeps the name as it was before)
89+ movie: added method prodNotes() method to get information about production in progress
90
91v1.1.3 (26.03.2009)
92-------------------
93* updated ApiDoc: the methods for retrieving details now use the "see also" tag
94  to show which IMDB page the information is taken from
95+ movie: added method officialSites to retrieve the "official" URLs
96! person: movies_archive() was broken due to site changes
97! movie: releaseInfo() was messed up if one entry contained an incomplete date
98! movie: director() returned nothing on series main page (thanx for the fix, moonface!)
99+ movie: added method mainPictures() to retrieve information on the pictures
100  displayed on the main page (thanx to moonface for the initial code!)
101
102v1.1.2 (26.02.2009)
103-------------------
104+ movie: added methods to retrieve company credits (production companies,
105  distributors, special effects, other companies)
106+ movie: added method to retrieve the synopsis
107+ movie: added method to retrieve detailed parental guide info
108
109v1.1.1 (26.01.2009)
110-------------------
111! names::died() and names::born() did not return complete information
112  (or even returned garbage in some cases) due to site changes
113! names::spouse() and names::salary() returned garbage if the corresponding
114  items were not available on the corresponding page
115! trailer::getFlashCodeAllTrailers() was broken due to site changes on alltrailers.net
116+ collecting more details from the filmografie - all the remarks in parenthesis
117  are now collected into the $addons array
118
119v1.1.0 (12.01.2009)
120-------------------
121+ added the imdb_topcharts and imdb_nowplaying classes provided by banzap
122+ added imdb_trailers class (rewrite of code provided by banzap)
123+ added showtimes images locally (since they are somehow protected at the IMDB site)
124+ added name (imdb person) search
125
126v1.0.8 (17.09.2008)
127-------------------
128! fixing strange problem with filmographies sometimes missing some years in the
129  middle (just fixed by an ugly work-around - still not sure what is broken)
130+ added the imdbXML class provided by Pablo Castorino (thanx Pablo!)
131! fixed rating (due to IMDB site changes). Tnx to sourcer for the patch!
132+ allowing to define a different config file defined by the constant IMDBPHP_CONFIG
133! episodes() have been broken due to site changes - fixed.
134
135v1.0.7 (02.09.2008)
136-------------------
137+ imdb (movie) : added method releaseInfo()
138* changed the way to get the big image - should now match better
139! thumbnail was not returned when big image was missing, and big image did not
140  always work correctly (image names changed?)
141+ tests can now be restricted to either movie only, name only, or all (default)
142+ imdb_person: added method to retrieve complete filmography (ignoring categories)
143+ imdb_person: added method for category "actress"
144
145v1.0.6 (11.06.2008)
146-------------------
147! preventing endless loops on connection problems (i.e. IMDB site offline)
148! failed pages are no longer cached
149+ added the attribute lastServerResponse (3-digit codes according to RFC2616)
150  to the imdb_base class. You can check this to find out why there have been
151  no results - e.g. "404" means the page was not found. "000" usually means
152  the server could not be contacted (site down, network problems, ...)
153+ test pages now allow to turn the cache on/off via the URL, applying
154  "?cache=on" or "?cache=off" to it
155
156v1.0.5 (03.06.2008)
157-------------------
158+ imdb_person: added methods to retrieve printed publications (pubprints()),
159  biographical movies (pubmovies()), and "portrayed in" (pubportraits())
160+ imdb_person: added method to retrieve interview list (interviews())
161+ added overall results to the API test page
162+ imdb_person: added methods for articles, pictorials and magazine covers
163* class tests updated - results should be more precise now
164! fixed a problem with redirected pages (e.g. movie 0068709)
165! fixed a problem with movies having no year set (but "????" instead)
166
167v1.0.4 (26.05.2008)
168-------------------
169! imdb_search: if maxresults was set to 0, no results have been returned
170  (instead of unlimited)
171! imdb: colors(), sounds() and episodes() have been broken due to IMDB site changes
172+ added set of test pages (for verification of all methods)
173* default cache expiry increased from 600 (10min) to 3600 (1h)
174
175v1.0.3 (20.05.2008)
176-------------------
177+ imdb_person: methods to retrieve birthname, nicknames, body height and spouses
178! imdb: languages() method was broken due to IMDB site changes
179+ imdb_person: added method to retrieve mini bio
180+ imdb_person: added trivia(), quotes(), trademark() and salary()
181! fixed a flaw in imdb::photo() (you could not retrieve the thumbnail and the
182  bigger photo in the same run)
183
184v1.0.2 (14.05.2008)
185-------------------
186+ new method mpaa_reason() reports why the movie was rated PG-* in the USA
187+ introduced new class imdb_person with methods to retrieve name, picture
188  and filmographies of staff members
189+ imdb_person: New method born() to retrieve birthdate and place
190+ imdb_person: New method died() does the same for day of death (including
191  cause, if available)
192* links to staff members on the demo imdb.php page now pointing to the new
193  imdb_person.php instead of the IMDB site to give insight into the new classes
194  capabilities
195! imdb: staff methods (director, cast, writing, producer, composer) did not
196  return the persons IMDBID correctly (fixed: the "nm" prefix is now removed)
197
198v1.0.1 (07.05.2008)
199-------------------
200* code reorganization: Split up the imdb class to create class imdb_base
201+ the photo methods now support an optional parameter to retrieve a bigger
202  (400x600) image instead of the thumbnail (100x140)
203* rewrote alsoknow() to give even better/more matches
204! in quotes(), references pointed to the local server instead of imdb site
205* replaced hardcoded imdb sites in the demo page by the imdb site configured
206! plotoutline() and tagline() were broken due to IMDB site changes
207* some optimization of tagline() and plotoutline()
208! rating() and votes() returned -1 when movie was not yet rated
209
210v1.0.0 (04.05.2008)
211-------------------
212! little fix for the MPAA retrieval (thanx to aaron pointing this out and
213  providing the fix)
214+ added some more checks on valid image and cache directories to prevent
215  PHP warnings/errors
216+ adding some more comments to the API documentation
217! alsoknow() sometimes messed up some AKAs - hopefully fixed.
218* some style changes to the demo pages
219! method country() was broken (site changes?) - fixed.
220
221v0.9.5 (03.04.2008)
222-------------------
223* renamed imdb_config.php to imdb_config.class.php
224* updated cache page layout
225* changed Makefile: the classfiles now go to /usr/share/php which is the PHP
226  include_path in the distributions php.ini - this means you no longer need
227  to include these files with your apps RPM/DEB packages, but simply add the
228  appropriate dependency (and include them directly via the include_path)
229! imdb::alsoknow() messed things up on akas.imdb.com if AKA string contained
230  only one term in parenthesis
231* some W3C fixups to the demo pages
232* cleanup of private class properties in class imdb (removing unreferenced
233  ones, fixing initialization types, renaming some for clearer conventions)
234+ imdb::comment_split() added - returns the same comment as imdb::comment, but
235  structured into an array so you can access the elements more easily
236+ imdb::plot_split() added similarly as pendant to imdb::plot()
237* some more corrections/updates to the API reference
238
239v0.9.4 (31.03.2008)
240-------------------
241* getting rid of most (all?) of the PHP warnings/notices thrown
242! tagline() method missed to exactly extract the tagline from the main page when
243  the movie only contained one tagline
244! fixed the season display in the demo page which sometimes was caught in an
245  endless loop (the API itself was not affected)
246+ added a drop-down box to the demo search page to select whether to search for
247  a movie or an episode by the given name
248* updated some API references to give a better description
249* moved the IMDB_Request class to its own file (separate from the imdb_config)
250! searching akas.imdb.com did not reveal localized akas; if we find them, they
251  are now listed along with their language
252* improved duplicate check on movie search (thanx to Alex)
253
254v0.9.3 (25.03.2008)
255-------------------
256! fixed some incorrect calls to strrpos causing PHP error messages
257* changing default imdb site from us.imdb.com to akas.imdb.com to also find
258  localized AKAs
259+ new method movieconnection() returns connected movies (mid, name, year and
260  maybe comment)
261+ new method extReviews() returns external reviews for this movie (url,desc)
262* some code cleanup, optimization and comments
263* minor optical enhancements to the demo pages
264+ imdbsearch class: added method search_episodes to restrict the search to
265  either movies or episodes (before it was always restricted to movies)
266
267v0.9.2 (13.03.2008)
268-------------------
269* replacing strpos..substr loops in several functions by preg_match_all constructs
270! runtime was broken for some movies (errors on the IMDB pages?)
271+ added soundtrack() method for guess what...
272! setid() forgot to reset some credits - fixed.
273* no more duplicate IMDB IDs are displayed anymore (thanx to Josh for pointing this out!)
274! the result set limit ($maxresults) was not honored (again Josh - thanx!)
275
276v0.9.1 (20.01.2008)
277-------------------
278! year was screwed up when movie title contained "()"
279! method rating() did not return any value on subsequent calls (only on the first)
280+ added support for retrieving trailer urls (method trailers())
281+ added retrieval of 'Crazy Credits' (try with 'The Blues Brothers', they have some)
282+ added goof retrieval (again, you can see some with 'The Blues Brothers')
283* some cleanup
284* moved error message output into debug methods so they can be turned off
285  (do so in imdb_config.php with the $this->debug setting)
286+ added method trivia() to retrieve the trivias
287
288v0.9.0 (06.01.2008)
289-------------------
290! link to SearchPlotWriters was pointing to wrong server
291+ added gzip support to cache (Jörg EitemÌller)
292+ added support for tv series (Jörg EitemÌller) - new methods:
293  episodes() and seasons()
294! fixed bug concerning genre parsing
295+ added support for retrieving the movie quotes - method: quotes()
296
297v0.8.9 (07.10.2007)
298-------------------
299* genre and country often contained a stupid additional field pointing to some
300  "Imdb sections". Changed the code so they are no longer there.
301! Link in "user comments" now points to the correct *site* (site info was missing
302  so this always pointed to the local host)
303* taglines() no longer returns the "update form" as latest tagline
304! if the IMDB page contained no genre or country info, the concerning function
305  caused an php error (strpos(): Offset not contained in string)
306! cache purge caused errors when cache directory contained subdirs - fixed.
307
308v0.8.8 (05.08.2007)
309-------------------
310* applied patch sent by eremini to also support BMP images
311* IMDB site changes again
312* moved documentation files to doc/ dir and added APIDOC there
313
314v0.8.7 (10.03.2007)
315-------------------
316+ made the maxresults (max movies to return on query) configurable
317+ made the search variants configurable
318+ added some more info for the APIDOC
319* made the sample scripts proof for register_globals=off
320
321v0.8.6 (23.02.2007)
322-------------------
323+ plot outline and selected user comment added (wtf)
324* next changes on IMDB site: Fixed rating and cast (Izzy)
325! alsoknow() sometimes throw an error (and ate some AKAs). Fixed (Izzy)
326+ sample page now gives some more details (Izzy)
327! fixed the link to ratings generated in the votes() function (eremini)
328
329v0.8.5 (22.01.2007)
330-------------------
331* some adjustments due to changes on the IMDB sites
332* a little re-structuring of the class files due to easier maintenance
333  together with the code of phpVideoPro
334
335v0.8.4 (13.08.2006)
336-------------------
337+ added automatical global cache purging
338* IMDB site changes caused image retrieval to fail
339* IMDB site changes caused actors retrieval to fail
340
341v0.8.3 (08.04.2005)
342-------------------
343* due to internal changes on the IMDB site the searches returned empty.
344  Now it works again
345* extended the results for some details, e.g. the also-known-as
346* lots of detail changes I do not remember anymore (see history of
347  phpVideoPro at http://www.qumran.org/homes/izzy/software/)
348
349v0.8.2 (01.12.2004)
350-------------------
351* Izzy took over project maintenance from sevec
352* syntax on *.imdb.com changed - which made the entire class(es) unusable.
353  Fixed that, so now it works again.
354
355v0.8.1 (24.10.2003)
356-------------------
357+ added support for old browseremulator again. choose in imdb_config.php if
358  you use PEAR.
359
360v0.8 (22.10.2003)
361-----------------
362* many things that i forgot writing and don't remember now...
363* imdbsearch class method setsearch($name) was renamed to
364  setsearchname($name).
365+ a imdbsearchurl($url) was added that can be used to find the imdb links on
366  a url. (ie. to get the top 250 movies.)
367* many functions that returned an empty string now return NULL. this will
368  propably not affect many programs but it is cleaner for databases.
369  haven't fixed all of them yet.
370* PEARs HTTP_Request class is now used (see pear.php.net you need it now for
371  the program to run.)
372* the default is not to use or store cache now.
373
374v0.7 (29.09.2003)
375-----------------
376! some minor bug fixes.
377! fixed the links in the test scripts.
378* search can be multiple words
379* search results now return an array of imdb objects.
380* when there is only one result (imdb redirects to it) the right thing is
381  happening.
382* fixed it for the changes in imdb site.
383* added a patch by Brian Ruth for ratings.
384
385v0.6 (01.08.2003)
386-----------------
387+ taglines() function that returns all taglines.
388! fixed a bug that made photo() to return the wrong url sometimes.
389+ added producers.
390* changed runtime handling. now runtimes() returns a table with runtimes
391  and runtime() returns just the first runtime and only the number.
392+ added photo_localurl() which returns a local url for the movie image (after
393  saving it there first if it doesn't exist.
394* alsoknow() splits the info more...
395
396v0.5 (29.07.2003)
397-----------------
398* Initial Release.
Note: See TracBrowser for help on using the browser.