[UPD] [NL] MovieMeter.nl
Hello all,
First I want to say great program
I used The Movie Collector before, but now I found this nice program AMC..
First what I saw was the nice script for www.moviemeter.nl , its fine if you are a dutch guy
Now I tried a nice template viewtopic.php?t=813 , but to bad they dont match together..
Could anyone fix this one so I can use this script with viewtopic.php?t=813 ?
Thx in advance!
First I want to say great program
I used The Movie Collector before, but now I found this nice program AMC..
First what I saw was the nice script for www.moviemeter.nl , its fine if you are a dutch guy
Now I tried a nice template viewtopic.php?t=813 , but to bad they dont match together..
Could anyone fix this one so I can use this script with viewtopic.php?t=813 ?
Thx in advance!
Re: Categorie sometimes contains incorrect info (moviemeter.
Problem fixed:Dirk wrote: With movie 'falling down' --> not OK
www.antp.be/temp/scripts/MovieMeter%20(NL).ifs
You have a too old version of StringUtils1.pas, download the new version from http://www.antp.be/temp/scripts/StringUtils1.pas
I'll add this in the first post of the topic.
I'll add this in the first post of the topic.
Most of the scripts work, except the ones that need fixing.
But with moviemeter, it just fetches no data. Only when i disable it it will grab me the info.
I added www.moviemeter.nl to NIS -> Privacy control -> Configure -> advanced -> ADD site -> I entered www.moviemeter.nl and turned all settings to permit.
In Program control Ant Movie Catalog has 'permit all' status.
But with moviemeter, it just fetches no data. Only when i disable it it will grab me the info.
I added www.moviemeter.nl to NIS -> Privacy control -> Configure -> advanced -> ADD site -> I entered www.moviemeter.nl and turned all settings to permit.
In Program control Ant Movie Catalog has 'permit all' status.
Re: little change
I found there to be another little 'bug' in this script.Marcel wrote:after a couple of random tests with my adjustment, I found out that It wasn't good, because there came rubbish at the begining of categorie.
So these are the final adustments.
Value := TextBetween(PageText, '<div id="film_info" style="height: 465px">', '<br />');
if Value = '' then
begin
Value := TextBetween(PageText, '<div id="film_info" style="height: 490px">', '<br />');
end;
Line := RemainingText;
I changed the script a little bit.
The above code is changed to:
Code: Select all
Value := TextBetween(PageText, '<div id="film_info" style="height: 465px">', '<br />');
if Value = '' then
Value := TextBetween(PageText, '<div id="film_info" style="height: 490px">', '<br />');
if Value = '' then
Value := TextBetween(PageText, '<div id="film_info" style="height: 446px">', '<br />');
Line := RemainingText;
Regards,
Patrick
Code: Select all
In latest version of the script it has been modified like this to not rely on the size of the "div":
Code: Select all
Value := TextBetween(PageText, '<div id="film_info" style="height: ', '<br />');
Line := RemainingText;
Value := TextAfter(Value, '>');
Script is not working properly anymore :S (since yesterday)
If I search for Land of the Dead it works, and Phantom of the Opera comes up with nothing (for example)...
Falling Down = nothing
Gosford Park = works
Love Liza = nothing
King Arthur = Nothing
Nirgendwo in Afrika = works
The Polar Express = works
/edit
I've found out what the problem is:
If I search on moviemeter.nl for this movies, the ones wich work (like gosford park and nirgendwo in afrika) go straight to the movie, and don't show popular results.
When popular results are shown, (king arthur ie), then this script doesn't work anymore.
Can somebody help me?
If I search for Land of the Dead it works, and Phantom of the Opera comes up with nothing (for example)...
Falling Down = nothing
Gosford Park = works
Love Liza = nothing
King Arthur = Nothing
Nirgendwo in Afrika = works
The Polar Express = works
/edit
I've found out what the problem is:
If I search on moviemeter.nl for this movies, the ones wich work (like gosford park and nirgendwo in afrika) go straight to the movie, and don't show popular results.
When popular results are shown, (king arthur ie), then this script doesn't work anymore.
Can somebody help me?
Anyone got it to work yet ?
/me cant make head or tails of it.
This is the line with the results:
<a name="results"></a><div class="actions" id="list_actions" style="display: none;"><b>acties</b>: <a href="http://www.moviemeter.nl/csv">maak CSV-export</a> | <a href="http://www.moviemeter.nl/votingtable">genereer stemtabel</a> | <a href="http://www.moviemeter.nl/my_mm/my_movies">naar Mijn Films</a> | <a href="http://www.moviemeter.nl/my_mm/to_updates">naar Mijn Updates</a></div><script type="text/javascript">document.getElementById('list_actions').style.display = 'block';</script><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row1"><a href="http://www.moviemeter.nl/film/17298" >Active Stealth</a> (1999) </div><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row2"><a href="http://www.moviemeter.nl/film/27633" >Stealth</a> (2005) </div><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row1"><a href="http://www.moviemeter.nl/film/13375" >Stealth Fighter</a> (2000) </div><div class="form_horizontal_divider"><p> </p></div><p>Om van de uitgebreide zoekmogelijkheden gebruik te maken moet je ingeschreven en ingelogd zijn op de site.</p> </div>
/me cant make head or tails of it.
This is the line with the results:
<a name="results"></a><div class="actions" id="list_actions" style="display: none;"><b>acties</b>: <a href="http://www.moviemeter.nl/csv">maak CSV-export</a> | <a href="http://www.moviemeter.nl/votingtable">genereer stemtabel</a> | <a href="http://www.moviemeter.nl/my_mm/my_movies">naar Mijn Films</a> | <a href="http://www.moviemeter.nl/my_mm/to_updates">naar Mijn Updates</a></div><script type="text/javascript">document.getElementById('list_actions').style.display = 'block';</script><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row1"><a href="http://www.moviemeter.nl/film/17298" >Active Stealth</a> (1999) </div><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row2"><a href="http://www.moviemeter.nl/film/27633" >Stealth</a> (2005) </div><div class="form_horizontal_divider"><p> </p></div><div class="filmresults_row1"><a href="http://www.moviemeter.nl/film/13375" >Stealth Fighter</a> (2000) </div><div class="form_horizontal_divider"><p> </p></div><p>Om van de uitgebreide zoekmogelijkheden gebruik te maken moet je ingeschreven en ingelogd zijn op de site.</p> </div>