title: Loading external content with jquery or iframe?
body: <p>Hiho,</p>
  
  <p>There's an existing website that i need to include into another site which goes like this:</p>
  
  <p><strong>a.mysite.com</strong></p>
  
  <p>and i need to fetch content from this site in my</p>
  
  <p><strong>www.mysite.com</strong></p>
  
  <p>website...</p>
  
  <p>As i need to access the content of the iframe the Same origin policy produces a problem here.
  What i did was to configure mod_proxy on Apache to proxy pass all requests from</p>
  
  <p><strong>www.mysite.com/a</strong> </p>
  
  <p>to </p>
  
  <p><strong>a.mysite.com</strong></p>
  
  <p>This will work fine...but my problem is that im not sure what the best way would be to include those pages.</p>
  
  <p><strong>1. Idea</strong></p>
  
  <p>As the content of the iframe is a full featured site with a top navigation...left navigation etc....i would need to change the page template to only show the content box to be able to integrate that page in the iframe.</p>
  
  <p><strong>2. Idea</strong></p>
  
  <p>I could just load the DIV where the content lies through JQuery.load() and integrate it into my site.</p>
  
  <p>What is the best way to accomplish such a task? How bad is both ideas from the SEO point of view?</p>