# How can i render an external url?

**URL:** <https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023>\
**Category:** Rails\
**Created:** [February 20, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023 "2006-02-20T21:17:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noel\_RSMorais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/779978/32.png) [@Noel\_RSMorais](https://www.ruby-forum.com/u/Noel_RSMorais)\
**Post date:** [February 20, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023/1 "2006-02-20T21:17:11Z")

</div>

Hi everybody,

Well, how can I render an external url? In java, I do something like  
this:

External URL

\<jsp:include page=“[www.rubyonrails.org](http://www.rubyonrails.org)” /\>

Noel R. Morais

RFC - Ready for Calls

+55 (11) 3471-4005

www.rfcnet.com.br

---

<div class="post-metadata">

**Author:** ![Noel\_RSMorais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/779978/32.png) [@Noel\_RSMorais](https://www.ruby-forum.com/u/Noel_RSMorais)\
**Post date:** [February 20, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023/2 "2006-02-20T21:23:22Z")

</div>

On Monday, February 20, 2006, at 6:14 PM, Noel R. Morais wrote:

> Hi everybody,
> 
> \<jsp:include page=“[www.rubyonrails.org](http://www.rubyonrails.org)” /\>

A niave implementation would be:

\<%require ‘open-uri’%\>

\<%=open(“[http://www.rubyonrails.org](http://www.rubyonrails.org)”).read%\>

Mikkel B.

www.strongside.dk - Football Portal(DK)  
[nflfeed.helenius.org](http://nflfeed.helenius.org) - Football News(DK)  
ting.minline.dk - Buy Old Stuff!(DK)

---

<div class="post-metadata">

**Author:** ![Noel\_RSMorais](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/779978/32.png) [@Noel\_RSMorais](https://www.ruby-forum.com/u/Noel_RSMorais)\
**Post date:** [March 9, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023/3 "2006-03-09T19:09:22Z")

</div>

I thought having a new div including the output of the open “blind\_down”  
from the top of the page would be a cool idea.  
However, I’m not trying to debug why Firefox crashes every time I click  
on  
the link\_to\_remote that triggers the RJS template to do this 🙂

On 20 Feb 2006 20:22:02 -0000, Mikkel B. \<
