...
We implemented a system whereby we can exclude information from being displayed for specific authors or subjects. Using a YAML file, we can designate whether we wish to hide all external data or whether we wish to hide certain properties for a specific author or subject heading.
For example, if we want to the image and description for the heading "Eliot, George, 1819-1880" but wish to display the remaining properties we retrieve from Wikidata, such as citizenship and place of education, we would include the following in the YAML file:
Code Block | ||
---|---|---|
| ||
? "Eliot, George, 1819-1880"
:
- "image"
- "description" |
If we did not want to show any of the information we retrieve from Wikidata or DbPedia for this specific heading, we would instead write the following in the YAML file:
Code Block | ||
---|---|---|
| ||
? "Eliot, George, 1819-1880"
: ~
|
What happens when external data services are not available
...