<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Eric Pender &#187; JavaScript</title>
	<atom:link href="http://www.ericpender.com/blog/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ericpender.com</link>
	<description>Chicago SEO Expert &#124; Eric Pender &#124; EricPender.com</description>
	<lastBuildDate>Mon, 26 Jul 2010 22:37:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Deep Pages with Google Sitelinks</title>
		<link>http://www.ericpender.com/blog/deep-pages-with-google-sitelinks</link>
		<comments>http://www.ericpender.com/blog/deep-pages-with-google-sitelinks#comments</comments>
		<pubDate>Sat, 21 Mar 2009 13:40:06 +0000</pubDate>
		<dc:creator>Eric Pender</dc:creator>
				<category><![CDATA[Competitive Analysis]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Site Architecture]]></category>
		<category><![CDATA[Sitelinks]]></category>
		<category><![CDATA[Navigation]]></category>

		<guid isPermaLink="false">http://www.ericpender.com/?p=264</guid>
		<description><![CDATA[If you are plugged in to my Twitter feed you may have already seen this, as I posted this earlier today.  I found this while I was doing some competitive analysis of the SEO efforts for Toyota and Honda, among others. Both Honda and Toyota, among others, are getting Google Sitelinks to their deep pages.  [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>If you are plugged in to my <a href="http://twitter.com/ericpender" target="_blank">Twitter</a> feed you may have already seen this, as I posted this earlier today.  I found this while I was doing some competitive analysis of the SEO efforts for Toyota and Honda, among others.</p>
<p>Both Honda and Toyota, among others, are getting Google Sitelinks to their deep pages.  We&#8217;ve all seen Sitelinks for companies whose websites are highly relevant for a specific query.  But I have never seen Sitelinks going to a deep page before.  Not only are they Sitelinks for a deep page, but they&#8217;re Sitelink for a deep page on a subdomain!</p>
<div id="attachment_265" class="wp-caption alignnone" style="width: 398px">
	<img class="size-full wp-image-265  " style="border: 2px solid black;" title="sitelinks-deep-pages" src="http://www.ericpender.com/wp-content/uploads/2009/03/sitelinks-deep-pages.png" alt="Google Sitelinks for Civic Deep Page" width="398" height="120" />
	<p class="wp-caption-text">Google Sitelinks for Civic Deep Page</p>
</div>
<p>I think this is a great example of why very good internal site architecture is critical to search engine optimization.  Historically, automotive manufacturer websites have been experiential sites, often using a lot of Flash not only for the imagery but for the navigation menus as well.</p>
<div id="attachment_266" class="wp-caption alignnone" style="width: 300px">
	<img class="size-medium wp-image-266 " style="border: 2px solid black;" title="honda-flash-navigation-menu" src="http://www.ericpender.com/wp-content/uploads/2009/03/honda-flash-navigation-menu-300x208.png" alt="Honda's Flash Navigation Menu" width="300" height="208" />
	<p class="wp-caption-text">Honda&#39;s Flash Navigation Menu</p>
</div>
<p>As experienced SEOs know, these Flash navigation menus create significant crawlability issues for the search engines.  Honda is using an HTML underlayer beneith their Flash naviation that mirrors their main Flash navigation.  Not only are they using an HTML underlayer, but they have programmed it so that they layout is attractive to the user.</p>
<div id="attachment_267" class="wp-caption alignnone" style="width: 300px">
	<img class="size-medium wp-image-267 " style="border: 2px solid black;" title="honda-html-navigation-layer" src="http://www.ericpender.com/wp-content/uploads/2009/03/honda-html-navigation-layer-300x208.png" alt="Honda's HTML layer underneith Flash" width="300" height="208" />
	<p class="wp-caption-text">Honda&#39;s HTML layer underneith Flash</p>
</div>
<p><!--StartFragment--></p>
<p class="MsoNormal">It is important to point out here that using an HTML layer under your Flash is completely okay in the eyes of the search engines as long as you mirror the Flash content.<span> </span>If you create an HTML layer under your Flash and just plug a hundred different keywords, that&#8217;s not okay.<span> </span>But if the HTML text is a replicaiton of your Flash content, you should be in the clear.</p>
<p class="MsoNormal">
<p class="MsoNormal">Honda doesn&#8217;t muddy up their HTML layer.<span> </span>It is just a very basic, well-laid out replicaiton of their Flash navigation.<span> </span>The search engines can easily crawl these links, and if users have JavaScript or Flash turned off, they can still easily get to the deep pages of the site.</p>
<p class="MsoNormal">
<p class="MsoNormal">By creating very clear internal site architecture that can be easily crawled by search engines, even Honda&#8217;s deep pages have been able to achieve sitelinks.<span> </span>I would be curious to know the click-through rate and traffic increases for users whose search returns a Sitelinks result versus results that do not include Sitelinks.<span> </span>So far, I have seen some reported cases of traffic increases exceeding 30%.</p>
<p><!--EndFragment--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ericpender.com/blog/deep-pages-with-google-sitelinks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash, Low Speed Pages and SEO</title>
		<link>http://www.ericpender.com/blog/flash-low-speed-pages-and-seo</link>
		<comments>http://www.ericpender.com/blog/flash-low-speed-pages-and-seo#comments</comments>
		<pubDate>Thu, 12 Mar 2009 15:09:15 +0000</pubDate>
		<dc:creator>Eric Pender</dc:creator>
				<category><![CDATA[Duplicate Content]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Site Architecture]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[SWFObject]]></category>

		<guid isPermaLink="false">http://www.ericpender.com/?p=244</guid>
		<description><![CDATA[There is no doubt that Flash creates many issues when it comes to search engine optimization.  As you probably know, Flash files are similar to interactive movie files.  Even when there is textual content inside of Flash files, the text probably will not be indexed by the engines. A webmaster may or may not know [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>There is no doubt that <a href="http://www.ericpender.com/blog/seo-and-flash">Flash creates many issues when it comes to search engine optimization</a>.  As you probably know, Flash files are similar to interactive movie files.  Even when there is textual content inside of Flash files, the text probably will not be indexed by the engines.</p>
<p>A webmaster may or may not know about the various tactics that can be used to compensate for the SEO issues that are created when Flash is used.  They may be more likely to know best practices for graceful degradation from a user interface perspective than from a SEO perspective.  These user interface best practices can help with SEO issues as well, as long as they are implemented correctly.</p>
<h3>SWFObject</h3>
<p>The SWFObject is essentially a small JavaScript file that detects whether a users browser has Flash installed.  If the user has Flash, then the Flash file will load and the user will be able to engage in the rich Flash experience.  However, if the user does not have the Flash player installed, the SWFObject can be set up to show HTML content in place of the Flash file.</p>
<p>This type of graceful degradation is important to search engines as well as to humans.  Because search engines are not effective at indexing Flash, and since they will not execute JavaScript, the SWFObject allows replacement HTML content to be shown not only to human users, but to search engines as well.  Google has come out and said that use of the SWFObject is an SEO best practice, as long as the replacement content mirrors exactly the content in the Flash file.</p>
<h3>Low Speed Pages</h3>
<p>Sometimes, Flash developers may use what are called low speed pages as a way to provide graceful degradation for non-Flash users.  What are low speed pages?  Very simply, they are pages designed to be smaller in file size, and thus, load faster.  Generally, low speed pages are HTML versions of their Flash counterparts.  Low speed pages originated back before broadband was widespread.  This way, users with Flash could view the larger and bulkier Flash pages, while users who didn&#8217;t have Flash or who couldn&#8217;t load it quickly enough could use the low speed pages.</p>
<p>Wait a second, you are surly saying.  Why are developers using low speed pages if they can just use SWFObject?  The reason is because the original intent of low speed pages was, and to a increasingly smaller percentage of internet users still is, to provide a page that is quicker to load than a larger Flash file.  But now that high-bandwidth broadband access is available to more and more users, the need for a low speed page is decreasing.</p>
<p>Still, that doesn&#8217;t mean that developers have stopped using low speed pages.  After all, there are still users out there that do not have broadband access, or may be visiting your site from a mobile device, and the low speed pages work well for those users.</p>
<p>If you are doing search engine optimization on a site that has Flash as well as low speed pages that mirror the Flash pages, you need to check to see which page, the Flash version or the low speed version, has the better chance of ranking in the SERPs.</p>
<p>For a smaller site, the low speed version may have an easier time ranking, because there is little external link equity which means the search engines have to rely more heavily on internal factors to determine what a page is about.  In this case, you will want to add a meta noindex tag to the Flash version of the page.</p>
<p>On the other hand, for a larger enterprise level site, there may be much more external link equity for your Flash pages.  This is not always the case, so make sure to do a backlink report before you start making changes.  If you do determine that the Flash pages have significant link equity, while the low speed pages do not have as much link equity, you may make the decision to put a noindex tag on the low speed pages, despite the fact that they have better on-page optimization.  The low speed pages will still be entirely available to the user, but will not be indexed by the major search engines.</p>
<h3>The Best of Both Worlds</h3>
<p>In the end, you can use both Flash pages that use the SWFObject as a graceful degradation method, as well as low speed pages.  The content can be the same in both the Flash version, the HTML SWFObject backup, and the low speed pages, <em>as long as the low speed page has the noindex tag</em>.  However, if you want the low speed page to be the page that ranks, then you will need to take steps to make sure that the content is different enough to not create duplicate content issues with the Flash page&#8217;s SWFObject backup content.</p>
<p>Still, the situations where you would want the low speed pages to rank are increasingly rare.  With the SWFObject, and by putting your JavaScript and Flash in external files, you can effectively minimize the file size of your primary Flash page and deliver HTML content to users that do not have Flash installed and to the search engines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ericpender.com/blog/flash-low-speed-pages-and-seo/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tabs and SEO: Things You Need to Consider</title>
		<link>http://www.ericpender.com/blog/tabs-and-seo</link>
		<comments>http://www.ericpender.com/blog/tabs-and-seo#comments</comments>
		<pubDate>Sun, 08 Mar 2009 19:33:06 +0000</pubDate>
		<dc:creator>Eric Pender</dc:creator>
				<category><![CDATA[Canonicalization]]></category>
		<category><![CDATA[Duplicate Content]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Site Architecture]]></category>

		<guid isPermaLink="false">http://www.ericpender.com/?p=229</guid>
		<description><![CDATA[I really like the use of tabs to present content to users.  I think it&#8217;s a great way to take advantage of limited screen real estate on a web page.  However, there are some important things you need to consider for SEO if you are going to use tabs to present content to a visitor. [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I really like the use of tabs to present content to users.  I think it&#8217;s a great way to take advantage of limited screen real estate on a web page.  However, there are some important things you need to consider for SEO if you are going to use tabs to present content to a visitor.</p>
<h2><strong>How Focused is your Content?</strong></h2>
<p>That is the first very important question you need to ask yourself.  In most cases, if you are considering using tabs, each tab will likely be presenting content that is substantially unique.  If each tab is presenting content that really has the ability to stand on it&#8217;s own with regard to search engine ranking, then you want to make sure that you design the architecture of the page so that search engines can rank each instance of content individually.  Otherwise, you run the risk of diluting your ability to rank for <em>anything</em> if you don&#8217;t present the content to the search engines individually.</p>
<p>On the other hand, perhaps the content within each tab is focused on one specific topic.  In a case like this, you will want to present the content so that the search engines read all of the content as a singular source.</p>
<h2><strong>Presenting Each Tab Individually</strong></h2>
<p>In the majority of cases, this will be how you will need to present tabbed content.  Otherwise, you will run the risk of diluting your page to the point that you won&#8217;t have a strong chance of ranking for your targeted phrases.</p>
<h3>Individual Pages</h3>
<p>There are a couple of ways to present the content in this case.  Perhaps the easiest way is to program individual pages, where each page shows the selected &#8220;tab&#8221; as being on top and displaying content.</p>
<p>This method allows the content to exist on individual URLs, meaning that the search engines can index, and rank, each page individually.  It also means that each page of &#8220;tabbed&#8221; content can be deep linked to.</p>
<p>There are a lot of negative implications that need to be considered with this method.  The first is that when a tab is clicked, an entire new page must load, potentially making the user experience worse.  Also, as is often the case, you may have content on the pages that are identical outside of the tabbed content, such as an introductory paragraph.  Remember that if your tabbed content is relatively minimal, the search engines may index your pages and identify them as being duplicate content.</p>
<h3>Javascript and URL Parameters</h3>
<p>Another solution that can be faster from a user experience perspective is to use unobtrusive JavaScript to show and hide each tab.  In this scenario, the HTML content is contained within the page source code, while the JavaScript is called in from an external file.  This means that the JavaScript can execute for the user to enhance the site functionality, while users without JavaScript (including search engines) will still be able to see the HTML content.  You will also want to call the JavaScript function so that it offers a static link that passes a URL parameter (i.e. www.ericpender.com/blog/example?foo=2) as opposed to a URL fragment (i.e. www.ericpender.com/blog/example#foo=2).  This is because search engines typically ignore anything after the #, but will follow anything after a ?.  By using a URL parameter, the search engines will see each instance of tabbed content as a new page, even though from a user perspective the entire page will not be reloading.</p>
<h2><strong>Presenting Each Tab Collectively</strong></h2>
<p>Although not as likely, you may come across a situation where you want to present information in tabs, but you want all of the content in the tabs to be presented as one singular document to the search engines.</p>
<h3>JavaScript with Fragments</h3>
<p>This method is identical with the JavaScript method listed above except for one very important component.  Instead of using a static link when calling the JavaScript, you will use the URL fragment instead.  The user experience is the same, but the search engines will truncate anything after the # in the URL, so that it will view all of the tabbed content as existing on a single page.</p>
<h3>Link rel=&#8221;canonical&#8221;</h3>
<p>So far, we have covered different ways to present tabbed content to users, ways for that tabbed content to be deep linked to from other pages, and ways for the content to be viewed as a different pages within the search engines as well as being a singular page.  However, that still leaves us with one scenario.</p>
<p>Let&#8217;s say you want to use JavaScript to present tabbed content to a user.  You also want the search engines to spider the tabbed content as a single document (not as many individual pages).  Your programmers used the URL ? parameter instead of the # fragment so that the tabs could be deep linked.  The problem, however, is that because of the ? parameter, the each URL will be recognized as a new page.</p>
<p>The solution in this case is to use the link rel=&#8221;canonical&#8221; element.  This allows for the ability of the tabs to be deep linked, while telling the search engines that each of the URLs are actually duplicates of the URL without the parameter.</p>
<p>Tabbed content is a great way to present content to users, and can be very effective for SEO when done correctly.  Remember to ask yourself if each instance of tabbed content can stand on it&#8217;s own, and then employ the correct method of programming depending on the answer.</p>
<h4>Additional resources:</h4>
<ul>
<li><a href="http://tonyadam.com/blog/ajax-and-non-javascript-experiences-for-seo-friendly-websites">AJAX and Non-JavaScript Experiences for SEO friendly websites</a></li>
<li><a href="http://googlewebmastercentral.blogspot.com/2007/11/spiders-view-of-web-20.html">A spider&#8217;s view of Web 2.0</a></li>
<li><a href="http://domscripting.com/presentations/xtech2006/">Hijax: Progressive Enhancement with Ajax</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ericpender.com/blog/tabs-and-seo/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
