# What kind of data my web site need to provide so discource can onebox content

**URL:** <https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479>\
**Category:** Support\
**Created:** [2017年十二月20日 12:13 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479 "2017-12-20T12:13:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [2017年十二月20日 12:13 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/1 "2017-12-20T12:13:57Z")

</div>

I am developing [asp.net](http://asp.net) core web site.  
Parts of that site is going to be published to our discource.  
What I am looking is protocol or way to discource automatically onebox links from my sites.

I know that my site have to return specific content so discource can onebox that.  
But I can’t remember what name of that data is.

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2017年十二月20日 12:37 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/2 "2017-12-20T12:37:46Z")

</div>

If you just need a simple onebox, implementing oEmbed should be enough 🙂

If you need something different, e.g. interactive content, you’ll need to build a (simple) plugin.

---

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [2017年十二月20日 12:49 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/3 "2017-12-20T12:49:57Z")

</div>

> [@fefrei](#):
>
> implementing oEmbed

Is there any other name for this in ms word for this .  
Googling for implementing oEmbed asp .net does not help me a lot

---

<div class="post-metadata">

**Author:** ![adopilot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adopilot/32/105040_2.png) [@adopilot](https://meta.discourse.org/u/adopilot)\
**Post date:** [2017年十二月20日 12:52 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/4 "2017-12-20T12:52:44Z")

</div>

Thanx a lot I now have starting point at

> **[oEmbed](https://oembed.com/)**
>
> The oEmbed spec

---

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [2017年十二月20日 13:02 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/5 "2017-12-20T13:02:22Z")

</div>

Yeah, that should be a decent spot to get started. Nothing about this is ASP-specific, you just need to generate a few tags in your HTML output 🙂

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2017年十二月20日 15:27 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/6 "2017-12-20T15:27:33Z")

</div>

Small correction:

- For simple onebox implement [OpenGraph](http://ogp.me).

- For more complex onebox implement [oEmbed](https://oembed.com/)

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:43 UTC](https://meta.discourse.org/t/what-kind-of-data-my-web-site-need-to-provide-so-discource-can-onebox-content/76479/7 "2024-06-08T12:43:44Z")

</div>

此主题已在 2362 天后自动关闭。不再允许回复。
