English > Development
Script for egafd.com
pra15:
I added notes in prList and changed somes errors in search procedure. (egafd_movie)
[attachment deleted by admin]
Ivek23:
egafd_movie
egafd_Movie(12) script
Added:
* Corrected bug in the code of Director.
* Added full transfer of data to Director in Comment field.
* The Bio I fixed a small error in Role code.
* Added a version and name of the script.
Deleted:
* Blocked the transfer of all data for Director in field Director, transfer only the first director of the list.
The reason why I do the following:
For Director:
When the Director is now displayed only the first director now, because otherwise the People section you can not find information for example, such associations in Director Title:
* Alessandro Perrella as Alex Perry
* Alessandro Perrella aas Alex Perry
* Alessandro Perrella / Alex Perry
* Alessandro Perrella, Alex Perry
* Alessandro Perrella and Alex Perry
egafd_Movie(12) script attached
[attachment deleted by admin]
Ivek23:
egafd_movie
egafd_mod12 script
Added:
* Corrected bug in the code of Director.
* Added full transfer of data to Director in Comment field.
* The Bio I fixed a small error in Role code.
* Added a version and name of the script.
* Added Notes.
* Added Suppliers.
Deleted:
* Blocked the transfer of all data for Director in field Director, transfer only the first director of the list.
The reason why I do the following:
For Director:
When the Director is now displayed only the first director now, because otherwise the People section you can not find information for example, such associations in Director Title:
* Alessandro Perrella as Alex Perry
* Alessandro Perrella aas Alex Perry
* Alessandro Perrella / Alex Perry
* Alessandro Perrella, Alex Perry
* Alessandro Perrella and Alex Perry
egafd_mod12 script attached
[attachment deleted by admin]
Ivek23:
egafd_movie
Small change:
--- Code: ---//Director
dbgstrg := '';
curPos := Pos('<td valign="top">Director: ', HTML);
EndPos := curPos;
LogMessage('getting Director');
dbgstrg:= TextBetween(HTML, '<td valign="top">Director: </td><td width="100%" class="notes">', '</td>', False, CurPos);
LogMessage('DIRECTOR:' + dbgstrg);
If dbgstrg <> '' then
AddFieldValueXML('comment', ' • • ' + SCRIPT_NAME + ' ' + SCRIPT_VERSION +
' • • ' + 'Directors: ' + dbgstrg)
else
AddFieldValueXML('comment', ' • • ' + SCRIPT_NAME + ' ' + SCRIPT_VERSION +
' • • ');
debug_pos1:=Pos('(',dbgstrg) OR Pos(', ',dbgstrg);
if debug_pos1 >0 then
dbgstrg := Copy(dbgstrg,0,debug_pos1-1);
LogMessage(dbgstrg);
debug_pos1:=Pos(' as ',dbgstrg) OR Pos(' aas ',dbgstrg);
if debug_pos1 >0 then
dbgstrg := Copy(dbgstrg,0,debug_pos1-1);
LogMessage(dbgstrg);
debug_pos1:=Pos('/',dbgstrg) OR Pos(' and ',dbgstrg);
if debug_pos1 >0 then
dbgstrg := Copy(dbgstrg,0,debug_pos1-1);
LogMessage(dbgstrg);
If dbgstrg <> '' then
AddMoviePerson(dbgstrg, '', '', '', ctDirectors);
--- End code ---
pra15:
Thank you and happy new year at all!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version