Click here to get back home

Embedding external content - impossible?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Embedding external content - impossible? blackant 05-10-2005
Get Chitika Premium
Posted by blackant on May 10, 2005, 6:45 pm
Please log in for more thread options


Ok, I've been trying to figure this out for a week and I've yet to get
anywhere. I want to be able to have any site owner cut and paste a line
of Javascript into their page(s) with the end result being a block of
embedded content from my server. So this much isn't rocket science -
it's exactly what Google AdSense does. Their JS simply spits out the
markup for an iframe with the source being a page on their server.

I want to do almost exactly the same thing except that I want to be
able to have my embedded block dynamically resize as the remote content
updates (think AJAX/DOM updates on the remote page). If this all
happened on the same domain, I could simply have my iframe page call
the parent and update the iframe dimensions, but this is not permitted
cross-domain.

I also thought of injecting AJAX code as part of the JS include, but
you can't make XMLHttp requests to a different domain.

I'm sure many people have come up against this problem, but I've
convinced myself that there must be some clever solution. Any ideas?


Similar ThreadsPosted
How to publish external content in a div August 21, 2007, 7:05 pm
Can you display content from external URL in table? August 24, 2007, 3:02 pm
I thought it was "impossible" to precisely dictate image position with html commands? October 3, 2004, 10:41 am
embedding + mouseover September 24, 2004, 12:45 am
embedding media player September 30, 2004, 11:58 am
Embedding a URL as an argument to a CGI program January 14, 2005, 7:57 pm
Embedding a Form in an HTML E-Mail - Possible? September 16, 2004, 7:10 am
Embedding a DVD movie to an HTML page March 10, 2005, 9:57 pm
embedding images in HTML with the data URL src January 28, 2006, 1:26 am
Legality of embedding YouTube videos? February 1, 2007, 2:31 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap