# No onebox, como mostrar descrições aleatórias

**URL:** <https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220>\
**Category:** Development\
**Created:** [Abril 25, 2020, 3:02am UTC](https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220 "2020-04-25T03:02:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![hoangviet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangviet/32/174417_2.png) [@hoangviet](https://meta.discourse.org/u/hoangviet)\
**Post date:** [Abril 25, 2020, 3:02am UTC](https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220/1 "2020-04-25T03:02:10Z")

</div>

O Onebox padrão pega a descrição como o primeiro parágrafo do artigo original, mas eu quero que ela seja aleatória (pegue um parágrafo aleatório do artigo original).

Por exemplo:

> **[Singapore’s migrant workers are suffering the brunt of the country’s...](https://edition.cnn.com/2020/04/24/asia/singapore-coronavirus-foreign-workers-intl-hnk/index.html)**
>
> Rubel, a 28-year-old migrant worker in Singapore, is afraid. The dormitory he and other foreign workers live in has been locked down, and nobody is allowed in or out as government officials scramble to contain the country’s novel coronavirus...

Eu não quero que a descrição no Onebox padrão seja assim:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/4/44fecb0ea74790f3ff39489613fafd6ae157fe28.png)

Eu quero que, toda vez que o link for inserido no Markdown, a descrição seja exibida aleatoriamente.

Muito obrigado.

---

_[View the full topic](https://meta.discourse.org/t/in-onebox-how-to-display-random-descriptions/149220)._
