BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 IMDB and Trivia
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JDommi
Administrator

Germany
4638 Posts

Posted - 30 Jan 2016 :  12:48:36  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
As already mentioned in another topic I need help on a problem in the new IMDB(Complete) script.

The section for the trivia of an actor is buggy but I don't know why.

If the trivia is taken all the info is taken except for the last actor (only name, character and webid).
If the trivia is not taken the data is for every actor ok.

I have tried it with different routines but without any success.
Now I even have any idea how to correct...


Routine 1:
:TRIVIAACTOR 
    #STARTREADWEB#
    #FINDLINE#=<h4 class="li_group">Trivia #12##ONERROR#=*OK*
    #IF# #12#==#00#
        // No trivia        
        #GOTO#=ENDACTORDATA
    #ENDIF#

    #PUT#=1#28#
    #STRING#=#13#=TRIVIA#NEWLINE#
    #TAKEACTORBIO#=#13# #ONERROR#=*OK*
    #STRING#=#13#=---------------------------- #NEWLINE#
    #TAKEACTORBIO#=#13# #ONERROR#=*OK*
:NTRIV 
    #READNEXTLINE#
    #FIND#=<a name="#12#
    #IF# #12#==#00#
	    #RESETCURSOR#
	    #TAKEWORD#=#13#,#00#,#00#
    	#CHECKVARIABLE#=#13#
    	#STARTSUBSTITUTETAGS#
	    #STARTDELETETAGS#
    	#CLEARTAGS#
	    #STRING#=#13#=#13# #NEWLINE#
    	#TAKEACTORBIO#=#13# #ONERROR#=*OK*
        #GOTO#=NTRIV
    #ENDIF#
:NOABIOPAGE 

Routine 2:
:TRIVIAACTOR 
    #STARTREADWEB#
    #FINDLINE#=<h4 class="li_group">Trivia #12##ONERROR#=*OK*
    #IF# #12#==#00#
        // No trivia        
        #GOTO#=ENDACTORDATA
    #ENDIF#

    #PUT#=1#28#
    #STRING#=#13#=TRIVIA#NEWLINE#
    #TAKEACTORBIO#=#13# #ONERROR#=*OK*
    #STRING#=#13#=---------------------------- #NEWLINE#
    #TAKEACTORBIO#=#13# #ONERROR#=*OK*
	#PUT#=#13#

	#REPEAT#
		#READNEXTLINE#
		#FIND#=<a name="#12# #ONERROR#=*OK*
		#TAKEWORD#=#16#,#00#,#00#
		#CHECKVARIABLE#=#16#
		#STARTSUBSTITUTETAGS#
		#STARTDELETETAGS#
		#CLEARTAGS#
		#STRING#=#13#=#13##NEWLINE##16#
    #WHILE# #12#==#00#
	#TAKEACTORBIO#=#13# #ONERROR#=*OK*

:NOABIOPAGE 

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse

washandgo
Junior Member

Spain
257 Posts

Posted - 31 Jan 2016 :  15:13:44  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Por dios y la virgen cuantas lineas.... se me ha caido el alma a los pies, aunque tardes 3 meses tu tranquilo que no pasa nada, yo puedo tardar cinco aņos en enterder solo una parte.
Rezo para que la gente de fimaffinity no se les ocurra cambiar la web....
Enorme y gran trabajo JDommi, gracias.

Google traslation

By God and the Virgin few lines .... I've dropped the heart sink, but your quiet evenings three months nothing happens, I can take five years enterder only a part.
I pray that people do not even think fimaffinity change the web ....
JDommi huge and great job, thanks.

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.13 sec. Powered By: Snitz Forums 2000 Version 3.4.07