Author Topic: Update to Tom's Movie Review HTML Window!  (Read 852 times)

Offline addicted2dvd

  • Forum Inventory
  • ********
  • Posts: 17685
  • Country: us
    • View Profile
Update to Tom's Movie Review HTML Window!
« on: June 23, 2012, 03:54:57 PM »
I just finished up a PM conversation with Tom about the movie review html window. Thank You so much for the help Tom!  :clap: :thanks:

In the current window you have to have the codes for IMDB and Wikipedia in the notes section to get them to show up in your reviews. This is something I never got to adding. But I have been using "My Links"... downloading the online links to "My Links". So I was wondering if he could pull it from there. Sure enough he comes up with the code to do it! I also asked to have a link to the trailer added. So now my reviews will look more like...



     13 Ghosts (1960/United States)
Wikipedia |IMDb |Trailer |
Columbia TriStar Home Entertainment
Director:William Castle
Writing:Robb White (Writer)
Length:84 min.
Rating:NR
Video:Anamorphic Widescreen 1.85:1
Audio:English: Dolby Digital: Mono, Spanish: Dolby Digital: Mono
Subtitles:Chinese, English, French, Korean, Portuguese, Spanish, Thai

Stars:
Charles Herbert as Buck Zorba
Jo Morrow as Medea Zorba
Martin Milner as Ben Rush
Rosemary De Camp as Hilda Zorba
Donald Woods as Cyrus Zorba
Margaret Hamilton as Elaine Zacharides

Plot:
It's 13 GHOSTS, a ghoulish fright-fest from producer/director William Castle. When an eccentric uncle wills a huge, ramshackle house to Cyrus (Donald Woods) and his impoverished family, they get the shock of a lifetime. Their new residence comes complete with a spooky housekeeper, Elaine (Margaret Hamilton), plus a fortune in buried treasure and 12 horrifying ghosts. As the terrified family soon discovers, these haunting ectoplasms include a decapitated man, a wailing lady and a flaming skeleton, who are held captive in the eerie house and must find an unlucky 13th to free them! Who'll be the final victim of these ghostly shenanigans?
See for yourself-if you dare!

Extras:
  • Scene Access
  • Feature Trailers
  • Bonus Trailers
  • Featurettes
  • Closed Captioned
  • Illusion-O glasses, Booklet


My Thoughts:



My Rating:
Out of a Possible 5




If you use My Links... and  this html window for reviews... here is an updated code...

Code: [Select]
<HTML>
<HEAD>
<script language="JavaScript">
<DP NAME="HEADER_VARS">
</script>
</HEAD>
<BODY>
[table][/tr]<br/>
[td]
<SCRIPT language=javascript>
document.write('[img]http://www.invelos.com/mpimages/' + DP_UPC.substring(0,2) + '/' + DP_UPC + 'f.jpg[/img]' );</script>
[/td]<br/>
[td] &nbsp; &nbsp; [/td]<br/>
<br/>
[td][b][size=11pt]<DP NAME="ORIGINAL_TITLE" UseTitleIfBlank="YES" >[/size] (<DP NAME="PRODYEAR">/<DP NAME="COUNTRY_OF_ORIGIN">)[/b]
<br/>
<SCRIPT language=javascript>
for (iLink in DP_MyLinks)
{
   var Link = DP_MyLinks[iLink];
   var LinkDesc = Link.description;
   if (LinkDesc == "Wikipedia" || LinkDesc.toUpperCase() == "IMDB" || LinkDesc == "YouTube")
  {
     if (LinkDesc == "YouTube") LinkDesc = "Trailer";
     document.write('[url=' + Link.URL + ']' + LinkDesc + '[/url] |');
  }
}
</script>
[hr]<br/>
[table]<br/>
[tr][td][b]<SCRIPT language=javascript>
if (DP_MediaTypeBluRay) { document.write('[img]http://www.invelos.com/images/BluRayLogo.png[/img]') }
if (DP_MediaTypeDVD) { document.write('[img]http://www.invelos.com/images/DVDLogo.png[/img]') }</script>[/b][/td][td]<DP NAME="MEDIA_COMPANIES"> (<DP NAME="LOCALITY">)[/td][/tr]<br/>
[tr][td][b]Director:[/b][/td][td]<DP NAME="CREW_DIRECTION">[/td][/tr]<br/>
[tr][td][b]Writing:[/b][/td][td]<DP NAME="CREW_WRITING" Suffix=")" Divider="), " RoleDivider=" (" ShowRoles="YES">[/td][/tr]<br/>
[tr][td][b]Length:[/b][/td][td]<DP NAME="RUNTIME" TotalInMins="TRUE"> min.[/td][/tr] <br/>
[tr][td][b]Video:[/b][/td][td]<DP NAME="VIDFORMATS" Ratios="YES">[/td][/tr]<br/>
[tr][td][b]Audio:[/b][/td][td]<DP NAME="AUDIOTRACKS"> [/td][/tr]<br/>
[tr][td][b]Subtitles:[/b][/td][td]<DP NAME="SUBTITLES">[/td][/tr]<br/>
[/table]<br/>
[/td]
[/tr][/table]<br/>
[hr]<br/>
[b]Stars:[/b]<br/>
<DP NAME="CAST" RoleDivider=" as " ShowRoles="YES" ShowRoles="NO" MaxList="5" Divider="BREAK">
<br/><br/>
[b]Plot:[/b]<br/>
<DP NAME="OVERVIEW">
<br/><br/>

<SCRIPT language=javascript>
  var ViewerDB = new ActiveXObject("CCViewerDb.clsCCVDB");
  ViewerDB.Open("C:\\Users\\Tom\\Documents\\CCViewer3\\WorkingDatabase2.mdb")
  var OriginalTitle = DP_OriginalTitle;
  if (OriginalTitle=="") OriginalTitle = DP_Title;
  var CCV_Awards = ViewerDB.GetMovieAwards(OriginalTitle, DP_ProductionYear.toString(), false);

if (CCV_Awards.Count != 0)
{
  document.write("[b]Awards:[/b]<br/>");

  var strWon = "";
  var strNom = "";
  for (iAward = 0; iAward < CCV_Awards.Count; iAward++)
  {
    Award = CCV_Awards(iAward);
    if (Award.HasWon)
    {
      strWon+="[tr][td]" + Award.AwardName + " (" + Award.AwardYear + ")[/td][td] &nbsp;[/td]";
      strWon+="[td]" + Award.Category;
      if (Award.GetNomineeString() != "") strWon+=" (" + Award.GetNomineeString() + ")";
      strWon+="[/td][/tr]<br/>";
    }
    else
    {
      strNom+="[tr][td]" + Award.awardName + " (" + Award.awardYear + ")[/td][td] &nbsp;[/td]";
      strNom+="[td]" + Award.awardCategory;
      if (Award.GetNomineeString() != "") strNom+=" (" + Award.GetNomineeString() + ")";
      strNom+="[/td][/tr]<br/>";
    }
  }
  if (strWon != "")
  {
     document.write("[u]Won:[/u]<br/>[table]<br/>");
     document.write(strWon);
     document.write("[/table]<br/>");
  }
  if (strNom != "")
  {
     document.write("[u]Nominated:[/u]<br/>[table]<br/>");
     document.write(strNom);
     document.write("[/table]<br/>");
  }
  document.write("<br/>");
}
</SCRIPT>



[b]Extras:[/b]<br/>
[list]<br/>
<SCRIPT language=javascript>
var Features = "<DP NAME="FEATURES" Divider="|">";
var CCV_Features = Features.split("|");
for (iFeature in CCV_Features)
{
  Feature = CCV_Features[iFeature];
  document.write("[li]" + Feature + "[/li]<br/>");
}
</SCRIPT>
[/list]
<br/><br/>
[center][size=12pt][b][u]My Thoughts:[/u][/b][/size][/center]<br/>
<br/>
<br/>
[b]Rating:[/b]
</BODY>
</HTML>

Report To Admin

If you want to just add the links code to your review template... the code for just the links is...

Code: [Select]
<SCRIPT language=javascript>
for (iLink in DP_MyLinks)
{
   var Link = DP_MyLinks[iLink];
   var LinkDesc = Link.description;
   if (LinkDesc == "Wikipedia" || LinkDesc.toUpperCase() == "IMDB" || LinkDesc == "YouTube")
  {
     if (LinkDesc == "YouTube") LinkDesc = "Trailer";
     document.write('[url=' + Link.URL + ']' + LinkDesc + '[/url] |');
  }
}
</script>

Thanks Again Tom! Fantastic Work as always!

 :thanks:
Pete

Offline Tom

  • Mega Heavy Poster
  • *******
  • Posts: 6242
  • Country: de
    • View Profile
    • Cinematic Collection Viewer
Re: Update to Tom's Movie Review HTML Window!
« Reply #1 on: June 23, 2012, 03:59:51 PM »
You're welcome :)



Offline Dragonfire

  • Mega Heavy Poster
  • *******
  • Posts: 6911
    • View Profile
    • Dragonfire88 Pbwiki
Re: Update to Tom's Movie Review HTML Window!
« Reply #2 on: June 23, 2012, 10:25:21 PM »
Looks nice. Maybe someday I'll try to figure that html stuff out.

Offline addicted2dvd

  • Forum Inventory
  • ********
  • Posts: 17685
  • Country: us
    • View Profile
Re: Update to Tom's Movie Review HTML Window!
« Reply #3 on: June 23, 2012, 10:42:19 PM »
Trying it out on my TV Review generator...



     Married with Children: The Complete Series (1987/United States)
IMDb |Wikipedia |Intro |
Spend some quality time with the family as you join hard-working husband Al (Ed O'Neill), housework-hating wife Peg (Katey Sagal), sexy daughter Kelly (Christina Applegate) and hopelessly horny son Bud (David Faustino) to celebrate the landmark TV sitcom MARRIED... WITH CHILDREN. For 11 seasons it was brilliantly tasteless, daringly raunchy and a devilishly clever comedy that pun the FUN in DYSFUNCTIONAL. Now you can own this great collectible boxset that's guaranteed to give you hours and hours of domestic bliss.

Stars:


Extras:


My Thoughts:



My Rating:
Out of a Possible 5





I changed Trailer to Intro... because that is what I normally use for TV Series. Looks good to me! :thumbup:
Pete