Comments (2)
I don't really see this as a spec issue for two reasons:
- It's an accurate example of what a provider returns
- The spec does not say that you can't return XHTML
Further more, the spec does not mandate that the HTML must be 'valid' against any specific spec - the goal is for it to work in browsers.
from oembed.
If this intends to be a specific-ation, it needs to be specific.
No, it doesn’t say that it can’t return XHTML, but it doesn’t say it can’t return marshmallows, either. It does clearly say, however, “HTML”. If that’s not true, then that’s the problem and not the example. Either way, the example should agree with the details of the specification.
If the goal is “to work in browsers”, that’s a fine goal and perhaps that’s something for a meta section, along with the examples.
Why not simply say that it’s “XHTML 1.0 Strict”? This will inform page designers that they need to include the DOCTYPE declaration and it will inform providers of the level of conformity that clients expect. (Better still would be separate request and response fields with that level of detail, but that's beyond the scope of this particular issue.)
from oembed.
Related Issues (20)
- Found dead link in the www/index.php Line: 488 HOT 1
- Refresh Oauth 2.0 tokens failed HOT 2
- Facebook garph api update to v12 HOT 2
- Add optional "license" and "license_url" parameter HOT 4
- Add test to check valid regex for providers HOT 1
- oEmbed provider for rich content without using any external tool HOT 1
- Please add bunny.net to providers.json HOT 1
- Add Mediastream as provider
- Alternative discovery mechanism HOT 3
- Provider registry contains API endpoints with patterns not described in the spec HOT 4
- How should a document with multiple authors be presented? HOT 1
- Gist or pastebin support?
- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">So cute</p>— Liz C (@LizC0520) <a href="https://twitter.com/LizC0520/status/1644973800352800774?ref_src=twsrc%5Etfw">April 9, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- <blockquote class="twitter-tweet"><p lang="en" dir="ltr">So cute</p>— Liz C (@LizC0520) <a href="https://twitter.com/LizC0520/status/1644973800352800774?ref_src=twsrc%5Etfw">April 9, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
- Support x.com URLs for Twitter/X
- providers-disabled/wiredrive.yml HOT 2
- http://creativecommons.org/licenses/by/4.0/
- Is not possible to embed youtube playlist using oembed HOT 1
- Cannot use short link of Flickr album HOT 2
- no cookies video HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oembed.