# How to embed html to other site

**URL:** <https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636>\
**Category:** Rails\
**Created:** [June 4, 2010, 10:55am UTC](https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636 "2010-06-04T10:55:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![soesan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@soesan01](https://www.ruby-forum.com/u/soesan01)\
**Post date:** [June 4, 2010, 10:55am UTC](https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636/1 "2010-06-04T10:55:49Z")

</div>

Hi,

Is there an example code to create embed code (from my site) so I can  
embed  
my html to other site?

for example, I want to embed my html to other site. Here is the sample  
embed  
code for example:  
[test](http://polsta.net/?embed=b10e419713f3aefb4c4d3741936ed8a9)\<script  
type=“text/javascript” src=“[http://polsta.net/javascripts/embedding.js](http://polsta.net/javascripts/embedding.js)”

> 

Yudi S.

---

<div class="post-metadata">

**Author:** ![soesan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@soesan01](https://www.ruby-forum.com/u/soesan01)\
**Post date:** [June 4, 2010, 2:01pm UTC](https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636/2 "2010-06-04T14:01:57Z")

</div>

Yudi S. wrote:

> Hi,
> 
> Is there an example code to create embed code (from my site) so I can  
> embed  
> my html to other site?
> 
> for example, I want to embed my html to other site. Here is the sample  
> embed  
> code for example:

check this link [[RailsTech.com is for sale | HugeDomains](http://railstech.com/?p=30)] might be helpful

---

<div class="post-metadata">

**Author:** ![soesan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@soesan01](https://www.ruby-forum.com/u/soesan01)\
**Post date:** [June 5, 2010, 9:42am UTC](https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636/3 "2010-06-05T09:42:12Z")

</div>

Hi amar,

I tried to click on your link [RailsTech.com is for sale | HugeDomains](http://railstech.com/?p=30) and I got  
this error “You don’t have permission to access / on this server”

Thanks for you help.  
Yudi

---

<div class="post-metadata">

**Author:** ![soesan01](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@soesan01](https://www.ruby-forum.com/u/soesan01)\
**Post date:** [June 7, 2010, 10:05am UTC](https://www.ruby-forum.com/t/how-to-embed-html-to-other-site/189636/4 "2010-06-07T10:05:09Z")

</div>

Yudi S. wrote:

> Hi amar,
> 
> I tried to click on your link [RailsTech.com is for sale | HugeDomains](http://railstech.com/?p=30) and I got  
> this error “You don’t have permission to access / on this server”
> 
> Thanks for you help.  
> Yudi

Its temporarily down  
You can just use jquery load function  
and insert into div  
like  
$(“#some\_div\_id”).load(“URL”)  
Try this out
