mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Remove National Museum in Warsaw as an approved source
This commit is contained in:
parent
a5bd5d18ad
commit
b167f7dabb
2 changed files with 11 additions and 13 deletions
|
@ -537,21 +537,21 @@ class Museum{
|
||||||
|
|
||||||
return $outputUrl;
|
return $outputUrl;
|
||||||
}
|
}
|
||||||
elseif(preg_match('/\bart\.pl$/ius', $parsedUrl['host'])){
|
// elseif(preg_match('/\bart\.pl$/ius', $parsedUrl['host'])){
|
||||||
$exampleUrl = 'https://cyfrowe.mnw.art.pl/en/catalog/445066';
|
// $exampleUrl = 'https://cyfrowe.mnw.art.pl/en/catalog/445066';
|
||||||
|
|
||||||
if($parsedUrl['host'] != 'cyfrowe.mnw.art.pl'){
|
// if($parsedUrl['host'] != 'cyfrowe.mnw.art.pl'){
|
||||||
throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
|
// throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
|
||||||
}
|
// }
|
||||||
|
|
||||||
if(!preg_match('|^/en/catalog/[^/]+?$|ius', $parsedUrl['path'])){
|
// if(!preg_match('|^/en/catalog/[^/]+?$|ius', $parsedUrl['path'])){
|
||||||
throw new Exceptions\InvalidMuseumUrlException($url, $exampleUrl);
|
// 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'])){
|
elseif(preg_match('/\blenbachhaus\.de$/', $parsedUrl['host'])){
|
||||||
$exampleUrl = 'https://www.lenbachhaus.de/en/digital/collection-online/detail/hymnus-an-michelangelo-30036437';
|
$exampleUrl = 'https://www.lenbachhaus.de/en/digital/collection-online/detail/hymnus-an-michelangelo-30036437';
|
||||||
|
|
||||||
|
|
|
@ -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>
|
<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>
|
<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>
|
<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>
|
<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 item’s detail view.</dd>
|
<dd>CC-PD items have the CC-PD mark in the lower left of the item’s detail view.</dd>
|
||||||
<dt><a href="https://dams.birminghammuseums.org.uk/asset-bank/action/viewDefaultHome">Birmingham Museums</a></dt>
|
<dt><a href="https://dams.birminghammuseums.org.uk/asset-bank/action/viewDefaultHome">Birmingham Museums</a></dt>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue