I am trying to embed multiple external websites into one web page. Using an IFRAME works ok, but once you get past 10 embedded iframes, the memory fottprint starts to get too big.
So I was thinking, is it possible via ajax/javascript, to re-use the same iframe to load the collection of websites one after enother, and display the results in a div on the main webpage? Or is this explicitly blocked for security reasons?
EDIT: I don’t want to go the screen scraping route, as I was planning to make this a semi public site, and I don’t want to incur all the bandwidth on my server and would rather have that done on the client, if it is possible.
You are trying to use a hammer to put screws in the wall. Maybe some will go, but it won’t be pretty. Your best option would be either a screen scraper or web services in order to retrieve the data from the external sites. Perhaps include more details about the situation such as, are the external sites your own. Do they offer syndication of their content that you are after. Are offline services available to you so you can consume this content?