From 984fef050073f893423281260c5b002873d45ed2 Mon Sep 17 00:00:00 2001 From: Gunnar Velle Date: Thu, 12 Aug 2021 07:47:47 +0200 Subject: [PATCH 1/3] Adding ndla provider to oembed --- providers/ndla.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 providers/ndla.yml diff --git a/providers/ndla.yml b/providers/ndla.yml new file mode 100644 index 00000000..ec8b5bd4 --- /dev/null +++ b/providers/ndla.yml @@ -0,0 +1,20 @@ +--- +- provider_name: NDLA - Norwegian Digital Learning Arena + provider_url: https://ndla.no + endpoints: + - schemes: + - https://ndla.no/* + url: https://ndla.no/oembed + example_urls: + - https://ndla.no/oembed?url=https://ndla.no/subject:13/topic:edd89aba-b208-4caa-bdb0-c8ca0300ce2d/topic:1:184882 + - https://ndla.no/oembed?url=https://ndla.no/article/123 + discovery: false + notes: Provider only supports the 'rich' type. + - schemes: + - https://liste.ndla.no/* + url: https://liste.ndla.no/oembed + example_urls: + - https://liste.ndla.no/oembed?url=https://liste.ndla.no/?concept=123 + discovery: false + notes: Provider only supports the 'rich' type. +... \ No newline at end of file From ac88b4d4b377f35c151cadf3e00a40e645da3f98 Mon Sep 17 00:00:00 2001 From: Gunnar Velle Date: Wed, 31 Aug 2022 10:40:10 +0200 Subject: [PATCH 2/3] Use functioning url --- providers/ndla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/ndla.yml b/providers/ndla.yml index ec8b5bd4..2ff9fcf9 100644 --- a/providers/ndla.yml +++ b/providers/ndla.yml @@ -6,7 +6,7 @@ - https://ndla.no/* url: https://ndla.no/oembed example_urls: - - https://ndla.no/oembed?url=https://ndla.no/subject:13/topic:edd89aba-b208-4caa-bdb0-c8ca0300ce2d/topic:1:184882 + - https://ndla.no/oembed?url=https://ndla.no/subject:20/topic:1:186732/topic:1:187167/resource:1:176616 - https://ndla.no/oembed?url=https://ndla.no/article/123 discovery: false notes: Provider only supports the 'rich' type. From 821490355fcded0147e0d40f20d8cf2b467ab2c4 Mon Sep 17 00:00:00 2001 From: Gunnar Velle Date: Mon, 25 Mar 2024 10:31:11 +0100 Subject: [PATCH 3/3] Update NDLA provider with more schemes. --- providers/ndla.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/providers/ndla.yml b/providers/ndla.yml index 2ff9fcf9..f889b434 100644 --- a/providers/ndla.yml +++ b/providers/ndla.yml @@ -4,17 +4,19 @@ endpoints: - schemes: - https://ndla.no/* + - https://ndla.no/article/* + - https://ndla.no/audio/* + - https://ndla.no/concept/* + - https://ndla.no/image/* + - https://ndla.no/video/* url: https://ndla.no/oembed example_urls: - https://ndla.no/oembed?url=https://ndla.no/subject:20/topic:1:186732/topic:1:187167/resource:1:176616 - https://ndla.no/oembed?url=https://ndla.no/article/123 - discovery: false - notes: Provider only supports the 'rich' type. - - schemes: - - https://liste.ndla.no/* - url: https://liste.ndla.no/oembed - example_urls: - - https://liste.ndla.no/oembed?url=https://liste.ndla.no/?concept=123 + - https://ndla.no/oembed?url=https://ndla.no/audio/123 + - https://ndla.no/oembed?url=https://ndla.no/concept/123 + - https://ndla.no/oembed?url=https://ndla.no/image/123 + - https://ndla.no/oembed?url=https://ndla.no/video/6289964283001 discovery: false notes: Provider only supports the 'rich' type. ... \ No newline at end of file