# Understanding how embedding works on remote site

**URL:** <https://meta.discourse.org/t/understanding-how-embedding-works-on-remote-site/27781>\
**Category:** Support\
**Created:** [20 Aprile 2015, 10:22pm UTC](https://meta.discourse.org/t/understanding-how-embedding-works-on-remote-site/27781 "2015-04-20T22:22:48Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![cklepeis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cklepeis/32/116281_2.png) [@cklepeis](https://meta.discourse.org/u/cklepeis)\
**Post date:** [14 Giugno 2015, 3:34am UTC](https://meta.discourse.org/t/understanding-how-embedding-works-on-remote-site/27781/12 "2015-06-14T03:34:28Z")

</div>

Thanks, I missed that. I applied the blacklist selector to the title element, just as a test to see if I could get it to pull the H1 as the title. Didn’t work - didn’t event create the topic (not surprised… I wouldn’t normally add a class to a title).

My workaround for the title is this:

```
discourseEmbedUrl = 'http://[my site].com/?eid=[event ID]&ref=cpdiscourse&title=[url encoded event title]';

```

Then if ref and title are present in the querystring, I change the meta title just for Discourse… adding a noindex so this variation doesn’t get picked up by search engines.

The blacklist selector worked perfectly for allowing me to prevent certain things from showing up in the description.

---

_[View the full topic](https://meta.discourse.org/t/understanding-how-embedding-works-on-remote-site/27781)._
