English > Support
Comments IMDB Problem
Ivek23:
--- Quote from: patrick65 on February 24, 2016, 03:36:22 pm ---I use the description box for the plot, but not by imdb but MyMovies in Italian. So do not interest me's comments imdb
--- End quote ---
Simple, description box should not be marked in the settings and will not transfer information to comment.
patrick65:
Already made, but the script IMDB Movie Info continues to download the comment
Ivek23:
--- Quote from: patrick65 on February 25, 2016, 10:28:27 am ---Already made, but the script IMDB Movie Info continues to download the comment
--- End quote ---
Open the script with Notepad program, find Plot_summary code and do as in the example below, and will not transfer information to comment.
--- Code: ---//~Plot_summary~
If Pos('<div class="plot_summary minPlotHeightWithPoster">', HTML) > 0 then begin
EndPos := Pos('<div class="plot_summary minPlotHeightWithPoster">', HTML);
curPos := PosFrom('<div class="summary_text" itemprop="description">', HTML, EndPos);
EndPos := PosFrom('</div>', HTML, curPos);
TmpStr0 := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
debug_pos1:=Pos('See ',TmpStr0);
if debug_pos1 >0 then TmpStr0 := Copy(TmpStr0,0,debug_pos1-1);
// if TmpStr0 <> '' then AddFieldValueXML('comment', TmpStr0);
end;
--- End code ---
patrick65:
OK WORKS!
Thanks :)
Navigation
[0] Message Index
[*] Previous page
Go to full version