# How to easily repost other html pages?

**URL:** <https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649>\
**Category:** Support\
**Created:** [May 23, 2016, 4:35am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649 "2016-05-23T04:35:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Post date:** [May 23, 2016, 4:35am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/1 "2016-05-23T04:35:34Z")

</div>

Discourse is based on Markdown we know, and some symbols in this editor has some special meaning. But we are not always “Writting Things” on the discourse community. Some time we just “Ctrl+C & Ctrl+V” some meterials or repost some pages. I fould it quite hard in discourse to do so.

Because:

- Usually the html files has some ads or other useless meterials surrounding the main article. We don’t want to repost these meterials at the same time.
- Ctrl+C Ctrl+V can only get the words mererials, not the pictures while pictures are very important.
- Inserting pictures in Discourse, only support the pics already downloaded in the computer!!! Which requires us to insert them into the article one by one. It’s very slow and easily making errors.

Could you please help providing some methods to solve such problems?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [May 23, 2016, 8:10am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/2 "2016-05-23T08:10:28Z")

</div>

Why would you want to copy & paste existing content instead of **linking** to it?

---

<div class="post-metadata">

**Author:** ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Post date:** [May 26, 2016, 2:05am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/3 "2016-05-26T02:05:17Z")

</div>

Good answer, I think that’s because I want people to read sth at the first glance, rather than going to another page. And if you have to download a MSword file before you read it, will you feel that “I’d rather not read it” ?.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 26, 2016, 2:07am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/4 "2016-05-26T02:07:59Z")

</div>

This is generally what our oneboxes are for, with opengraph and oEmbed support. For example:

> **[Funk](https://en.wikipedia.org/wiki/Funk)**
>
> Funk is a music genre that originated in African-American communities in the mid-1960s when musicians created a rhythmic, danceable new form of music through a mixture of various music genres that were popular among African-Americans in the mid-20th century. It deemphasizes melody and chord progressions and focuses on a strong rhythmic groove of a bassline played by an electric bassist and a drum part played by a percussionist, often at slower tempos than other popular music. Funk typically con...

You get that by pasting in an url on a line by itself, like

`https://en.wikipedia.org/wiki/Funk`

This way it is simpler, just paste a link, and you will not run afoul of duplicate content penalties for it in Google.

---

<div class="post-metadata">

**Author:** ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Post date:** [May 26, 2016, 5:32am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/5 "2016-05-26T05:32:03Z")

</div>

Could you please show me the code how to realize OneBox feather.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 26, 2016, 8:56am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/6 "2016-05-26T08:56:53Z")

</div>

Sure, the best rule is to have the target site support either

- [OpenGraph](http://ogp.me/)
- [oEmbed](http://oembed.com/)

Once it supports that, add the domain of the site to the embed whitelist in Admin \> Site Settings – then it will generate a onebox similar to the one you see above.

---

<div class="post-metadata">

**Author:** ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**Post date:** [September 27, 2016, 3:12am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/7 "2016-09-27T03:12:16Z")

</div>

But, why not always taking effects. Many links just won’t appear in an OneBox, how can I just make it appear for any link?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [September 27, 2016, 4:57am UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/8 "2016-09-27T04:57:14Z")

</div>

Add those domains to the whitelist in Site Settings.

---

<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:** [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/how-to-easily-repost-other-html-pages/44649/9 "2024-06-08T12:45:18Z")

</div>

This topic was automatically closed after 2938 days. New replies are no longer allowed.
