dmarquard Posted May 16, 2008 Share Posted May 16, 2008 I have an interesting situation. <i>Basically</i>, I want to be able to include a webpage's source, in its entirety, within my website. This can be easily accomplished by including it through an IFRAME; however, I want to avoid that all costs. Google does not index IFRAMES within the parent page's source and also don't show ads in the parent page relevant to the contents of the IFRAME. I basically want to isolate the entire source of a webpage in a single DIV. This DIV will ignore all formatting options of the parent page and inherit the remote page's source to be displayed just as it would in an IFRAME. I hope this makes sense. Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
dmarquard Posted May 16, 2008 Author Share Posted May 16, 2008 [bump]. Quote Link to comment Share on other sites More sharing options...
Xurion Posted May 16, 2008 Share Posted May 16, 2008 Can't be done in the way you want. Quote Link to comment Share on other sites More sharing options...
soycharliente Posted May 16, 2008 Share Posted May 16, 2008 It's possible that you could simply grab only the text from the site and paste it into the div. But like Xurion said, you can't do that with just CSS. You'd have to use something like PHP to grab the source and strip all the tags and then render only the left over text without any tags to worry about. Quote Link to comment Share on other sites More sharing options...
dmarquard Posted May 17, 2008 Author Share Posted May 17, 2008 It's possible that you could simply grab only the text from the site and paste it into the div. But like Xurion said, you can't do that with just CSS. You'd have to use something like PHP to grab the source and strip all the tags and then render only the left over text without any tags to worry about. I think I get what you're saying. What I'll do is include the original in an IFRAME and strip the tags of the page's source and include it in an invisible DIV. Think that'll serve my purpose? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.