Closed MobbinBiosilico closed 4 months ago
Your PR has been merged and site has been updated, thanks.
Using the central registry via HTTP is highly discouraged - you should instead use the discovery mechanism to allows services to consume OEmbed resources: https://oembed.com/#section4
If you need to consume the registry data, please use the NPM package as detailed in the README.
hi, this is my first time doing this, thanks for the tips. i would like to ask, the link tags are meant to be implemented in the json response?
@MobbinBiosilico you'd embed something like this in the HTML of the page which supports oembed
<link rel="alternate" type="application/json+oembed"
href="http://flickr.com/services/oembed?url=http%3A%2F%2Fflickr.com%2Fphotos%2Fbees%2F2362225867%2F&format=json"
title="Bacon Lollys oEmbed Profile" />
<link rel="alternate" type="text/xml+oembed"
href="http://flickr.com/services/oembed?url=http%3A%2F%2Fflickr.com%2Fphotos%2Fbees%2F2362225867%2F&format=xml"
title="Bacon Lollys oEmbed Profile" />
or those as response headers in the server which serves the page that supports oembed
Link: <http://flickr.com/services/oembed?url=http%3A%2F%2Fflickr.com%2Fphotos%2Fbees%2F2362225867%2F&format=json>; rel="alternate"; type="application/json+oembed"; title="Bacon Lollys oEmbed Profile"
Link: <http://flickr.com/services/oembed?url=http%3A%2F%2Fflickr.com%2Fphotos%2Fbees%2F2362225867%2F&format=xml>; rel="alternate"; type="text/xml+oembed"; title="Bacon Lollys oEmbed Profile"
Hi Cal, have followed you suggestions and would like to have the providers yml changes committed.
Thanks.
From: Cal Henderson @.> Sent: 02 May 2024 16:28 To: iamcal/oembed @.> Cc: MobbinBiosilico @.>; Author @.> Subject: Re: [iamcal/oembed] Create ideamapper.yml (PR #748)
Your PR has been merged and site has been updated, thanks.
Using the central registry via HTTP is highly discouraged - you should instead use the discovery mechanism to allows services to consume OEmbed resources: https://oembed.com/#section4
If you need to consume the registry data, please use the NPM package as detailed in the README.
— Reply to this email directly, view it on GitHub https://github.com/iamcal/oembed/pull/748#issuecomment-2090809403 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEOIQYE6TCQRVDT5A6JM7NTZAJLRTAVCNFSM6AAAAABHDXC2KGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJQHAYDSNBQGM . You are receiving this because you authored the thread.Message ID: @.***>
Your PR has been merged and site has been updated, thanks.
Using the central registry via HTTP is highly discouraged - you should instead use the discovery mechanism to allows services to consume OEmbed resources: https://oembed.com/#section4
If you need to consume the registry data, please use the NPM package as detailed in the README.