BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 IMDB Top List Problem

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
tage1r Posted - 09 Oct 2008 : 00:01:15
Hi there,
there is a problem with this script at the IMDB Top 250 section; the custom1 field. input #13 takes the Top 250: string as well so the output comes as follows;

the shawshank redemption --> 00Top 250: #1 which I assume supposed to be --> Top 250:# 001
hence I made a change in the script as below;

#CHECKVARIABLE#=#13#
#STARTDELETETAGS#
#TRIM#
#DELETETAGS#
#DELETEWORD#=Top
#DELETEWORD#= 
#DELETEWORD#=250:
#DELETEWORD#=#
#ENDDELETETAGS#

#IF# #13#<<#50#
#STRING#=#04#=Top 250:# 00#13#
#TAKECUSTOM1#=#04#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#
#IF# #13#<<#49#
#STRING#=#04#=Top 250:# 0#13#

I am new to script language therefore it seemed me a long way. I need someone to correct with the correct way.
7   L A T E S T    R E P L I E S    (Newest First)
tage1r Posted - 25 Oct 2008 : 12:31:27
I believe this will solve the problem; at least it does for the moment :)

--IMDBTOP250--------------------------------------------------------------------------------
#CUSTOM1#

#PUT#=100#49#
#PUT#=10#50#
#RESTOREMAIN#
#STARTREADWEB#
#FINDLINE#=/chart/top?#15##ONERROR#=*OK*
#IF# #15#==#00#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#
#FIND#=>#11##ONERROR#=*STOP*
#COMPUTECURSOR#=10
#PUTCURSOR#=#48#
#FIND#=</script>#12##ONERROR#=*STOP*
#TAKEWORD#=#13#,#48#,#12#
#IF# #13#<<#50#
#STRING#=#04#=Top 250:# 00#13#
#TAKECUSTOM1#=#04#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#
#IF# #13#<<#49#
#STRING#=#04#=Top 250:# 0#13#
#TAKECUSTOM1#=#04#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#


#STRING#=#04#=Top 250:# #13#
#TAKECUSTOM1#=#04#


:ENDTAKECUSTOM1250

#ENDCUSTOM1#
tage1r Posted - 25 Oct 2008 : 10:25:00
I guess you've deleted "0" and "00" cases which I suppose they are required to support ascending to descending sorting when you hit the custom1 tab. Because when you delete those numbers the numbers will be sorted;

1
108
178
23
234
3
4

so that's why I guess "0" and "00" are in the script

fege Posted - 24 Oct 2008 : 23:05:05
Try this:

#CUSTOM1#

#PUT#=100#49#
#PUT#=10#50#
#RESTOREMAIN#
#STARTREADWEB#
#FINDLINE#=/chart/top?#15##ONERROR#=*OK*
#IF# #15#==#00#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#
#FIND#=>Top 250: #11##ONERROR#=*STOP*
#FIND#=</script>#12##ONERROR#=*STOP*
#TAKEWORD#=#13#,#11#,#12#
#STARTDELETETAGS#
#TRIM#
#IF# #13#<<#50#
#STRING#=#04#=#13#
#TAKECUSTOM1#=#04#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#
#IF# #13#<<#49#
#STRING#=#04#=#13#
#TAKECUSTOM1#=#04#
#GOTO#=ENDTAKECUSTOM1250
#ENDIF#


#TAKECUSTOM1#=#13#

:ENDTAKECUSTOM1250

#ENDCUSTOM1#
tage1r Posted - 24 Oct 2008 : 18:25:40
hi again,
I assume there is something wrong about the script I wrote above. I assume the line #DELETEWORD#=
deletes all the "spaces" of script complete output. How can I make it run just to the input I've chosen?
tage1r Posted - 16 Oct 2008 : 18:12:27
Hi there,

I've checked IMDB.com(complete) script but still have the same problem.

Alessio Viti Posted - 14 Oct 2008 : 18:24:27
Hi,

I have upload a new release of the script, let me know if you still have problems.

Thank you,

Alessio
tage1r Posted - 09 Oct 2008 : 00:18:57
I've overmissed one point also need to change the last part as well ;
instead of
#ENDIF#
#TAKECUSTOM1#=#13#

it should be

#ENDIF#
#STRING#=#04#=Top 250:# #13#
#TAKECUSTOM1#=#04#


BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.07 sec. Powered By: Snitz Forums 2000 Version 3.4.07