#! 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.

Piyare Nabi S.A.W.W Ki Piyari Baten – Dr. Muhammad Ahmed Qadri – 9th October 2022 – ARY Qtv

Subscribe Here : https://bit.ly/3dh3Yj1

Piyare Nabi S.A.W.W Ki Piyari Baten – Host : Dr. Muhammad Ahmed Qadri

Watch Rabi ul Awwal Special Transmission | https://bit.ly/3BRxc4T

#PiyareNabiSAWWKiPiyariBaten #DrMuhammadAhmedQadri #RabiulAwwal2022 #IslamicInformation #ARYQtv

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/2MfIF4P
Android App: https://bit.ly/33wgto4
Ios App: https:https://apple.co/2v3zoXW
Share your valuable views in comment box below.

How To Open A Bottle Of Wine Without A Corkscrew – For The Win

‍ [FULL] #OfficialSeries ➤ https://dailymotion.com/playlist/x7kkvq
[Part 1] ➤ https://dailymotion.com/playlist/x7ld47
[Part 2] ➤ https://dailymotion.com/playlist/x7ld48
[Part 3] ➤ https://dailymotion.com/playlist/x7ld4a
[Part 4] ➤ https://dailymotion.com/playlist/x7ld4b
[Part 5] ➤ https://dailymotion.com/playlist/x7ld4c

How to make a man #MadeMan
#howto #mademan #howtomakeaman

Drupal Commerce: Commerce PayPal release adds Venmo support

Centarro held a productive sprint at DrupalCon Prague on all things Drupal Commerce. Goals for the sprint included planning future Commerce Core improvements, packaging full releases of the modules included in Commerce Kickstart, and catching up on some long overdue marketing tasks. That including rolling out a new project homepage and planning an approach for the project blog to focus on release announcements – like this one!