How to embed html to other site

11 views
Skip to first unread message

Yudi Soesanto

unread,
Jun 4, 2010, 4:54:18 AM6/4/10
to rubyonra...@googlegroups.com
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:
<a href="http://polsta.net/?embed=b10e419713f3aefb4c4d3741936ed8a9" id="polstalinkb10e419713f3aefb4c4d3741936ed8a9">test</a><script type="text/javascript" src="http://polsta.net/javascripts/embedding.js" ></script><script type="text/javascript">polstaEmbed('b10e419713f3aefb4c4d3741936ed8a9', 'http://polsta.net/')</script>


Yudi Soesanto

Amar Daxini

unread,
Jun 4, 2010, 8:01:57 AM6/4/10
to rubyonra...@googlegroups.com
Yudi Soesanto 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 [http://railstech.com/?p=30] might be helpful
--
Posted via http://www.ruby-forum.com/.

Yudi

unread,
Jun 5, 2010, 3:40:58 AM6/5/10
to Ruby on Rails: Talk
Hi amar,

I tried to click on your link 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

Amar Daxini

unread,
Jun 7, 2010, 4:05:09 AM6/7/10
to rubyonra...@googlegroups.com
Yudi Soesanto wrote:
> Hi amar,
>
> I tried to click on your link 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

Reply all
Reply to author
Forward
0 new messages