<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: iFrames are evil. If you must, try this alternative.</title>
	<atom:link href="http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative/feed" rel="self" type="application/rss+xml" />
	<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative</link>
	<description>Search Engine Marketing Insights</description>
	<pubDate>Fri, 21 Nov 2008 19:34:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Mike Tighe</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-1070</link>
		<dc:creator>Mike Tighe</dc:creator>
		<pubDate>Fri, 03 Oct 2008 18:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-1070</guid>
		<description>No problem Sam I'm glad that you found it useful. 

While I'll agree with Johnny that there is a use for an iFrame, many people end up using them when coding a site who really shouldn't - using what I propose here is an alternative, but like any solution it should be based on what you hope to achieve.</description>
		<content:encoded><![CDATA[<p>No problem Sam I&#8217;m glad that you found it useful. </p>
<p>While I&#8217;ll agree with Johnny that there is a use for an iFrame, many people end up using them when coding a site who really shouldn&#8217;t - using what I propose here is an alternative, but like any solution it should be based on what you hope to achieve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-967</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 24 Sep 2008 20:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-967</guid>
		<description>Thanks for this clear article. Helped a very non-techie me to try it out, the site is the "NEWSFEED" page on the website you can get to clicking my name. It contains an RSS feed (or is supposed to) I just need to find out how to get the "frame" to display another page inside it using html and php which will link in the RSS feed and the individual RSS posts hopefully using the php.</description>
		<content:encoded><![CDATA[<p>Thanks for this clear article. Helped a very non-techie me to try it out, the site is the &#8220;NEWSFEED&#8221; page on the website you can get to clicking my name. It contains an RSS feed (or is supposed to) I just need to find out how to get the &#8220;frame&#8221; to display another page inside it using html and php which will link in the RSS feed and the individual RSS posts hopefully using the php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laura Callow</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-846</link>
		<dc:creator>Laura Callow</dc:creator>
		<pubDate>Mon, 15 Sep 2008 19:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-846</guid>
		<description>@Johnny Bgood - first, this was a blog post, not a training manual. Therefore, the same can be said for any post re your comment 'I think there is a lot more about this topic...' of course there is...

Second, Mike did not say an iFrame was like a Div - he specifically says that you could, should you want to, try a scrolling Div as an ALTERNATIVE to an iFrame that would achieve a visually similar (for the human user) though far more search friendly result. 

Third this comment '.. wouldn't expect anything more from a wordpress user.' is offensive and unecessary. Please don't bother commenting if you can't be more constructive in your 'criticism'.</description>
		<content:encoded><![CDATA[<p>@Johnny Bgood - first, this was a blog post, not a training manual. Therefore, the same can be said for any post re your comment &#8216;I think there is a lot more about this topic&#8230;&#8217; of course there is&#8230;</p>
<p>Second, Mike did not say an iFrame was like a Div - he specifically says that you could, should you want to, try a scrolling Div as an ALTERNATIVE to an iFrame that would achieve a visually similar (for the human user) though far more search friendly result. </p>
<p>Third this comment &#8216;.. wouldn&#8217;t expect anything more from a wordpress user.&#8217; is offensive and unecessary. Please don&#8217;t bother commenting if you can&#8217;t be more constructive in your &#8216;criticism&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny Bgood</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-791</link>
		<dc:creator>Johnny Bgood</dc:creator>
		<pubDate>Tue, 09 Sep 2008 00:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-791</guid>
		<description>I think there is a lot more about this topic the article publisher has not dealt with. A Div is nothing like an IFRAME and serves a completely different purpose.

IFRAMES are not old DIV boxes..

Please read up on your web terminologys.. wouldnt expect anything more from a wordpress user.</description>
		<content:encoded><![CDATA[<p>I think there is a lot more about this topic the article publisher has not dealt with. A Div is nothing like an IFRAME and serves a completely different purpose.</p>
<p>IFRAMES are not old DIV boxes..</p>
<p>Please read up on your web terminologys.. wouldnt expect anything more from a wordpress user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Tighe</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-120</link>
		<dc:creator>Mike Tighe</dc:creator>
		<pubDate>Wed, 07 May 2008 19:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-120</guid>
		<description>My bad, I totally mis-wrote that. Thanks for the catch Petro.</description>
		<content:encoded><![CDATA[<p>My bad, I totally mis-wrote that. Thanks for the catch Petro.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petro</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-118</link>
		<dc:creator>Petro</dc:creator>
		<pubDate>Wed, 07 May 2008 15:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-118</guid>
		<description>Good post.

Only a note: if the div is identified by a "class", then in the CSS the rule of that named class should be identified by a &lt;b&gt;point&lt;/b&gt; (The # is fine if you use an ID to identify your div).

I'm sure you already knew this well, it's a common mistake... but you may want to update the post.</description>
		<content:encoded><![CDATA[<p>Good post.</p>
<p>Only a note: if the div is identified by a &#8220;class&#8221;, then in the CSS the rule of that named class should be identified by a <b>point</b> (The # is fine if you use an ID to identify your div).</p>
<p>I&#8217;m sure you already knew this well, it&#8217;s a common mistake&#8230; but you may want to update the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-114</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Sat, 03 May 2008 05:09:40 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-114</guid>
		<description>Whoops, I probably should mention though that loading content via AJAX probably doesn't help with SEO though as it won't be there when the bot crawls your page.</description>
		<content:encoded><![CDATA[<p>Whoops, I probably should mention though that loading content via AJAX probably doesn&#8217;t help with SEO though as it won&#8217;t be there when the bot crawls your page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Lu</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-113</link>
		<dc:creator>Sam Lu</dc:creator>
		<pubDate>Sat, 03 May 2008 05:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-113</guid>
		<description>You could also pull in HTML from an external source using AJAX too, and by using some of the great libraries out there (I'm a huge fan of &lt;a href="http://jquery.com" rel="nofollow"&gt;jQuery&lt;/a&gt;), loading specific elements are effortless.</description>
		<content:encoded><![CDATA[<p>You could also pull in HTML from an external source using AJAX too, and by using some of the great libraries out there (I&#8217;m a huge fan of <a href="http://jquery.com" rel="nofollow">jQuery</a>), loading specific elements are effortless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Tighe</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-111</link>
		<dc:creator>Mike Tighe</dc:creator>
		<pubDate>Thu, 01 May 2008 22:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-111</guid>
		<description>Wow, thanks Devlin.

Like you said, iFrame doesn't even need to enter the loop with regards to 3rd party content - if PHP is setup for it, you can use includes to show 3rd party content.

I do know that Google Ads do use an iFrame. The biggest reason I think this might be is (1) it is a defined width and height, and (2) its hard for creative internet users to manipulate their code.

I think what you have suggested is very similar to what upcoming.org uses to embed content into sites. http://upcoming.yahoo.com/badge/</description>
		<content:encoded><![CDATA[<p>Wow, thanks Devlin.</p>
<p>Like you said, iFrame doesn&#8217;t even need to enter the loop with regards to 3rd party content - if PHP is setup for it, you can use includes to show 3rd party content.</p>
<p>I do know that Google Ads do use an iFrame. The biggest reason I think this might be is (1) it is a defined width and height, and (2) its hard for creative internet users to manipulate their code.</p>
<p>I think what you have suggested is very similar to what upcoming.org uses to embed content into sites. <a href="http://upcoming.yahoo.com/badge/" rel="nofollow">http://upcoming.yahoo.com/badge/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DevlinD</title>
		<link>http://seminsights.com/web-development/iframes-are-evil-if-you-must-try-this-alternative#comment-110</link>
		<dc:creator>DevlinD</dc:creator>
		<pubDate>Thu, 01 May 2008 22:23:07 +0000</pubDate>
		<guid isPermaLink="false">http://seminsights.com/?p=92#comment-110</guid>
		<description>Part of the reason for the iFrame however that is not mentioned in your alternative is the fact that they can be used to display content from third party websites (which isn't really a good idea anyways since iFrames can be disabled with a single line of Javascript in the embedded page). This has actually just got me thinking that a cool web service to create would be to have a line of Javascript embedded in the page (probably in your overflow div or equivalent element) that would make a call to a service and apply either:

A scrape technique based on user defined elements that denote start and stop elements for specific pieces of the page that you would want to grab.

OR 

Apply some XSLT and/or CSS to elements found within a specific element on a page.

OR

Some combination of both.

Basically you could have some XML document that defines which elements' content you want to grab and the CSS to be applied to the end result if necessary. The XSLT may not be the most accessible way to go since if you can go through the trouble of writing the XSLT then you could probably write the rest of the component easily enough, but different strokes for different folks I guess.

In any case if anyone is ever considering using an iFrame to display third party content on your site please think again and try to develop something that actually takes the content from the site and formats it to your needs. Like all scraping methods this will require updates when the format of the embedded site changes but overall the user experience on your site will be more uniform and not disrupted by content that is styled differently than what you have on your site.</description>
		<content:encoded><![CDATA[<p>Part of the reason for the iFrame however that is not mentioned in your alternative is the fact that they can be used to display content from third party websites (which isn&#8217;t really a good idea anyways since iFrames can be disabled with a single line of Javascript in the embedded page). This has actually just got me thinking that a cool web service to create would be to have a line of Javascript embedded in the page (probably in your overflow div or equivalent element) that would make a call to a service and apply either:</p>
<p>A scrape technique based on user defined elements that denote start and stop elements for specific pieces of the page that you would want to grab.</p>
<p>OR </p>
<p>Apply some XSLT and/or CSS to elements found within a specific element on a page.</p>
<p>OR</p>
<p>Some combination of both.</p>
<p>Basically you could have some XML document that defines which elements&#8217; content you want to grab and the CSS to be applied to the end result if necessary. The XSLT may not be the most accessible way to go since if you can go through the trouble of writing the XSLT then you could probably write the rest of the component easily enough, but different strokes for different folks I guess.</p>
<p>In any case if anyone is ever considering using an iFrame to display third party content on your site please think again and try to develop something that actually takes the content from the site and formats it to your needs. Like all scraping methods this will require updates when the format of the embedded site changes but overall the user experience on your site will be more uniform and not disrupted by content that is styled differently than what you have on your site.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
