PHP, MySQL, CSS, XHTML, JavaScript
26. Sep. 2007
PHP / MySQL
Version: 0.9.0.1
Added a seperate example file.
Added more information into the README
Removed the load/unload notice
Downloads: 375
A long description in Norwegian:
Fra NWF
This package is now also added to the PHP Classes network.
(Following is taken from the readme)
A class to retrive information out from IMDb about movies.
Select what information to fetch for yourself.
Add as many movies as you like.
This script is protected by Norwegian law. You may not copy it partialy or pass it on as your own. It's not allowd to use this script in a commercial project without asking for permission.
Please link to my site if used. The script can not be used on sites with rasistic content or containing pornography.
Mikael Brevik @ http://mikaelb.net/
You MUST read through the "License and Site Access" section
of IMDb's "Copyright and Conditions of Use" site before
doing anything with this!
Be sure that you don't break any rules or statments in their
licensing.
I, Mikael Brevik, will take NO responsibility for your
actions if you deside to break with any of these rules.
Don't do anything illegal or use this class for illegal
purposes.
There is only one step, and it only counts if you are to be
using mysql-caching:
- Import the SQL-file in the compressed folder into your
database. Do so through tools as phpMyAdmin or others
If you are using MySQL caching you must connect to MySQL and
select DB before running any processing methods in the class.
Also if you deside to use UTF-8, run these codes:
- all info out of one movie (or more):
- rating, name, 4 of the cast and year of production
from X movies:
- 10 videos from your Vote History with all details
(Vote history must be public!)
The formating of the results is something you must take
care of on your own.
Use the class with care and please put a link to my site
from the site that uses the script. My blog is at
http://mikaelb.net
Innlegget ble postet 26.09.07 01:37 og ligger under kategorien PHP / MySQL. Du kan abonnere på kommentarene ved å bruke RSS 2.0 feed. Du kan legge til kommenter, eller trackback fra din blogg/side.
This seems a nice class. I wrote something similar a couple of years ago. Just have in mind that some servers do not support fopen(); In that case try using CURL. I have a pretty good CURL function that does the job right. Also it sends the 'googlebot' as the useragent to avoid getting banned from some services. If you want any help with it drop me a line.
Marios Tziortzis skrev dette 26 September, 2007 22:28 - Sitér
Hey. Yeah. Ive thought of that some servers doesnt support the fopen-wrapper. So the next version of the class will be based on cURL. I have something ready already, with correct HTTP-headers. But if you let me have a look at yours that would be great. Send me an e-mail @ mikaelb AT mikaelb DOT net
Thanks for commenting.
Mikael Brevik skrev dette 26 September, 2007 22:32 - Sitér
[...] read more | digg story [...]
My Hobby is Programming » Blog Archive » New PHP Class: IMDb_Fetch skrev dette 30 Oktober, 2007 16:21 - Sitér