-----------------------------------------------
- eXtreme Movie Manager -
- MagicScript Technology -
- 2001-2006 Alessio "AleTsg" Viti -
-----------------------------------------------
- Web : TV.COM -
- Author : AleTsg/eb1 -
- Date : 18/04/2006 -
- Comments : Import All Information available -
- of Series and Episodes -
-----------------------------------------------
#MADEBY#=Aletsg/eb1
#DATEBUILD#=18/04/2006
#WEBSITE#=TV.COM
#NOTE#=Import some Episodes Info
#SCRIPTQUALITY#=5
#SCRIPTGENERATION#=3
#LANGUAGESORT#=ENGLISH
#TVSERIES#=TRUE
#SCRIPTFORACTORS#=FALSE
//New Tags of MagicScript Engine Generation 3
#LANGUAGESORT#=EN
[LANGUAGESORT]=EN=English|IT=Italian|FR=France|DE=Deutsche
#TYPE#=0
[TYPE]=0=Complete|1=Only Covers|2=Only Informations
#OPTIONS#=1
[OPTIONS]=0=No Options|1=With Options
#WEBQUERY#=http://www.tv.com/search.php?qs=#SERIE#&type=11&stype=all&tag=search%3Bbutton
//#WEBQUERY#=http://www.tv.com/search.php?type=11&stype=program&qs=#SERIE#
/////////////////////////////// Options List //////////////////////////////////////
// New Macro for Options that user can select, it's loaded before ALL others macro
#LOADOPTIONS#
//Set the Variable 80 = 0, the variables from 80 to 99 are for options purpose
//Note that the value between #80# and [ are the option's selected value,
//the value between[ ] is the name of the option and after ] there are
//the descriptions of the option
#SETOPTION#=#80#0[Reviews Import]0=Do not Take Reviews|1=Take Only First Reviews|2=Take ALL Reviews (Take Much Time!)
#SETOPTION#=#81#1[Similar Shows Import]0=Do not Take Similar Shows|1=Take Similar Shows
#SETOPTION#=#82#1[Serie Awards]0=Do not Take Serie Awards|1=Take Serie Awards
#SETOPTION#=#83#0[Serie Posters]0=Take only One Picture|1=Take ALL Pictures
#ENDLOADOPTIONS#
#RIGHTPAGEFOUND#
//skip this
#STARTREADWEB#
#PUT#=1#02#
#PUT#=0#01#
#PUT#=0#20#
#PUT#=1#21#
#CONDITIONRIGHTPAGE# #01#==#02#
#ENDRIGHTPAGEFOUND#
#CREATEMOVIELIST#
#STARTREADWEB#
#PUT#=0#20#
#PUT#=0#00#
#PUT#=1#21#
#GETTITLE#=#41#
#FINDLINE#=Your seach returned no results. Please try another query.#12#
#IF# #12#<>#20#
#WRITETITLELIST#=Your seach returned no results. Please try another query.
#GOTO#=ENDCREATELISTSERIE
#ENDIF#
#WRITETITLELIST#=---- List of Series Found, Select only ONE:
#STARTREADWEB#
//Repeat Cicle
:REPEATSERIETITLE
#FINDLINE#=Show: <a class="f-bold f-C30"#12##ONERROR#=*ASK*
#IF# #12#==#00#
//Search Ended
#GOTO#=ENDCREATELISTSERIE
#ENDIF#
// I have found the line with Link, now I will take the name
#SETCURSOR#=1
#FIND#=>#01# #ONERROR#=*OK*
#FIND#=</a>#02# #ONERROR#=*OK*
#TAKEWORD#=#10#,#01#,#02#
#CHECKVARIABLE#=#10#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#STARTDELETETAGS#
//Reset the cursor to take the link:
#RESETCURSOR#
#FIND#="http:#01#
#FIND#=:#02#
#FIND#="#02#
#TAKEWORD#=#03#,#01#,#02# // Serie-Information Link
#STRING#=#04#=#03# ---> #10#
#WRITETITLELIST#=#04#
#GOTO#=REPEATSERIETITLE
:ENDCREATELISTSERIE
#ENDCREATEMOVIELIST#
/////////////////////////////////////////////////////////////////////////////////////////////
//////////////////// PHASE 1, IMPORTING SERIE INFORMATIONS //////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////
//------------------------------------------------------------
#SERIETITLE#
#WRITETITLELIST#=Imported Informations:
#WRITETITLELIST#=----------------------
#STARTREADWEB#
// Get Show ID
#FINDLINE#=<div id="content-head" style="background-image#12##ONERROR=*STOP*
#FIND#=program/#01#
#FIND#=/#01#
#FIND#=.#02#
#TAKEWORD#=#53#,#01#,#02# // Show-ID, it's on variable #53#, i can use it after for episode list!
#WRITETITLELIST#=Serie ID: #53#
// Get Serie Title
#READNEXTLINE#
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02# // Serie-Title
#TITLE#=#03#
#WRITETITLELIST#=Title: #03#
#ENDSERIETITLE#
//-------------------------------------------------------------
#SERIEPREMIERED#
#STARTREADWEB#
// Get Serie Premiere Date
#FINDLINE#=Premiered#12##ONERROR=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#TAKEWORD#=#03#,#00#,#00# // Premiered Date
#CHECKVARIABLE#=#03#
#TRIM#
#PREMIERED#=#03#
#WRITETITLELIST#=Premiered: #03#
#ENDSERIEPREMIERED#
//--------------------------------------------------------------
#SERIECAST#
#STARTREADWEB#
// Main Cast
#WRITETITLELIST#=
#WRITETITLELIST#=Main Cast:
#WRITETITLELIST#=----------
#FINDLINE#=<h1>Cast and Crew</h1>#10##ONERROR#=*STOP*
:REPEATCASTSERIES
#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#
#GOTO#=REPEATCASTSERIES
#ENDSERIECAST#
//---------------------------------------------------------------
#SERIEGENRE#
#WRITETITLELIST#=
#STARTREADWEB#
#FINDLINE#=Show Categories:#10##ONERROR#=*STOP*
#READNEXTLINE#
:CICLOSERIEGENRE
#FIND#=<a href="http#01##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02# //Genre
#TAKEGENRE#=#03#
#WRITETITLELIST#=Genre: #03#
#GOTO#=CICLOSERIEGENRE
#ENDSERIEGENRE#
//---------------------------------------------------------------
#SERIESUBGENRE#
#ENDSERIESUBGENRE#
//---------------------------------------------------------------
#SERIECOUNTRY#
#ENDSERIECOUNTRY#
//---------------------------------------------------------------
#SERIELANGUAGE#
#ENDSERIELANGUAGE#
//---------------------------------------------------------------
#SERIERATING#
#STARTREADWEB#
#FINDLINE#=<span class="f-28 f-bold mt-10 mb-10 f-FF9 db lh-18">#10##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02# //Rating
#CHECKVARIABLE#=#03#
#TRIM#
#TAKERATING#=#03#
#WRITETITLELIST#=Rating: #03#
#ENDSERIERATING#
//---------------------------------------------------------------
#SERIECOMMENTS#
#ENDSERIECOMMENTS#
//---------------------------------------------------------------
#SERIEPLOT#
#WRITETITLELIST#=
#WRITETITLELIST#=Plot:
#WRITETITLELIST#=-----
#STARTREADWEB#
#FINDLINE#=Show Categories:#10##ONERROR#=*STOP*
#FINDLINE#=<div class="mt-10">#10##ONERROR#=*STOP*
:REPEATPLOTPARTE1
#READNEXTLINE#
#FIND#=http:#10##ONERROR#=*OK*
#IF# #10#==#00#
//Plot Start
#GOTO#=REPEATPLOTSERIE
#ENDIF#
#GOTO#=REPEATPLOTPARTE1
:REPEATPLOTSERIE
#FIND#=<a href#10##ONERROR#=*OK*
#IF# #10#<>#00#
//Plot Finished
#GOTO#=ENDREPEATPLOTSERIES
#ENDIF#
#PUT#=1#01#
#TAKEWORD#=#03#,#00#,#00# //Entire Line of Plot
#CHECKVARIABLE#=#03#
#TRIM#
#CLEARTAGS#
#TAKEPLOT#=#03#
#WRITETITLELIST#=#03#
#READNEXTLINE#
#GOTO#=REPEATPLOTSERIE
:ENDREPEATPLOTSERIES
#ENDSERIEPLOT#
//---------------------------------------------------------------
#SERIEREVIEWS#
// Options #80#, if = 0 user DO NOT WANT Review, so exit
#IF# #80#==#00#
#GOTO#=ENDSERIEREVIEW
#ENDIF#
#TAKEREVIEW#=#00#
:ENDSERIEREVIEW
#ENDSERIEREVIEWS#
//---------------------------------------------------------------
#SIMILARSHOWS#
// Options #81#, if = 0 user DO NOT WANT Similar Shows, so exit
#IF# #81#==#00#
#GOTO#=ENDSIMILARSHOWS
#ENDIF#
#WRITETITLELIST#=
#WRITETITLELIST#=Similar Shows:
#WRITETITLELIST#=--------------
#STARTREADWEB#
#FINDLINE#=<h2>Similar Shows</h2>#10##ONERROR#=*STOP*
:REPEATSIMILARSHOWS
#FINDLINE#=<div class="divider"></div>#10##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#FIND#=title="#01##ONERROR#=*STOP*
#FIND#="#01##ONERROR#=*OK*
#COMPUTECURSOR#=+2
#FIND#="#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02# //Similar Shows
#CHECKVARIABLE#=#03#
#TRIM#
#SIMILARSHOWS#=#03#
#WRITETITLELIST#=#03#
#GOTO#=REPEATSIMILARSHOWS
:ENDSIMILARSHOWS
#ENDSIMILARSHOWS#
//---------------------------------------------------------------
#SERIEAWARDS#
// Options #82#, if = 0 user DO NOT WANT Awards, so exit
#IF# #82#==#00#
#GOTO#=ENDSERIEAWARDS
#ENDIF#
:ENDSERIEAWARDS
#ENDSERIEAWARDS#
//---------------------------------------------------------------
#SERIEPOSTER#
#WRITETITLELIST#=
#WRITETITLELIST#=Take Pictures...wait please
#STARTREADWEB#
#FINDLINE#=<a class="default-image more" href=#10##ONERROR#=*OK*
#IF# #10#==#00#
#GOTO#=SECONDPOSTER
#ENDIF#
#READNEXTLINE#
#FIND#="http://image.com.com#01##ONERROR#=*OK*
#IF# #01#<>#00#
#FIND#=:#02##ONERROR#=*STOP*
#FIND#="#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02# //First picture
#TAKEPOSTERSERIE#=#03#
#GOTO#=ENDSERIEPOSTER
#ENDIF#
:SECONDPOSTER
#STARTREADWEB#
#FINDLINE#=<a class="default-image">#10##ONERROR#=*STOP*
#READNEXTLINE#
#FIND#="http://image.com.com#01##ONERROR#=*OK*
#IF# #01#<>#00#
#FIND#=:#02##ONERROR#=*STOP*
#FIND#="#02##ONERROR#=*OK*
#TAKEWORD#=#03#,#01#,#02# //First picture
#TAKEPOSTERSERIE#=#03#
#GOTO#=ENDSERIEPOSTER
#ENDIF#
// Options #83#, if = 0 user want only one picture, exit
#IF# #83#==#00#
#GOTO#=ENDSERIEPOSTER
#ENDIF#
:ENDSERIEPOSTER
#ENDSERIEPOSTER#
/////////////////////////////////////////////////////////////////////////////////////////////
//////////////////// PHASE 2, IMPORTING EPISODE INFORMATIONS ////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////
#CREATEEPISODELIST#
//This special Macro create the list of all episodes of the serie. so user can choose what episode want import
//REMEMBER: I use the WEBSLOT1 for import episodes!!!
#WRITETITLELIST#=---- List of Episodes Found, Select ALL you want Import and Add in Database:
#STRING#=#41#=http://www.tv.com/show/#53#/episode_listings.html&season=0
#OPENWEBSLOT1#=#41#
#LOADWEBSLOT1#
#STARTREADWEB#
#PUT#=0#20#
#PUT#=0#00#
#PUT#=1#21#
#GETTITLE#=#41#
#FINDLINE#=<table cellpadding="0" cellspacing="0" style="width:100%;">#12# #ONERROR#=*STOP*
:REPEATCICLEEPISODES
//Take Episode Link, Clear first the Variable
#PUT#=#32#
#PUT#=0#00#
#FINDLINE#=<td class="first f-bold ta-c" style="width:1%;" nowrap="nowrap">#12# #ONERROR#=*STOP*
//Episode Number
#READNEXTLINE#
#TAKEWORD#=#33#,#00#,#00# //Episode Number
#CHECKVARIABLE#=#33#
#TRIM#
#FINDLINE#=<a href="http://www.tv.com#12# #ONERROR#=*STOP*
#FIND#="http:#01# #ONERROR#=*STOP*
#FIND#=:#02# #ONERROR#=*STOP*
#FIND#="#02# #ONERROR#=*OK*
#TAKEWORD#=#20#,#01#,#02# //Link
#FIND#=>#01# #ONERROR#=*STOP*
#FIND#=<#02# #ONERROR#=*STOP*
#TAKEWORD#=#32#,#01#,#02# //Title
// NOT VALID ANYMORE---------------------------------------------
//in TV.COM the season-episode number is only on the main page (not in the episode page), so if I want that XMM read this season and
//episode number I must write, in the title of the episode, the value, between §, of
§S:x§ where x is the Season Number
§E:x§ where x is for Episode number
// NOT VALID ANYMORE---------------------------------------------
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
#TAKEWORD#=#35#,#00#,#00# //Air Date
#CHECKVARIABLE#=#35#
#TRIM#
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
#TAKEWORD#=#36#,#00#,#00# //Production Code
#CHECKVARIABLE#=#36#
#TRIM#
#STRING#=#32#=#32# (Ep.Num:#33#)-(Prod.Code:#36#)-(Air Date:#35#)
#STRING#=#04#=#20# ---> #32#
#CHECKVARIABLE#=#04#
#TRIM#
#STARTDELETETAGS#
#CLEARTAGS#
#WRITETITLELIST#=#04#
#GOTO#=REPEATCICLEEPISODES
#ENDCREATEEPISODELIST#
//------------------------------------------------------------
#EPISODETITLE#
// Get Serie Title
#STARTREADWEB#
#FINDLINE#=<td valign="top" class="pr-10 pl-10">#12##ONERROR#=*STOP*
#READNEXTLINE#
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#41#,#01#,#02# // Episode-Title
#TITLE#=#41#
#ENDEPISODETITLE#
//------------------------------------------------------------
#EPISODESEASON#
#FINDLINE#=Episode Number:#06#
#FIND#=:#06#
#FIND#= #07#
#TAKEWORD#=#09#,#06#,#07# //Episode Number
#CHECKVARIABLE#=#09#
#TRIM#
#FIND#=Season Num:#06#
#FIND#=:#06#
#FIND#= #07#
#TAKEWORD#=#08#,#06#,#07# //Episode Number
#CHECKVARIABLE#=#08#
#TRIM#
// if Season Number < 10 then for ex. Season Number = 02
#IF# #08# << #10#
#STRING#=#08#=0#08#
#ENDIF#
#TAKENUMBER#=#09#
// if Episode Number < 10 then for ex. Episode Number = 08
#IF# #09# << #10#
#STRING#=#09#=0#09#
#ENDIF#
#TAKESEASON#=#08#
// naming convention: "Season"x"Episode". "Episode Title"
#STRING#=#47#=#08#x#09#. #41#
#WRITETITLELIST#=Title: #47#
#ENDEPISODESEASON#
//------------------------------------------------------------
#EPISODEAIRDATE#
#STARTREADWEB#
#FINDLINE#=First Aired:#12##ONERROR#=*STOP*
#FIND#=:#01#
#FIND#= #02#
#TAKEWORD#=#03#,#01#,#02# // Air Date
#PREMIERED#=#03#
#WRITETITLELIST#=Originally Aired: #03#
#ENDEPISODEAIRDATE#
//------------------------------------------------------------
#EPISODEPRODCODE#
#STARTREADWEB#
#FINDLINE#=Prod Code:#12##ONERROR#=*STOP*
#FIND#=:#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02# // Production Code
#TAKEPRODCODE#=#03#
#WRITETITLELIST#=Production Code: #03#
#ENDEPISODEPRODCODE#
//------------------------------------------------------------
#EPISODERATING#
#STARTREADWEB#
#FINDLINE#=<span class="f-bold">Score:</span>#10##ONERROR#=*STOP*
#READNEXTLINE#
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02# //Rating
#CHECKVARIABLE#=#03#
#TRIM#
#TAKERATING#=#03#
#WRITETITLELIST#=Rating: #03#
#ENDEPISODERATING#
//------------------------------------------------------------
#EPISODEWRITER#
#STARTREADWEB#
#FINDLINE#=Writer:#12##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
:REPEATEPISODEWRITER
#FIND#=<a href="#01##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02#
#TAKEWRITER#=#03#
#WRITETITLELIST#=Writer: #03#
#GOTO#=REPEATEPISODEWRITER
#ENDEPISODEWRITER#
//------------------------------------------------------------
#EPISODEDIRECTOR#
#STARTREADWEB#
#FINDLINE#=Director:#12##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
:REPEATEPISODEDIRECTOR
#FIND#=<a href="#01##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02#
#TAKEDIRECTOR#=#03#
#WRITETITLELIST#=Director: #03#
#GOTO#=REPEATEPISODEDIRECTOR
#ENDEPISODEDIRECTOR#
//------------------------------------------------------------
#EPISODESTORY#
#RESTOREMAIN# //Open the Main Webpage
#STARTREADWEB#
#FINDLINE#=Story:#12##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
:REPEATEPISODESTORY
#FIND#=<a href="#01##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02#
#TAKESTORY#=#03#
#WRITETITLELIST#=Story: #03#
#GOTO#=REPEATEPISODESTORY
#ENDEPISODESTORY#
//------------------------------------------------------------
#EPISODESHOWSTARS#
#RESTOREMAIN# //Open the Main Webpage
#STARTREADWEB#
#FINDLINE#=Guest star:#12##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
:REPEATEPISODESHOWSTARS
#FIND#=<a href="#01##ONERROR#=*STOP*
#FIND#=>#01#
#FIND#=<#02#
#TAKEWORD#=#03#,#01#,#02#
#TAKEACTORSERIE#=#03#
#WRITETITLELIST#=Show Stars: #03#
#GOTO#=REPEATEPISODESHOWSTARS
#ENDEPISODEHOWSTARS#
//------------------------------------------------------------
#EPISODEPLOT#
#WRITETITLELIST#=
#WRITETITLELIST#=Plot:
#WRITETITLELIST#=-----
#PUT#=#08#
#STARTREADWEB#
#FINDLINE#=<div id="main-col">#10##ONERROR#=*STOP*
#READNEXTLINE#
#READNEXTLINE#
#READNEXTLINE#
:CICLOEPPLOT1
#FIND#=<div class="ta-r mt-10 f-bold">#23##ONERROR#=*OK*
#IF# #23#<>#00#
#GOTO#=ENDREPEATPLOTEPISODE
#ENDIF#
#TAKEWORD#=#03#,#00#,#00# //Entire Line of Plot
#CHECKVARIABLE#=#03#
#TRIM#
#CLEARTAGS#
#TAKEPLOT#=#03#
#WRITETITLELIST#=#03#
#READNEXTLINE#
#GOTO#=CICLOEPPLOT1
:ENDREPEATPLOTEPISODE
#ENDEPISODEPLOT#
//------------------------------------------------------------
#EPISODEREVIEWS#
#ENDEPISODEREVIEWS#
//------------------------------------------------------------
#EPISODECOMMENTS#
#ENDEPISODECOMMENTS#
//------------------------------------------------------------
#EPISODETRIVIA#
(TakeTagline)
#ENDEPISODETRIVIA#
//------------------------------------------------------------
#EPISODECOMMENTS#
#ENDEPISODECOMMENTS#
//------------------------------------------------------------
#EPISODEQUOTES#
#ENDEPISODEQUOTES#
//------------------------------------------------------------
#EPISODECUSTOM1#
#ENDEPISODECUSTOM1#
//------------------------------------------------------------
#EPISODECUSTOM2#
#ENDEPISODECUSTOM2#
//------------------------------------------------------------
#EPISODECUSTOM3#
#ENDEPISODECUSTOM3#
//------------------------------------------------------------
#EPISODECUSTOM4#
#ENDEPISODECUSTOM4#
//------------------------------------------------------------
#EPISODECUSTOM5#
#ENDEPISODECUSTOM5#
//------------------------------------------------------------
#EPISODECUSTOM6#
#ENDEPISODECUSTOM6#
//------------------------------------------------------------
#EPISODECUSTOM7#
#ENDEPISODECUSTOM7#
//------------------------------------------------------------
#EPISODECUSTOM8#
#ENDEPISODECUSTOM8#
//------------------------------------------------------------
#EPISODECUSTOM9#
#ENDEPISODECUSTOM9#
//------------------------------------------------------------
#EPISODECUSTOM10#
#ENDEPISODECUSTOM10#
//------------------------------------------------------------
#EPISODECUSTOM11#
#ENDEPISODECUSTOM11#
//------------------------------------------------------------
#EPISODEPOSTER#
(TakePosterEpisode)
#ENDEPISODEPOSTER#
#DELETETAGS#
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=watch video
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=
#DELETEWORD#=<BR>
#DELETEWORD#=</BR>
#DELETEWORD#=<br>
#DELETEWORD#=</br>
#DELETEWORD#=</P>
#DELETEWORD#=</B>
#DELETEWORD#=<B>
#DELETEWORD#=</b>
#DELETEWORD#=<b>
#DELETEWORD#=(Edit)
#DELETEWORD#=<br />
#DELETEWORD#=</b>
#DELETEWORD#=br />
#DELETEWORD#=<b
#DELETEWORD#=b>
#DELETEWORD#=
#ENDDELETETAGS#
#SUBSTITUTETAGS#
#SUBSTITUTEWORD#=#160;=
#SUBSTITUTEWORD#=#161;=¡
#SUBSTITUTEWORD#=#162;=¢
#SUBSTITUTEWORD#=#163;=£
#SUBSTITUTEWORD#=#164;=¤
#SUBSTITUTEWORD#=#165;=¥
#SUBSTITUTEWORD#=#166;=¦
#SUBSTITUTEWORD#=#167;=§
#SUBSTITUTEWORD#=#168;=¨
#SUBSTITUTEWORD#=#169;=©
#SUBSTITUTEWORD#=#170;=ª
#SUBSTITUTEWORD#=#171;=«
#SUBSTITUTEWORD#=#172;=¬
#SUBSTITUTEWORD#=#173;=
#SUBSTITUTEWORD#=#174;=®
#SUBSTITUTEWORD#=#175;=¯
#SUBSTITUTEWORD#=#176;=°
#SUBSTITUTEWORD#=#177;=±
#SUBSTITUTEWORD#=#178;=²
#SUBSTITUTEWORD#=#179;=³
#SUBSTITUTEWORD#=#180;=´
#SUBSTITUTEWORD#=#181;=µ
#SUBSTITUTEWORD#=#182;=¶
#SUBSTITUTEWORD#=#183;=·
#SUBSTITUTEWORD#=#184;=¸
#SUBSTITUTEWORD#=#185;=¹
#SUBSTITUTEWORD#=#186;=º
#SUBSTITUTEWORD#=#187;=»
#SUBSTITUTEWORD#=#188;=¼
#SUBSTITUTEWORD#=#189;=½
#SUBSTITUTEWORD#=#190;=¾
#SUBSTITUTEWORD#=#191;=¿
#SUBSTITUTEWORD#=#192;=À
#SUBSTITUTEWORD#=#193;=Á
#SUBSTITUTEWORD#=#194;=Â
#SUBSTITUTEWORD#=#195;=Ã
#SUBSTITUTEWORD#=#196;=Ä
#SUBSTITUTEWORD#=#197;=Å
#SUBSTITUTEWORD#=#198;=Æ
#SUBSTITUTEWORD#=#199;=Ç
#SUBSTITUTEWORD#=#200;=È
#SUBSTITUTEWORD#=#201;=É
#SUBSTITUTEWORD#=#202;=Ê
#SUBSTITUTEWORD#=#203;=Ë
#SUBSTITUTEWORD#=#204;=Ì
#SUBSTITUTEWORD#=#205;=Í
#SUBSTITUTEWORD#=#206;=Î
#SUBSTITUTEWORD#=#207;=Ï
#SUBSTITUTEWORD#=#208;=Ð
#SUBSTITUTEWORD#=#209;=Ñ
#SUBSTITUTEWORD#=#210;=Ò
#SUBSTITUTEWORD#=#211;=Ó
#SUBSTITUTEWORD#=#212;=Ô
#SUBSTITUTEWORD#=#213;=Õ
#SUBSTITUTEWORD#=#214;=Ö
#SUBSTITUTEWORD#=#215;=×
#SUBSTITUTEWORD#=#216;=Ø
#SUBSTITUTEWORD#=#217;=Ù
#SUBSTITUTEWORD#=#218;=Ú
#SUBSTITUTEWORD#=#219;=Û
#SUBSTITUTEWORD#=#220;=Ü
#SUBSTITUTEWORD#=#221;=Ý
#SUBSTITUTEWORD#=#222;=Þ
#SUBSTITUTEWORD#=#223;=ß
#SUBSTITUTEWORD#=#224;=à
#SUBSTITUTEWORD#=#225;=á
#SUBSTITUTEWORD#=#226;=â
#SUBSTITUTEWORD#=#227;=ã
#SUBSTITUTEWORD#=#228;=ä
#SUBSTITUTEWORD#=#229;=å
#SUBSTITUTEWORD#=#230;=æ
#SUBSTITUTEWORD#=#231;=ç
#SUBSTITUTEWORD#=#232;=è
#SUBSTITUTEWORD#=#233;=é
#SUBSTITUTEWORD#=#234;=ê
#SUBSTITUTEWORD#=#235;=ë
#SUBSTITUTEWORD#=#236;=ì
#SUBSTITUTEWORD#=#237;=í
#SUBSTITUTEWORD#=#238;=î
#SUBSTITUTEWORD#=#239;=ï
#SUBSTITUTEWORD#=#240;=ð
#SUBSTITUTEWORD#=#241;=ñ
#SUBSTITUTEWORD#=#242;=ò
#SUBSTITUTEWORD#=#243;=ó
#SUBSTITUTEWORD#=#244;=ô
#SUBSTITUTEWORD#=#245;=õ
#SUBSTITUTEWORD#=#246;=ö
#SUBSTITUTEWORD#=#247;=÷
#SUBSTITUTEWORD#=#248;=ø
#SUBSTITUTEWORD#=#249;=ù
#SUBSTITUTEWORD#=#250;=ú
#SUBSTITUTEWORD#=#251;=û
#SUBSTITUTEWORD#=#252;=ü
#SUBSTITUTEWORD#=#253;=ý
#SUBSTITUTEWORD#=#254;=þ
#SUBSTITUTEWORD#=#255;=ÿ
#SUBSTITUTEWORD#=<li>=·
#SUBSTITUTEWORD#=<ul>=
#ENDSUBSTITUTETAGS#
Here is your fix