Page 9 of 26

Posted: 2007-05-20 19:18:10
by kaas
bad4u wrote:MovieMeter (NL) fixed. I changed two lines within the script :

Code: Select all

AnalyzeResultsPage('http://www.moviemeter.nl/?search&q='+UrlEncode(MovieName));
to

Code: Select all

AnalyzeResultsPage('http://www.moviemeter.nl/film/search/'+UrlEncode(MovieName));
and

Code: Select all

Line := TextBetween(Page.Text, 'class="filmresults_row1">', '<form action="http://www.moviemeter.nl/film/search/"');
to

Code: Select all

if Pos('Zoekresultaten in films:', Page.Text) > 0 then
  Line := TextBetween(Page.Text, 'Zoekresultaten in films:</p>', '<form action="http://www.moviemeter.nl/film/search/"');
if Pos('Alle zoekresultaten in films:', Page.Text) > 0 then
   Line := TextBetween(Page.Text, 'Alle zoekresultaten in films:</p>', '<form action="http://www.moviemeter.nl/film/search/"');
Line := TextBetween(Line, '</p></div>', '<p><br /></p>');
Maybe you can find a more elegant solution for the second workaround, but you should know that Line := TextBetween(Page.Text, 'class="filmresults_row1 first" >', '<form action="http://www.moviemeter.nl/film/search/"'); will not work with all films!

Download : http://bad4u.saveitfree.com/scripts/Mov ... 8NL%29.ifs

@Antoine: Just want to mention that I set version number from 2.6.1. to 2.6.2 . If you don't like it, you can use it as basis for your own corrections. If you like it, upload it ;)
Thanks! It works, but not perfect. The rating field is nog correct (rating is always 0.0). Also the category field always contains

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><title>Queen, The (2006) - MovieMeter.nl</title>


<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
@import url("http://www.moviemeter.nl/includes/stylesheet_v57.css");
		
-->

</style>
<link rel="shortcut icon" href="http://www.moviemeter.nl/images/favicon_new.gif" />
<script type="text/javascript">
text_move = 'verplaatsen';
text_delete = 'verwijderen';
text_no_results = 'Aan deze map zijn momenteel geen films toegevoegd.';
text_added_open_my_films = 'toegevoegd, open Mijn Films';
text_remove_from_my_updates = 'verwijderen uit Mijn Updates';
text_to_my_updates = 'toevoegen aan Mijn Updates';
text_options = 'opties';
text_actions = 'acties';
text_edit_folder = 'bewerk map';
text_delete_folder = 'verwijder map';
text_new_subfolder = 'nieuwe submap';
text_action_csv_export = 'CSV-export';
text_action_votingtable = 'Stemtabel';
text_delete_folder_sure = 'Weet je zeker dat je deze map en alle eventuele films en submappen wilt verwijderen? Deze actie kan niet ongedaan gemaakt worden.';
allow_url_fopen = 1;
text_description = 'Omschrijving';
text_name = 'Naam';
text_yes = 'ja';
text_no = 'nee';
text_click_here_for_name = 'klik hier om de naam te bewerken';
text_click_here_for_description = 'klik hier om de omschrijving te bewerken';
text_myvote = 'mijn stem';
text_myvote_none = '(geen)';
session_users_id = 0;
session_unique_login_string = '';

// this is of course only used for "low level" mod checks ;)
session_mod_discussions_entities  = 0;
session_mod_discussions_forum  = 0;

site_color_1 = '#ffeccc';
site_color_2 = '#ffd99b';

site_nd = true;
site_address = 'http://www.moviemeter.nl/';
 
</script>
<script type="text/javascript" src="http://www.moviemeter.nl/libs/prototype.lite.js"></script>
<script type="text/javascript" src="http://www.moviemeter.nl/libs/moo.fx.js"></script>
<script type="text/javascript" src="http://www.moviemeter.nl/libs/moo.fx.pack.js"></script>
<script type="text/javascript" src="http://www.moviemeter.nl/includes/scripts_v37.js"></script>
<script type="text/javascript" src="http://www.moviemeter.nl/includes/pagemaker_v6.js"></script>
<script type="text/javascript">
//<![CDATA[
		
	search = new quickSearch('2bd3bf46b5d27ef1e13717e5eef01324'); 

	fixstuff = function () {

	  var h = document.getElementById('centrecontent').clientHeight;
	 
	 	var browser = new Browser();
	 
		var h_new = (parseInt(h)-160).toString() + 'px';
	
	  document.getElementById('outer').style.height = h_new;
 	
	  if (browser.isIE && browser.version < 7) {

	   	document.getElementById('outer').paddingBottom = '160px';
	   	document.getElementById('innerwrap').paddingBottom = '160px';

			var h_new = (parseInt(h)+160).toString() + 'px';
	  }
		else {
			var h_new = (parseInt(h)+148).toString() + 'px';
		}

	  document.getElementById('outer').style.height = h_new;

		/* hack to keep XHTML compliance while using "autocomplete" tag */
	  
		var sBox = document.getElementById('quicksearch');
		
		if (sBox) {
			sBox.setAttribute('autocomplete', 'off');
		}	
	}
	
	try	{
	window.addEventListener("load", fixstuff, true);
	} catch(e){
		window.attachEvent("onload", fixstuff);
	} 
//]]>
</script>
</head>
<body  onload="checkImages('Bekijk afbeelding in originele grootte', 588);" >



	
<div id="outer">
 	
	  <div id="logo">
		<a href="http://www.moviemeter.nl"><img src="http://www.moviemeter.nl/images/logo_new.png" alt="MovieMeter.nl"/></a>
		</div>

  <div id="ads"> 
			<script type="text/javascript"><!--
			google_ad_client = "pub-7153530375565264";
			google_alternate_color = "FFFFFF";
			google_ad_width = 120;
			google_ad_height = 600;
			google_ad_format = "120x600_as";
			google_ad_type = "text";
			//2007-02-04: MovieMeter.nl rechts
			google_ad_channel = "7436339213";
			google_color_border = "706a54";
			google_color_bg = "706a54";
			google_color_link = "c7c1a4";
			google_color_text = "FFFFFF";
			google_color_url = "000000";
			//--></script>
			<script type="text/javascript"
			  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
  </div>
  
				<div id="searchresults"> </div>
				
  <div id="innerwrap"> 
	
    <div id="centrecontent"> 
    

<div id="crumbs">locatie: <a href="http://www.moviemeter.nl/film/">Films</a> » <a href="http://www.moviemeter.nl/film/34236/">Queen, The (2006)</a> » <a href="http://www.moviemeter.nl/film/34236//">Info</a></div><h1>Queen, The (2006) </h1><p> </p><div id="tabswrapper"><ul id="tabs"><li><a href="http://www.moviemeter.nl/film/34236/info/"  class="active">Info</a></li><li><a href="http://www.moviemeter.nl/film/34236/votes/" >Stemmen</a></li><li><a href="http://www.moviemeter.nl/film/34236/stats/" >Statistieken</a></li><li><a href="http://www.moviemeter.nl/film/34236/message/new/" >Nieuw bericht</a></li><li><a href="http://www.moviemeter.nl/film/34236/search/" >Zoek bericht</a></li><li><a href="http://www.moviemeter.nl/film/34236/correct/" >Corrigeren</a></li></ul></div><div style="height: 52px;"> </div>										 <div class="sponsored"><a href="http://www.directmovie.nl?from=www.moviemeter.nl" target="directmovie" onclick="externalClick('24.132.114.67', 'directmovie', 34236, 0);"><span class="sponsored_link">Directmovie.nl</span> online film kijken zonder downloaden!</a>
Maybe you can fix this?
Oh, the script also doesn't fill in the movie playtime, country and cover image :P

Posted: 2007-05-20 19:50:37
by antp
bad4u >> It is good like that, thank you very much for fixing the script as lots of people use it, and I really had no time to check that now ;) So if you have time to continue to work on it (cf message above) you are welcome.
Edit : the download link does not work :??:

Posted: 2007-05-20 20:11:21
by kaas
antp wrote:bad4u >> It is good like that, thank you very much for fixing the script as lots of people use it, and I really had no time to check that now ;) So if you have time to continue to work on it (cf message above) you are welcome.
Edit : the download link does not work :??:
Hm, he fixed the "Nothing found" problem, but the found data isn't correct (see my previous post)

Posted: 2007-05-20 21:47:22
by bad4u
Yes, that was my fault.

I only fixed the obvious problem with building the result list, I did not take care for the import routine itself. Seems they did some major changes on the website's code.

It took me some time, but here is a new version. I corrected all the problems that kaas mentioned (rating, category, playtime, country, cover).

Can someone test the new script in detail, please ? I tested some films and it seems to be working correctly, but I don't have the time for more testing now. And to be true, I do not need the script myself - I'm german ;)

Btw.: I added a new option 'ImportComments' to import users' comments from the website. Just see it as 'experimental', it is not set by default, so you do not need to waste a thought on it if you don't want/like/need it.

@Antoine: Sorry for the broken link, I deleted this version because of the problems. Here's the new version (2.7.0) now.
http://bad4u.saveitfree.com/scripts/Mov ... 8NL%29.ifs

Posted: 2007-05-20 22:48:06
by antp
Thanks :)

Posted: 2007-05-21 08:33:44
by kaas
Thank you very much! It works perfect now!

Posted: 2007-05-27 11:12:08
by Miss_Kitty
Can't get the download link to work.
But I only changed the AnalyzeResultsPage line and it worked for me again.

Edit: Updated scripts and got new version to work now.
Thanks guys, great job... :grinking:

Posted: 2007-06-22 20:56:16
by Sjowhan
Seems the script of moviemeter doesn't work anymore.
Can someone verify this? Or is it a setting in Ant?

(yeah, long time ago i used Ant for collecting my movies :ha: )

Posted: 2007-06-23 00:17:53
by bad4u
Sjowhan wrote:Seems the script of moviemeter doesn't work anymore.
Can someone verify this? Or is it a setting in Ant?

(yeah, long time ago i used Ant for collecting my movies :ha: )
It works still fine here (script version 2.7.0). Maybe you should update your scripts. You can find updates on http://www.antp.be/temp/scripts/ , or use the [ UPDATE SCRIPTS ] script to download from within the program ;)

If you have not updated AMC for a longer time, it maybe a good idea to install the latest version of AMC first - this will update some scripts and deliver new ones, that are not downloadable from the directory. After this check if there are more updates available.

Posted: 2007-06-23 09:10:36
by Sjowhan
bad4u wrote: It works still fine here (script version 2.7.0). Maybe you should update your scripts. You can find updates on http://www.antp.be/temp/scripts/ , or use the [ UPDATE SCRIPTS ] script to download from within the program ;)

If you have not updated AMC for a longer time, it maybe a good idea to install the latest version of AMC first - this will update some scripts and deliver new ones, that are not downloadable from the directory. After this check if there are more updates available.
Hmm, i was really sure about the updated version. But after some investigation, it seems the version (2.7.0) i had downloaded from this forum didn't exist anymore on the pointed webspace.
Now i've the correct version, and it seems it works again.
Thanks for helping me out.

Posted: 2007-06-26 09:48:12
by J.P.
moviemeter.nl doesn.t work with me too
What sript did you use now that it's works ok now?

Posted: 2007-06-26 16:09:19
by Sjowhan
J.P. wrote:moviemeter.nl doesn.t work with me too
What sript did you use now that it's works ok now?
You have to check first which scriptversion you use. When you select "F6", and select 'Moviemeter.nl', there's some information of the script below.

Posted: 2007-06-26 17:21:21
by J.P.
I'm also use script version 2.7.0.

Posted: 2007-06-26 18:45:53
by bad4u
J.P. wrote:I'm also use script version 2.7.0.
Still no problems here.

You should download the latest version of the script and test it again, to make sure the script you have is not corrupted somehow.

If you still have problems:

Can you name a film you have problems with, or is it with all films ? What kind of error message do you get ?

When you can't access moviemeter through AMC, please check that you can load the website with your internet browser at the same time. If the website is down temporarly, AMC couldn't find any results, too.

Posted: 2007-06-27 11:08:30
by J.P.
i have use the new script in your link.
it's still not working with all movies
some other sript are working ok, like dvdexpress.cu.
i don't now why it is.
i get no error but it find nothing.

update...
i see now that norton internet security is the problem
but now i must look what i must change...

update...
it's ok now.
i had to ad the site www.moviemeter.nl in privicy settings from norton and uncheck the popup blok.

Posted: 2007-07-11 17:03:50
by bleedingpegasus
The new script for IMDB (IMDB.ifs, english, v. 3.16, 10 July 2007), seems can't download/get trivia. Doesn't matter if its option 1 (to description field) or option 2 (to comment field).

Anybody have solution?

Thanks.

Posted: 2007-07-11 19:18:43
by bad4u
bleedingpegasus wrote:The new script for IMDB (IMDB.ifs, english, v. 3.16, 10 July 2007), seems can't download/get trivia. Doesn't matter if its option 1 (to description field) or option 2 (to comment field).

Anybody have solution?
Sure. Download latest version (3.17) from http://www.bad4u.741.com/IMDB.ifs (copy the link into a new browser window) ;)

Seems that IMDB did some minor changes on several extra pages (/trivia, /awards). It was just the end of the trivia table that the script couldn't find, so nothing was imported.

Let me know if anything else should be missing, I have no time for extensive testing these days.

CDDB or FREEDB Script broken

Posted: 2007-07-22 10:28:32
by makeijan
Patko's wonderfull script isn't working any more.

Could someone fix them? At least one of them. AMC works as an amazing CD catalogue too... if some script is working, of course.

Thank you.

IMDB CommentType=1

Posted: 2007-10-29 10:33:38
by butterw
IMDB CommentType=1 (returns the 10 most useful comments) is currently broken (change in imdb page ?)

Re: IMDB CommentType=1

Posted: 2007-10-29 12:24:44
by bad4u
butterw wrote:IMDB CommentType=1 (returns the 10 most useful comments) is currently broken (change in imdb page ?)
Yes, they changed something on the main page. Look for and change these lines on the IMDB script (v.3.21):

Code: Select all

Value := TextAfter(PageText,'<a href="usercomments">');
if Value <> '' then
to

Code: Select all

if Pos('a href="usercomments" class="link"', PageText) > 0 then
This should fix the problem, but I want to do some more tests this evening before releasing the next script version. No time for that now. ;)

Please let me know if there are more changes on the page..