#! code: Drupal 9: Content Sharing Between Drupal Sites Using oEmbed

A while ago I wrote about including oEmbed providers in a Drupal site and briefly touched upon creating custom providers. I didn’t go into any more detail there so I decided to write another article looking at creating custom oEmbed providers.

In this article I will cover what oEmbed is and how to set up a custom oEmbed endpoint. I will also then go onto show how to setup and configure a Drupal site to consume that custom oEmbed endpoint. 

What Is oEmbed?

oEmbed is a specification that allows websites to share content through the use of an API. This allows users to share a URL for a web page and see a representation of that page embedded in any site. Using this technique allows for videos and images to be shared between sites easily, without the user having to worry about image dimensions or generating thumbnails.

It’s up to the oEmbed provider to decide on what sort of content they will publish as part of an oEmbed request. The response will have a ‘type’ parameter that can be “photo”, “video”, “link” or “rich” (which is essentially just HTML), each of which will return different parameters depending on what is needed. You can see the full specification of oEmbed on the oembed.com website.

As it is possible for third party sites to add pretty much anything to the response there are some security considerations to be taken into account. The oEmbed group maintains a list of available providers (seen at https://oembed.com/providers.json) that you are recommended to adhere to. It is also recommended that all embedded content is done as an iframe element to prevent anything within the iframe leaking out into the rest of the page.

Read more.

Going where BeOS NetPositive hasn’t gone before: NetPositive+

This is a real 133MHz BeBox running otherwise stock BeOS R5, surfing Hacker News and Lobste.rs using a modified, bug-fixed NetPositive wired to offload encryption to an onboard copy of Crypto Ancienne (see my notes on the BeOS port). NetPositive is the only known browser on the PowerPC ports of BeOS — it’s probably possible to compile Lynx 2.8.x with BeOS CodeWarrior, but I’ve only seen it built for Intel, and Mozilla and Opera were definitely Intel/BONE-only. With hacks for self-hosted TLS bolted on, NetPositive’s not fast but it works, and supports up to TLS 1.2 currently due to BeOS stack limitations. This is a modified version of the latest official NetPositive browser from Be, updated to somewhat work on the modern web, specifically for PowerPC machines like the BeBox and BeOS-compatible PowerPC Macs. It can load various modern sites, but as the author notes, OSNews refuses to load (we used to have a complicated system of recognising individual obscure platforms and browsers so we could serve them a limited version of the site, but that became increasingly difficult and time-consuming to maintain, for effectively no benefit other than bragging rights). You can download and run it using the instructions in the post, and more improvements are being considered. Absolutely excellent work.

KonoSuba Fantastic Days (Global) – Fire Feature Summons

Video by via Dailymotion Source Follow me on Twitter : https://twitter.com/cageofragetvFollow my Tiktok : https://www.tiktok.com/@cageofrage Follow me on Twitter : https://twitter.com/cageofrage1Follow my Dlive: https://dlive.tv/CageofRageCheck me on Twitch :https://www.twitch.tv/cageofragemy discord server! https://discord.gg/kp8ZeFyMy summons on Fire Featured Banner#konosuba #konosubafantasticdays #vtuber #cageofrage #vtuber Go to Source

Immigration : pour Eric Zemmour, «Édouard Philippe est un immigrationniste»

Video by via Dailymotion Source ABONNEZ-VOUS pour plus de vidéos : http://www.dailymotion.com/Europe1frImmigration : pour Eric Zemmour, «Édouard Philippe est un immigrationniste»Retrouvez “Le grand rendez-vous” sur : http://www.europe1.fr/emissions/le-grand-rendez-vousLE DIRECT : http://www.europe1.fr/direct-video Retrouvez-nous sur : | Notre site : http://www.europe1.fr | Facebook : https://www.facebook.com/Europe1 | Twitter : https://twitter.com/europe1 | Google + : https://plus.google.com/+Europe1/posts | Pinterest : http://www.pinterest.com/europe1/ … Read more

Pomade Shine Tanpa Beeswax – Cara Membuat Pomade Tanpa Beeswax | Pomade Shine Without Beeswax…

Video by via Dailymotion Source Pomade Shine Tanpa Beeswax – Cara Membuat Pomade Tanpa Beeswax | Pomade Shine Without Beeswax – How To Make Pomade Without Beeswax | Pomade Shine sans cire d’abeille – Comment faire de la pommade sans cire d’abeille Support terus channel saya: https://bit.ly/2NiaxJ9Bantu support medsos saya yang lainnya:Dailymotion: https://bit.ly/3rbSki6Facebook: https://bit.ly/3lZvXIAInstagram: https://bit.ly/3cqV5EDTiktok: … Read more

Dating Sen. Leila De Lima, dadalo sa pagdinig sa drug charges laban sa kanya bukas matapos ma…

Video by via Dailymotion Source News updates on COVID-19 (coronavirus disease 2019) and the COVID-19 vaccine: https://www.gmanetwork.com/news/covid-19/ #Nakatutok24Oras Breaking news and stories from the Philippines and abroad:GMA News and Public Affairs Portal: http://www.gmanews.tvFacebook: http://www.facebook.com/gmanewsTwitter: http://www.twitter.com/gmanewsInstagram: http://www.instagram.com/gmanews GMA Network Kapuso programs on GMA Pinoy TV: https://gmapinoytv.com/subscribe Go to Source

Heavy Inflow to Srisailam Project, 2 Gates Lifted _ V6 News

Video by via Dailymotion Source శ్రీశైలం జలాశయానికి కొనసాగుతున్న వరద ప్రవాహం | V6 News ఈ గడియారం 27 కోట్లు |బార్ కాదు బస్టాప్https://youtu.be/HizFYWpZMTU దసరా తాగుడు 1,158 కోట్లు https://youtu.be/ra9BEpGh0hQ బార్ కాదు బస్టాప్https://youtu.be/zzA0T5J_IyQ ప్రగతి పంజరంలో పాలపిట్టhttps://youtu.be/MUJBat7JPDI సీఎం మీద సీబీఐకి కంప్లైంట్ https://youtu.be/koMkAaKdxqs► Subscribe to V6 News : https://www.youtube.com/c/V6NewsTelugu► Subscribe to V6 Life : https://www.youtube.com/c/V6Life► Follow Us On Dailymotion : https://www.dailymotion.com/v6newstelugu► Like … Read more

Jashne Aamd e Rasool SAWW (From Eid Gah Shareef) – 9th October 2022 – Part 2 – ARY Qtv

Video by via Dailymotion Source Subscribe Here : https://bit.ly/3dh3Yj1 Jashne Aamd e Rasool SAWW – From Eid Gah Shareef Watch Rabi ul Awwal 2022 Special Transmission | https://bit.ly/3BRxc4T #JashneEidMiladUnNabiSAWW #MiladUnNabi #ARYQtv RabiulAwwal2022 Official Facebook : https://www.facebook.com/ARYQTV/Official Website : https://aryqtv.tv/Watch ARY Qtv Live : http://live.aryqtv.tv/Programs Shedule : https://aryqtv.tv/schedule/Islamic Information : https://bit.ly/2MfIF4PAndroid App: https://bit.ly/33wgto4Ios App: https:https://apple.co/2v3zoXWTo Watch … Read more