[wp-trac] [WordPress Trac] #53326: Add Wolfram Notebook as a whitelisted oEmbed provider
WordPress Trac
noreply at wordpress.org
Thu Jun 3 05:27:49 UTC 2021
#53326: Add Wolfram Notebook as a whitelisted oEmbed provider
-------------------------+----------------------
Reporter: pento | Owner: pento
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.9
Component: Embeds | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+----------------------
I'd like to propose that we add Wolfram Notebook as a
[https://make.wordpress.org/core/handbook/contribute/design-decisions
/#whitelisting-oembed-providers trusted oEmbed provider].
[https://www.wolfram.com/ Wolfram Research] has been around for a long
time. I remember using [https://www.wolfram.com/mathematica/ Mathematica]
in university, and that was longer ago than I care to remember. 😉
[https://www.wolframalpha.com/ WolphramAlpha] has been a mainstay on the
internet for answering
[https://www.wolframalpha.com/input/?i=airspeed+of+an+unladen+swallow any
question you can think of].
All of the Wolfram services are tied together by the
[https://www.wolfram.com/language/ Wolfram Language]: Notebooks are their
hosted version of Wolfram Language based documents.
They provide two oEmbed endpoints, the default endpoint available through
auto-discovery (https://www.wolframcloud.com/oembed), and a secondary
endpoint that returns the embed wrapped in an iframe
(https://www.wolframcloud.com/oembed/iframe/).
To answer questions listed in the trusted oEmbed provider handbook page:
> Is the service popular enough for core developers to have heard of it
before? Is it “mainstream?”
Well, I've heard of it. 🙂 Mainstream is probably the wrong word for it,
though: dominant within its niche would be more accurate.
> If similar services are already supported, how does this service compare
in terms of size, features, and backing?
TBH, I don't know of any service quite like Wolfram Notebook.
> Does this service have a large following on Twitter, Facebook, or other
social media? Is its Twitter account verified?
[https://twitter.com/WolframResearch Yep].
> Is its oEmbed endpoint clearly established and properly documented?
(Sometimes, they are just a developer’s pet project that may not be
supported.)
I'm not aware of a specific documentation page, it was covered in
[https://www.wolframcloud.com/obj/release-notes/1.54.nb their changelog]
when it was added.
> Does the oEmbed endpoint work with WordPress’ oEmbed auto-discovery? If
not, could it be made to work with additional HTML tags or attributes
being whitelisted?
The auto-discovery endpoint returns a giant blob of HTML, there's no
practical way for it to work as an untrusted oEmbed provider.
Alternatively, they do provide an endpoint that returns an iframed version
of the embed, which would pass the untrusted filter, but doesn't work with
auto-discovery.
> Does the service make an effort to build relationships with developers,
such as through robust APIs?
The entire Wolfram company is developer focussed, APIs are what they
build.
> How old is the service?
Wolfram Research is 34 years old, their hosted service was launched in
2019, and the oEmbed option was added in 2020.
Does it have a well-established Wikipedia article? (Seriously.)
[https://en.wikipedia.org/wiki/Wolfram_Research Yes].
> Has anyone written a WordPress plugin that leverages the service in some
way, whether adding it as an oEmbed provider, creating a shortcode, or
leveraging other APIs of the service? Do these plugins have any noticeable
adoption or traction that would indicate usage and demand?
There are [https://wordpress.org/plugins/search/wolfram/ a handful of
relevant plugins] with only a few installs. It's certainly a niche
provider, but I think that's offset by it serving a niche for which there
is no real alternative.
> Is the provider frequently proposed?
This is the first proposal that I'm aware of.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53326>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list