English > Development
Script for egafd.com
Ivek23:
Will this be something to help.
For TabBirthDay
--- Code: ---TabBirthDay := ['1860', '1861', '1862', '1863', '1864', '1865', '1866', '1867', '1868', '1869'
, '1870', '1871', '1872', '1873', '1874', '1875', '1876', '1877', '1878', '1879'
, '1980', '1981', '1982', '1983', '1984', '1985', '1986', '1987', '1988', '1889'
, '1890', '1891', '1892', '1893', '1894', '1895', '1896', '1897', '1898', '1899'
, '1900', '1901', '1902', '1903', '1904', '1905', '1906', '1907', '1908', '1909'
, '1910', '1911', '1912', '1913', '1914', '1915', '1916', '1917', '1918', '1919'
, '1920', '1921', '1922', '1923', '1924', '1925', '1926', '1927', '1928', '1929'
, '1930', '1931', '1932', '1933', '1934', '1935', '1936', '1937', '1938', '1939'
, '1940', '1941', '1942', '1943', '1944', '1945', '1946', '1947', '1948', '1949'
, '1950', '1951', '1952', '1953', '1954', '1955', '1956', '1957', '1958', '1959'
, '1960', '1961', '1962', '1963', '1964', '1965', '1966', '1967', '1968', '1969'
, '1970', '1971', '1972', '1973', '1974', '1975', '1976', '1977', '1978', '1979'
, '1980', '1981', '1982', '1983', '1984', '1985', '1986', '1987', '1988', '1989'
, '1990', '1991', '1992', '1993', '1994', '1995', '1996', '1997', '1998', '1999'
, 'exit'];
--- End code ---
Ivek23:
For DeathDate
--- Code: ---posBorn, Country, Birthday, DeathDate : string;
--- End code ---
and
--- Code: --- /// DeathDate:
ExplodeString(Born, PartBorn, #46);
If High(partBorn) > 0 then
Begin
logmessage('deathday commence')
For I := Low(partBorn) to High(partBorn) do
Begin
PartBorn[I] := Trim(partBorn[I]);
End;
For I := Low(partBorn) to High(partBorn) do
Begin
If (Lowercase(partBorn[I]) = 'd') OR (Copy(partBorn[I], length(partBorn[I])-2,3) = ', b') then
DeathDate := '28/12/' + Copy(partBorn[I+1], 0, 4);
end;
end;
If DeathDate <> '' then AddFieldValue(pfDeathDate, DeathDate);
--- End code ---
For me it works, but incorrect.
pra15:
I'm getting in the muddle with all versions of egafd and all correction! >:(
For this :
--- Code: ---AddFieldValue(pfGenre, 'EGAFD');
--- End code ---
I made this just for me, because i use iafd too and this can allow to sort more easily my list of actors.
I have the same version 9.9.21, but you resolved your problem so it's Ok;
I don't understand very well why you want to add birthday to the birthplace, the data is already in the field Birthday, if you think it's better, ok!
I'm trying to see if we can avoid adding links of movies in the filmography if the movie is already in the PVD database.
I'll see death :'( later.
I don't understand very well this :
Would be found to regulate egafd movie script that may be looking for movie titles the same way as in egafd people script .
Sorry, you should write to me like a baby :-[
Ivek23:
--- Quote ---I made this just for me, because i use iafd too and this can allow to sort more easily my list of actors.
--- End quote ---
OK, now I understand,
--- Quote ---I don't understand very well why you want to add birthday to the birthplace, the data is already in the field Birthday, if you think it's better, ok!
--- End quote ---
This will only be with me, in the final version, which will be accessible to all, will like this
--- Quote ---the data is already in the field Birthday
--- End quote ---
as was mentioned and it is right that such remains.
I agree, but I think you got the same opinion.
--- Quote ---I don't understand very well this :
Would be found to regulate egafd movie script that may be looking for movie titles the same way as in egafd people script .
--- End quote ---
I wanted to say as follows:
If you have the title of the film and no other data in the PVD database that it could be the egafd movie script through the search results find the url and other info data for such a movie title.
--- Quote ---Sorry, you should write to me like a baby
--- End quote ---
I do not understand this.
pra15:
Ok, i understand but i'm just seeing that my fonction of search in egafd_people doesn't works now!
And with this method, the title must be exactly the same, i'm not sure that's is more simple to search directly in the site egafd, but i'll try makes search for tilte after seen my problem in egafd_people!
a baby! because my english is approximative and sometimes it could makes somes confusions or misunderstanding, so if you could be most simply possible, that's all!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version