Skip to content

Commit

Permalink
Fix subjects selection for ILC and EUROVOC by updating hardcoded APIs (
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Oct 18, 2024
1 parent a52c6aa commit 26c880f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/eurovoc-ids.pl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$_ =~ /<option value="(\d+)">-*(\d+\s*)?([^<]+)/ or next;
my ( $id, $label ) = ( $1, $3 );

my $url = "http://bartoc-skosmos.unibas.ch/EuroVoc/en/search?clang=en&q="
my $url = "https://skosmos.bartoc.org/rest/v1/15/search?clang=en&q="
. uri_escape($label);

my $res = HTTP::Tiny->new->get($url);
Expand Down
4 changes: 2 additions & 2 deletions vue/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export const indexingSchemes = [
namespace: "http://eurovoc.europa.eu/",
prefLabel: { en: "EuroVoc" },
notation: ["EUROVOC"],
API: [{url:"https://bartoc-skosmos.unibas.ch/EuroVoc/",type:"http://bartoc.org/api-type/skosmos"}],
API: [{url:"https://skosmos.bartoc.org/15/",type:"http://bartoc.org/api-type/skosmos"}],
},
{
uri: "http://www.iskoi.org/ilc/2/scheme",
identifier: ["http://bartoc.org/de/node/472"],
namespace: "http://www.iskoi.org/ilc/2/class/",
notation: ["ILC"],
API: [{url:"https://bartoc-skosmos.unibas.ch/ilc2/",type:"http://bartoc.org/api-type/skosmos"}],
API: [{url:"https://skosmos.bartoc.org/472/",type:"http://bartoc.org/api-type/skosmos"}],
},
]

Expand Down

0 comments on commit 26c880f

Please sign in to comment.