Okay fellas, quick check for you - please verify with as many titles as you can that everything looks correct (don't know how that worked before - stupid typo):
At the end of class.imdb.php, look for the line
$ts = strpos($this->page, ">",$res_e) +1;
(probably line 1045) within the function results(), and replace it by
$ts = strpos($this->page, ">",$res_s) +1;
Right, you just need to change one character and turn the "e" into an "s" - that's it. Now the titles shouldn't be screwed up anymore.
If you meant something different, please explain (but please also verify above change before I check that in).
Best regards,
Izzy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good to read! I guess the old layout had some <b> tags around the movie title (that's why I searched for the next ">" AFTER the </a>). If nobody writes it breaks something else, I'll commit that into the repository tomorrow.
Best regards,
Izzy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I come with another problem. After I search in classes I didn't find any solution, so I'm asking you:
after a search on the new imdb layout I receive in "Movie Genre" for example Horror, Sci-Fi, Thriller, IMDb Horror section , or Action, IMDb Action section . Is there any way to get out of this annoying ( for me ) IMDb "something" section ? This is a link on the imdb page on the "Related Links" where you can go on the specified movie genre.
Thank you in advance.
Vali Oancea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://www.my-subtitles.com/index.php?page=movie&IMDbID=0462396
-- check out: Movie Genre: Action, Adventure, War, IMDb Action section <-- this one is very annoying ( I think :-) )
If you go in IMDb you can find at the bottom of page in "Related Links" section a link called "IMDb Action section".
First my apologies that it took a bit longer than expected - but meanwhile I checked and hopefully fixed the issue. As you may have noticed, it was the same with the country list, so I adjusted that as well. However, I miss the time for thoroughly checking all. So to avoid side effects, may I ask you to check some more examples on the demo site, please? Here's the URL:
On your demo it's working with no problems, I downloaded again, and replaced the file imdb.class.php but on my site I receive the same "error". I receive all genres from a movie + this "IMDB action section" for example. But nevermind, thank you for your time.
MfG,
Vali Oancea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you for the verification. Sure you still have the same error - I waited for your approval before committing the changes, so you still got the old code :) I just committed it now, so you can checkout the imdb.class.php from the projects CVS tree (that's the only file you need to exchange).
Best regards,
Izzy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
imdb updated the search-page layout..
ex:
http://imdb.com/find?s=all&q=kiss+kiss+bang+bang (breaks the classe's search functionality)
I saw that too .. maybe izzy can help us?
Thank you in advance izzy.
Thanx for the notice, Vlad! Will take a look at it as soon as time permits, and then post the results here.
Best regards,
Izzy.
Okay fellas, quick check for you - please verify with as many titles as you can that everything looks correct (don't know how that worked before - stupid typo):
At the end of class.imdb.php, look for the line
$ts = strpos($this->page, ">",$res_e) +1;
(probably line 1045) within the function results(), and replace it by
$ts = strpos($this->page, ">",$res_s) +1;
Right, you just need to change one character and turn the "e" into an "s" - that's it. Now the titles shouldn't be screwed up anymore.
If you meant something different, please explain (but please also verify above change before I check that in).
Best regards,
Izzy.
Thank you very much izzy ! It's working with your update.
Good to read! I guess the old layout had some <b> tags around the movie title (that's why I searched for the next ">" AFTER the </a>). If nobody writes it breaks something else, I'll commit that into the repository tomorrow.
Best regards,
Izzy.
Hello Izzy,
I come with another problem. After I search in classes I didn't find any solution, so I'm asking you:
after a search on the new imdb layout I receive in "Movie Genre" for example Horror, Sci-Fi, Thriller, IMDb Horror section , or Action, IMDb Action section . Is there any way to get out of this annoying ( for me ) IMDb "something" section ? This is a link on the imdb page on the "Related Links" where you can go on the specified movie genre.
Thank you in advance.
Vali Oancea.
Hi Vali,
if you could provide me a (few) sample IMDB ID(s) or movie name(s) where this "something" section appears, I can check for a solution.
Best regards,
Izzy.
Hello Izzy, Thank you for your answer.
For example you can check the following links:
http://www.my-subtitles.com/index.php?page=movie&IMDbID=0462396
-- check out: Movie Genre: Action, Adventure, War, IMDb Action section <-- this one is very annoying ( I think :-) )
If you go in IMDb you can find at the bottom of page in "Related Links" section a link called "IMDb Action section".
http://www.my-subtitles.com/index.php?page=movie&IMDbID=0472043
-- Movie Genre: Action, Adventure, Drama, IMDb Action section
http://www.my-subtitles.com/index.php?page=movie&IMDbID=0770806
-- Movie Genre: Action, IMDb Action section
you can make the difference between the first and the lastadditions.
My page ( www.my-subtitles.com ) has as engine your script, and thank you one more time for this.
Regards,
Vali Oancea.
First my apologies that it took a bit longer than expected - but meanwhile I checked and hopefully fixed the issue. As you may have noticed, it was the same with the country list, so I adjusted that as well. However, I miss the time for thoroughly checking all. So to avoid side effects, may I ask you to check some more examples on the demo site, please? Here's the URL:
http://www.qumran.org/homes/izzy/software/imdbphp/demo.php
Besides: Thanx again for your report - this way I noticed the demo was broken and also not updated with the latest release ;) This is also done now.
Best regards,
Izzy.
Hello Izzy, thank you for your answer.
On your demo it's working with no problems, I downloaded again, and replaced the file imdb.class.php but on my site I receive the same "error". I receive all genres from a movie + this "IMDB action section" for example. But nevermind, thank you for your time.
MfG,
Vali Oancea.
Vali,
thank you for the verification. Sure you still have the same error - I waited for your approval before committing the changes, so you still got the old code :) I just committed it now, so you can checkout the imdb.class.php from the projects CVS tree (that's the only file you need to exchange).
Best regards,
Izzy.
Thank you very much for your help and your time! It's working like a charm. :)
Nice to hear this! If you have something more, just let me know ;)
Best regards,
Izzy.