0
0
Fork 0

Fix XML oEmbed support discovery (#6104)

This commit is contained in:
Akihiko Odaki 2017-12-27 11:29:49 +09:00 committed by Eugen Rochko
parent 127bfda521
commit e0ef7f9d79
3 changed files with 15 additions and 3 deletions

View file

@ -1,7 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<link href='https://host/provider.xml' rel='alternate' type='application/xml+oembed'>
<!--
oEmbed
https://oembed.com/
> The type attribute must contain either application/json+oembed for JSON
> responses, or text/xml+oembed for XML.
-->
<link href='https://host/provider.xml' rel='alternate' type='text/xml+oembed'>
</head>
<body></body>
</html>