Remove National Museum in Warsaw as an approved source

This commit is contained in:
Alex Cabal 2024-11-11 14:48:09 -06:00
parent a5bd5d18ad
commit b167f7dabb
2 changed files with 11 additions and 13 deletions

View file

@ -537,21 +537,21 @@ class Museum{
return $outputUrl;
}
elseif(preg_match('/\bart\.pl$/ius', $parsedUrl['host'])){
$exampleUrl = 'https://cyfrowe.mnw.art.pl/en/catalog/445066';
// elseif(preg_match('/\bart\.pl$/ius', $parsedUrl['host'])){
// $exampleUrl = 'https://cyfrowe.mnw.art.pl/en/catalog/445066';
if($parsedUrl['host'] != 'cyfrowe.mnw.art.pl'){
throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
}
// if($parsedUrl['host'] != 'cyfrowe.mnw.art.pl'){
// throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
// }
if(!preg_match('|^/en/catalog/[^/]+?$|ius', $parsedUrl['path'])){
throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
}
// if(!preg_match('|^/en/catalog/[^/]+?$|ius', $parsedUrl['path'])){
// throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
// }
$outputUrl = 'https://' . $parsedUrl['host'] . $parsedUrl['path'];
// $outputUrl = 'https://' . $parsedUrl['host'] . $parsedUrl['path'];
return $outputUrl;
}
// return $outputUrl;
// }
elseif(preg_match('/\blenbachhaus\.de$/', $parsedUrl['host'])){
$exampleUrl = 'https://www.lenbachhaus.de/en/digital/collection-online/detail/hymnus-an-michelangelo-30036437';

View file

@ -304,8 +304,6 @@
<dd>CC0 items say “License: CC CC0 1.0 under the “License information” section. In the art metadata, “Owner of collection” <strong>must</strong> be “Lillehammer Kunstmuseum. Any other art on <a href="https://www.digitaltmuseum.no">digitaltmuseum.no</a> or <a href="https://www.digitaltmuseum.se">digitaltmuseum.se</a> must be cleared separately.</dd>
<dt><a href="https://zbiory.mnk.pl/">National Museum in Krakow</a></dt>
<dd>CC0 items say "CC0 - Public Domain" under the Copyright section.</dd>
<dt><a href="https://cyfrowe.mnw.art.pl/en/home">National Museum in Warsaw</a></dt>
<dd>CC0 items say “CC0 Public domain” under the “Copyrights section.</dd>
<dt><a href="https://www.nationalmuseum.se/en/explore-art-and-design/images/free-images">National Museum in Stockholm</a></dt>
<dd>CC-PD items have the CC-PD mark in the lower left of the items detail view.</dd>
<dt><a href="https://dams.birminghammuseums.org.uk/asset-bank/action/viewDefaultHome">Birmingham Museums</a></dt>