BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Bug Report
 TV.COM -- cast extract bug

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

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
Fred Posted - 14 Sep 2006 : 18:19:29
Hi,

you may want to update the #SERIECAST# block of the tv.com script with the following:


//--------------------------------------------------------------
#SERIECAST#

    #STARTREADWEB#

// Main Cast
    #WRITETITLELIST#=
    #WRITETITLELIST#=Main Cast:
    #WRITETITLELIST#=----------

    #FINDLINE#=<h1>Cast and Crew</h1>#10##ONERROR#=*STOP*

    :REPEATCASTSERIES
	// left side actor name
        #FINDLINE#=<td valign="top" class="pr-10" style="width:50%;">#10##ONERROR#=*STOP*
        #READNEXTLINE#
        #FIND#=>#01#
        #FIND#=<#02#
        #TAKEWORD#=#05#,#01#,#02#       //Actor Name

        #READNEXTLINE#
        #TAKEWORD#=#06#,#00#,#00#       //Alias
        #CHECKVARIABLE#=#06#
        #TRIM#
        #STRING#=#03#=#05# (#06#)
	 #TAKEACTORSERIE#=#03#

        #WRITETITLELIST#=#03#
	// right side actor name
        #FINDLINE#=<td valign="top" class="pl-10" style="width:50%;">#10##ONERROR#=*STOP*
        #READNEXTLINE#
        #FIND#=>#01#
        #FIND#=<#02#
        #TAKEWORD#=#05#,#01#,#02#       //Actor Name

        #READNEXTLINE#
        #TAKEWORD#=#06#,#00#,#00#       //Alias
        #CHECKVARIABLE#=#06#
        #TRIM#
        #STRING#=#03#=#05# (#06#)
	 #TAKEACTORSERIE#=#03#

        #WRITETITLELIST#=#03#
    #GOTO#=REPEATCASTSERIES

#ENDSERIECAST#
  • The cast is listed in two columns on TV.com

  • The original script extracts only the left column names

  • It would be easier if #FINDLINE#= would accept regular expressions so we could use only one #FINDLINE# to match both the 'class="pl-10"' and 'class="pr-10"' variants

1   L A T E S T    R E P L I E S    (Newest First)
Alessio Viti Posted - 15 Sep 2006 : 11:09:32
Thank you very much Fred!!

I will upload the modified script in few minutes.

Alessio

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