This is Bolderbast, part of the inducks.org website.

VARIOUS COUNTRY FIELDS

Which fields are explained on this page?
abbrev
allowedstoryitemstarts
autostoryitemstarts
countryname
defaultlanguage
 
What are these fields about?
These are the fields in the file countries.dbx.
 
In which input files are these fields used?
On countries.dbx lines: in ISV input files.

abbrev

What should the field look like?
This field has its own column.
 
What does the field contain?
The 2-letter abbreviation of a country.

Examples:
au = Australia
be = Belgium
br = Brazil
de = Germany
dk = Denmark
eg = Egypt
es = Spain
fi = Finland
fr = France
gr = Greece
is = Iceland
it = Italy
lv = Latvia
nl = The Netherlands
no = Norway
se = Sweden
uk = United Kingdom
us = USA
We use the standard country abbreviations like in Internet addresses.

Two countries have a special impact:
  • gy (Guyana): if a file extra.dbi is used, the issues are assumed to be of this country.
  • zz: An issue index of this country is generated by COA. Its only purpose is to add web-input descriptions to the stories. Other information from zz.dbi is ignored.
 
Which log messages are related to this field?
None.
 
Which CSV field(s) use this field?
Table inducks_country, field countrycode
Table inducks_countryname, field countrycode
Table inducks_inputfile, field countrycode
Table inducks_publication, field countrycode
Table inducks_statcharactercountry, field countrycode
Table inducks_statpersoncountry, field countrycode
Table inducks_story, field repcountrysummary
 
How is the data used in the rest of Inducks?
This field is used on many places, in all kinds of file names etc.
 

allowedstoryitemstarts

What should the field look like?
This field has its own column.
 
What does the field contain?
If a country's issue index contains story items indicated by the storyitem field, the story code must start with one of the strings mentioned in this (comma-separated) field.
 
Which log messages are related to this field?
Log1 (serious)
216: storyitem has no proper storycode <...> - The storycode should be at least 4 characters, and start with one of the storycode-starts that are allowed for this country.
 
Which CSV field(s) use this field?
 

autostoryitemstarts

What should the field look like?
This field has its own column.
 
What does the field contain?
Items in a DBI file that:
  • have a storycode which starts with one of the autostoryitemstarts, and
  • have a storycode that is "compatible" to the issuecode,
are regarded a "storyitem".

All lines in the file w.dbi that start with a 'W' are automatically considered storyitems.

NOTE: items in a DBI file that:
  • have a storycode which starts with Q + countrycode + /, and
  • have a storycode that is "compatible" to the issuecode,
are also regarded a "storyitem", even if this is not mentioned in autostoryitemstarts.

About storyitems, see also the DBI field storyitem.
 
Which log messages are related to this field?
None.
 
Which CSV field(s) use this field?
 

countryname

What should the field look like?
This field has its own column.
 
What does the field contain?
The English name of the country. Used for convenience; more often the translations of a country's name in different languages will be used.
 
Which log messages are related to this field?
None.
 
Which CSV field(s) use this field?
Table inducks_country, field countryname
 

defaultlanguage

What should the field look like?
This field has its own column.
 
What does the field contain?
The default language of the country.
 
Which checks are done?
The language should occur in the file languages.dbx (see the language abbrev field). This is only checked indirectly, because the field isslang has this check.
 
Which log messages are related to this field?
None.
 
Which CSV field(s) use this field?
Table inducks_country, field defaultlanguage
 
How is the data used in the rest of Inducks?
If the isslang in a DBI file is empty, it is filled with this field.
Descriptions in this language are copied to other indexes for the same country, see desc-xx.
 

   
<< Previous page (This page was generated by AweGen 5.19 on 2024-07-27) Next page >>