<?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>Ardamis &#187; Google</title>
	<atom:link href="http://www.ardamis.com/category/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ardamis.com</link>
	<description>Ardamis is a blog about web development and technology in general.</description>
	<lastBuildDate>Thu, 02 Feb 2012 07:07:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ardamis in 2012 &#8211; new look, more microdata, faster code</title>
		<link>http://www.ardamis.com/2012/01/22/ardamis-2012/</link>
		<comments>http://www.ardamis.com/2012/01/22/ardamis-2012/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 05:50:02 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[comment spam]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=1863</guid>
		<description><![CDATA[Ardamis.com is starting out 2012 with a new look, better structured data markup, and a revamped anti-spam system.]]></description>
			<content:encoded><![CDATA[<p>Just a few weeks behind schedule, but a long time in the works, I&#8217;ve finally pushed the new WordPress theme for Ardamis live.  Basic and elegant (I&#8217;m trying to establish a trend here), the theme also should outperform its predecessors in both page load times and SEO-potential.  The index and archive pages should appear more consistent, and all pages should provide more complete structured data markup (<a href="http://schema.org/">schema.org</a> as well as <a href="http://microformats.org/wiki/existing-classes">microformats.org</a>).  The comment form has been outfitted with <a href="http://www.ardamis.com/2011/08/27/a-cache-proof-method-for-reducing-comment-spam/">an improved approach to reducing comment spam</a>.</p>
<p>The new theme is pretty light on the graphics, due to increased browser support for and subsequently greater use of CSS3 goodness for box shadows and gradients.  I&#8217;ve reduced the number of image files to two: a background and a sprites file.</p>
<p>Only half-implemented in the previous theme, the new look, &#8220;Joy&#8221;, makes much better use of structured data markup, or <a href="http://en.wikipedia.org/wiki/Microdata_(HTML)">microdata</a>.  Google is absolutely looking for ways to display your pages&#8217; semantic markup in its results, so you may as well get on board.</p>
<p>The frequency of spam comments increased dramatically over the past two months, according to my Akismet stats, so I&#8217;ve gone back to the drawing board and developed a better front-line defense against them.  The new method should be more opaque to bots that parse JavaScript while still being invisible to human visitors leaving legitimate comments.</p>
<p>In sum, I think Ardamis should be leaner, faster, and smarter (and maybe prettier) in 2012 than ever before.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2012/01/22/ardamis-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accidental fast scrolling in Android</title>
		<link>http://www.ardamis.com/2011/08/25/accidental-fast-scrolling-in-android/</link>
		<comments>http://www.ardamis.com/2011/08/25/accidental-fast-scrolling-in-android/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 02:20:22 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=1668</guid>
		<description><![CDATA[What am I doing that makes Android occasionally scroll very quickly?]]></description>
			<content:encoded><![CDATA[<p>I have an Android 2.2.1 device, and I keep noticing what may be a glitch in the scrolling.  This happens in all applications in which scrolling occurs, but most frequently in Twitter.  I&#8217;ll be slowly scrolling along, swipe&#8230; swipe&#8230; swipe&#8230; trying to catch up with dozens of tweets, when all of a sudden the scrolling takes off lightning fast.</p>
<p>When it takes off, it goes much faster than I&#8217;m ever able to make it go, which leaves me with the impression that I&#8217;m invoking a feature.  But I can&#8217;t purposefully recreate this accidental fast scrolling.  The closest I could come was when I lifted my finger at the end of the swipe, and my finger was near the top of the application.  But I can&#8217;t swear that this is where my finger is each time it happens.</p>
<p>Others before me have <a href="http://androidforums.com/motorola-droid/17131-quick-scroll-bottom-bug-feature.html">wondered whether this is a bug or a feature</a>.</p>
<p>The thing is, I&#8217;m not even trying to go fast, I&#8217;m actually doing slow, short swipes while trying to scan a screen&#8217;s worth of content at a time, so when it starts scrolling quickly, I have to mash my finger down to put on the brakes, then scroll back to wherever I was.</p>
<p><strong>Update 08.27.11:</strong> Could the fast scrolling happen when I scroll at the same time extra data is being <a href="http://en.wikipedia.org/wiki/Lazy_loading">lazy-loaded</a> by the browser or app?  So, I scroll a little bit, and the page starts loading some images, and before it&#8217;s done rendering, I scroll again.  The page then finishes loading the images and processes the scroll event, but due to some glitch, goes berserk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2011/08/25/accidental-fast-scrolling-in-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two million inbound links</title>
		<link>http://www.ardamis.com/2011/04/07/two-million-inbound-links/</link>
		<comments>http://www.ardamis.com/2011/04/07/two-million-inbound-links/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 15:28:04 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>
		<category><![CDATA[blogging]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=1308</guid>
		<description><![CDATA[For posterity, a record of the inbound links and site performance as reported by Google Webmaster Tools in April, 2011.]]></description>
			<content:encoded><![CDATA[<p>As of April, 2011, the home page of ardamis.com has over two million inbound links, with over 2,800,000 total inbound links to all pages on the site.  </p>
<p>This is an increase of 1,200,000 inbound links to the home page alone since July, 2010.  I calculate that the home page is gained an average of 150,000 inbound links a month during the last eight months.  That&#8217;s pretty amazing.</p>
<div id="attachment_1309" class="wp-caption aligncenter" style="width: 830px"><a href="http://www.ardamis.com/wp-content/uploads/2011/04/2011-april-inbound-links.png"><img src="http://www.ardamis.com/wp-content/uploads/2011/04/2011-april-inbound-links.png" alt="" title="2011-april-inbound-links" width="820" height="214" class="size-full wp-image-1309" /></a><p class="wp-caption-text">April 2011 Inbound Links</p></div>
<p>But I continue to be disappointed in the Site Performance area of Webmaster Tools.  Try as I might, Google still thinks my site is crushingly slow, with average load times of 2.9 seconds, even though my independent tests suggest that the site consistently returns pages in less than two seconds.</p>
<div id="attachment_1310" class="wp-caption aligncenter" style="width: 830px"><a href="http://www.ardamis.com/wp-content/uploads/2011/04/2011-april-site-performance.png"><img src="http://www.ardamis.com/wp-content/uploads/2011/04/2011-april-site-performance.png" alt="" title="2011-april-site-performance" width="820" height="352" class="size-full wp-image-1310" /></a><p class="wp-caption-text">April 2011 Site Performance</p></div>
<p>I&#8217;ll keep at it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2011/04/07/two-million-inbound-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sitelinks are back on Ardamis</title>
		<link>http://www.ardamis.com/2010/10/17/sitelinks-are-back-on-ardamis/</link>
		<comments>http://www.ardamis.com/2010/10/17/sitelinks-are-back-on-ardamis/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 04:33:48 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=1079</guid>
		<description><![CDATA[Ardamis.com once again has three Google sitelinks, as it did in mid-2009, and is approaching two million inbound links.]]></description>
			<content:encoded><![CDATA[<p>As of early October, Ardamis.com has its Google sitelinks back.  I first noticed them back in July of 2009, when <a href="http://www.ardamis.com/2009/07/01/toolbar-page-rank-of-6-and-3-one-line-sitelinks/">Ardamis had a toolbar PageRank of 6</a>.  Changes to Google&#8217;s algorithm later cost the site the sitelinks and reduced the PR to 5, which is how the site has appeared for the last year or so.  Three months ago, in July of 2010 and one year after the sitelinks appeared, I noticed that all of the pages combined had over <a href="http://www.ardamis.com/2010/07/13/one-million-inbound-links/">one million inbound links</a>.</p>
<p>This is what a <a href="http://www.google.com/search?q=ardamis">Google search for ardamis</a> returns:</p>
<div id="attachment_1080" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.ardamis.com/wp-content/uploads/2010/10/ardamis-100310-sitelinks.png"><img src="http://www.ardamis.com/wp-content/uploads/2010/10/ardamis-100310-sitelinks.png" alt="Ardamis' Google sitelinks" title="ardamis-100310-sitelinks" width="500" height="414" class="size-full wp-image-1080" /></a><p class="wp-caption-text">Ardamis' Google sitelinks</p></div>
<p>The second result returned, <a href="http://www.ardamis.com/2010/03/12/final-fantasy-xiii-freezing-xbox-360/">Final Fantasy XIII freezing on Xbox 360</a>, is among my longest posts, has 91 comments, and enjoys some of the best inbound links of any page on the site, including from the <a href="http://forums.xbox.com/31685195/PrintPost.aspx">forums at Xbox.com</a>, <a href="http://kotaku.com/5494326/rumor-final-fantasy-xiii-ps3-has-freezing-issues">Kotaku</a> and <a href="http://www.gamesradar.com/ps3/final-fantasy-xiii/news/potentially-major-final-fantasy-xiii-freezing-issue-emerges/a-20100316104130477028/g-20060508175846527007">GamesRadar</a>.</p>
<p>The third result is my primary competition for the term <strong>ardamis</strong>, which briefly held the number one ranking a few months ago.   That site has some <a href="http://googlewebmastercentral.blogspot.com/2009/04/one-line-sitelinks.html">one-line site links</a>.</p>
<p>The actual mechanics of obtaining <a href="http://www.google.com/support/webmasters/bin/answer.py?hl=en&#038;answer=47334">sitelinks</a> remains a mystery, but there are plenty of people who are willing to speculate (and a few brave enough to promise they can deliver them for a price).</p>
<p>I&#8217;ve been posting more frequently, the site uses the <a href="http://wordpress.org/extend/plugins/wp-paginate/">WP-Paginate plugin</a> and according to <a href="http://www.google.com/webmasters/tools">Google&#8217;s Webmaster Tools</a>, the home page alone now has well over one million inbound links, but otherwise it&#8217;s been business as usual here.</p>
<div id="attachment_1081" class="wp-caption aligncenter" style="width: 511px"><a href="http://www.ardamis.com/wp-content/uploads/2010/10/ardamis-100310-inbound-links.png"><img src="http://www.ardamis.com/wp-content/uploads/2010/10/ardamis-100310-inbound-links.png" alt="Ardamis home page one million links" title="ardamis-100310-inbound-links" width="501" height="273" class="size-full wp-image-1081" /></a><p class="wp-caption-text">Over one million inbound links to the home page of Ardamis.com</p></div>
<p>I&#8217;m not going to speculate about how to get sitelinks or whether one or more of the changes in the last year was the catalyst, but Google does say to use descriptive and non-repetitive anchor and alt text in a site&#8217;s internal links and to keep important pages within a few clicks of the home page.  These are very basic, fundamental things that any site should do, but it bears repeating.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2010/10/17/sitelinks-are-back-on-ardamis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Four sources of basic SEO information for beginners</title>
		<link>http://www.ardamis.com/2010/08/04/basic-seo/</link>
		<comments>http://www.ardamis.com/2010/08/04/basic-seo/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 05:08:50 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Nonsense]]></category>
		<category><![CDATA[Web Site Dev]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=840</guid>
		<description><![CDATA[New to SEO?  Here are four resources for getting started.  Aimed at beginners, applying these basic best practices will give your site an advantage over your competitors.]]></description>
			<content:encoded><![CDATA[<p>Are you new to SEO? Do you have a basic understanding of how web pages are built, and want to tweak yours for better rankings?  I&#8217;ve wanted to collect a few authoritative, practical, and non-technical resources on SEO for my clients for some time.  The good news is that it&#8217;s easier than you think to build a page that does a number of things that the search engines like.  The guides below should help explain what to look for when evaluating whether a site has been developed with an eye for SEO.</p>
<p>Google has created a compact <a href="http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html">Search Engine Optimization Starter Guide</a> of best practices that developers can follow to improve their sites&#8217; crawlability and indexing.  This guide is <a href="http://www.google.com/webmasters/docs/search-engine-optimization-starter-guide.pdf">available as a PDF</a>.</p>
<p>The SEOmoz <a href="http://guides.seomoz.org/beginners-guide-to-search-engine-optimization">Beginner&#8217;s Guide to SEO</a> provides comprehensive information you need to get on the road to professional quality SEO.  Read it online or <a href="http://www.seomoz.org/dp/download-the-pdf-version-of-the-beginners-guide-to-seo">download it as a PDF</a>.</p>
<p>SEOmoz&#8217;s CEO and co-founder wrote a very nice article on <a href="http://www.seomoz.org/blog/perfecting-keyword-targeting-on-page-optimization">building the perfectly optimized page</a> that explains the most important on-page factors and how they affect rankings in today&#8217;s environment.</p>
<p>Sometimes, a client will ask for SEO as though it&#8217;s something to be tacked on after the site has been built.  Happily, good development practices benefit human visitors as well as SEO, and they go into every site I build, as I build it, from the very first line of code.  I&#8217;ve written up a list of on-page factors and other considerations within a developer&#8217;s direct control that are important not only for SEO, but for good web development in general, at <a href="http://alephstudios.com/services/seo-consulting/">Aleph Studios | SEO Consulting</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2010/08/04/basic-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One million inbound links</title>
		<link>http://www.ardamis.com/2010/07/13/one-million-inbound-links/</link>
		<comments>http://www.ardamis.com/2010/07/13/one-million-inbound-links/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 12:32:14 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=747</guid>
		<description><![CDATA[Google Webmaster Tools is reporting over one million inbound links to pages on ardamis.com.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like to note that, as of today, Google Webmaster Tools is reporting over one million inbound links to pages on ardamis.com.</p>
<div id="attachment_748" class="wp-caption aligncenter" style="width: 432px"><a href="http://www.ardamis.com/wp-content/uploads/2010/07/one-million-inbound-links.png"><img src="http://www.ardamis.com/wp-content/uploads/2010/07/one-million-inbound-links.png" alt="one million inbound links" title="one million inbound links" width="422" height="251" class="size-full wp-image-748" /></a><p class="wp-caption-text">One million inbound links!</p></div>
<p>I&#8217;ve been spending quite a bit of time on ardamis.com lately, giving it a new look, working at improving the site&#8217;s navigation, cultivating some inbound links, and posting more regularly.  It&#8217;s rewarding to see that the effort is paying off.</p>
<p>Over the last few days, I&#8217;ve been concentrating on reducing page load times by sending the proper headers and compressing files.</p>
<p>I&#8217;ll give it some time and see how performance improves.</p>
<p>According to Google&#8217;s Webmaster Tools&#8217; performance overview, with Super Cache running, a single minified CSS, a single minified JavaScript, etc. but no compression or header tweaks:<br />
On average, pages in your site take 2.8 seconds to load (updated on Jun 28, 2010). This is faster than 53% of sites.</p>
<p>The chart illustrating page load times is pretty much all over the place, but at no time has the site dipped into the 20th percentile, indicating a &#8216;fast&#8217; site.  I&#8217;m trying to change that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2010/07/13/one-million-inbound-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toolbar Page Rank of 6 and 3 one-line sitelinks</title>
		<link>http://www.ardamis.com/2009/07/01/toolbar-page-rank-of-6-and-3-one-line-sitelinks/</link>
		<comments>http://www.ardamis.com/2009/07/01/toolbar-page-rank-of-6-and-3-one-line-sitelinks/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:24:28 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Nonsense]]></category>
		<category><![CDATA[Web Site Dev]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/?p=297</guid>
		<description><![CDATA[For posterity, a quick note that today I noticed http://www.ardamis.com/ was back up to a toolbar page rank of 6 after a number of months at 5. A little later in the day, I noticed 3 one-line sitelinks to: Colophon &#8211; About &#8211; Portfolio. We&#8217;ll, I&#8217;d have preferred different pages, but these are my first [...]]]></description>
			<content:encoded><![CDATA[<p>For posterity, a quick note that today I noticed http://www.ardamis.com/ was back up to a toolbar page rank of 6 after a number of months at 5.  A little later in the day, I noticed 3 one-line sitelinks to: Colophon &#8211; About &#8211; Portfolio.  We&#8217;ll, I&#8217;d have preferred different pages, but these are my first sitelinks, so I&#8217;m still thrilled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2009/07/01/toolbar-page-rank-of-6-and-3-one-line-sitelinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress comments feed in Google&#8217;s Supplemental Index</title>
		<link>http://www.ardamis.com/2007/01/13/wordpress-comments-feed-in-googles-supplemental-index/</link>
		<comments>http://www.ardamis.com/2007/01/13/wordpress-comments-feed-in-googles-supplemental-index/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 07:58:27 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/2007/01/13/wordpress-comments-feed-in-googles-supplemental-index/</guid>
		<description><![CDATA[I was tired of seeing the majority of my posts&#8217; comments feeds show up in Google&#8217;s Supplemental Index, so I changed all the individual posts&#8217; comments RSS links to rel=&#8221;nofollow&#8221;. This should at least cause Googlebot to stop passing PageRank through those links, but what I really want is for Googlebot to stop spidering the [...]]]></description>
			<content:encoded><![CDATA[<p>I was tired of seeing the majority of my posts&#8217; comments feeds show up in Google&#8217;s Supplemental Index, so I changed all the individual posts&#8217; comments RSS links to rel=&#8221;nofollow&#8221;.  This should at least cause Googlebot to stop passing PageRank through those links, but what I really want is for Googlebot to stop spidering the individual posts&#8217; comment feeds, in hopes that they&#8217;ll eventually be removed from the index. To see only those pages of a site that are in the Supplemental Index, use this neat little search feature: <code>site:DOMAIN.com *** -view</code>.  For example, to see which pages of Ardamis.com are in the SI, I&#8217;d search for: <code>site:ardamis.com *** -view</code>.  This is much easier than the old way of scanning all of the indexed pages and picking them out by hand.</p>
<p>To change all the individual posts&#8217; comments feed links to rel=&#8221;nofollow&#8221;, open &#8216;\wp-includes\feed-functions.php&#8217; and add rel=&#8221;nofollow&#8221; to line 84 (in WordPress version 2.0.6), as so:</p>
<pre class="brush: php; title: ; notranslate">
echo &quot;&lt;a href=\&quot;$url\&quot; rel=\&quot;nofollow\&quot;&gt;$link_text&lt;/a&gt;&quot;;
</pre>
<p>One could use the robots.txt file to disallow Googlebot from all /feed/ directories, but this would also restrict it from the general site&#8217;s feed and the all-inclusive /comments/feed/, and I&#8217;d like the both of these feeds to continue to be spidered. Another, minor consequence of using robots.txt to restrict Googlebot is that Google Sitemaps will warn you of &#8220;URLs restricted by robots.txt&#8221;.</p>
<p>To deny all spiders from any /feed/ directory, add the following to your robots.txt file:</p>
<pre class="brush: plain; title: ; notranslate">
User-agent:*
Disallow: /feed/
</pre>
<p>To deny just Googlebot from any /feed/ directory, use:</p>
<pre class="brush: plain; title: ; notranslate">
User-agent: Googlebot
Disallow: /feed/
</pre>
<p>For whatever reason, the whole-site comments feed at <a href="feed:http://www.ardamis.com/comments/feed/">http://www.ardamis.com/comments/feed/</a> does not appear among my indexed pages, while the nearly empty individual post feeds are indexed.  Also, the general site feed at <a href="http://www.ardamis.com/feed/">http://www.ardamis.com/feed/</a> is in the Supplemental Index.  It&#8217;s a mystery to me why.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2007/01/13/wordpress-comments-feed-in-googles-supplemental-index/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>External Files Causing a WordPress 404 Error?</title>
		<link>http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/</link>
		<comments>http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 05:32:04 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Web Site Dev]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/</guid>
		<description><![CDATA[How to resolve an issue with pages external to WordPress being sent with a 404 status.]]></description>
			<content:encoded><![CDATA[<p>I needed to find a satisfactory way of adding WordPress tags and theme elements (such as the sidebar) to pages that exist outside of WordPress.  A non-WordPress page could then appear to be seemlessly incorporated into the site, wherein the layout automatically updates with changes to the theme template files, and could use the same header, sidebar, and footer as a normal WordPress page.</p>
<p>The first few solutions that I found involved adding a <code><?php require('./wp-blog-header.php'); ?></code> line to each non-WordPress page.  This does indeed allow the page to incorporate WordPress tags, theme elements and styles, but there is a serious drawback to this method because of the way WP manages a web site.  </p>
<p>When you click on the link to a WP page, or enter it into the address bar, you aren&#8217;t actually going to a file that resides at that address.  Instead, WP uses that address as an instruction to pull various database entries and form an index.php page that resides in the WP installation directory.  For example, while the address for this page appears to be http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/ , the actual page is at http://www.ardamis.com/index.php.</p>
<p>WordPress assumes that it is responsible for every page on the site, and that there are no pages on the site that it doesn&#8217;t know about.  If you try to browse to a page that WP doesn&#8217;t know about, it sends you a 404 error page instead.  This is what you want it to do, so long as you don&#8217;t create any pages outside of WordPress.</p>
<p>But a problem arises when you do want to create a page that WP doesn&#8217;t know about.  When you visit the page, WP checks the database and finds that it doesn&#8217;t exist, so it puts a 404 error in the http header, but the page does exist, so Apache sends the page with the 404 error.  This behavior seemed to cause some problems with some versions of IE but none with Firefox.  It did, however, result in a 404 header being given to Googlebot, so that non-WordPress pages would incorrectly show up in Google Sitemaps as Not Found.</p>
<p>To get around this problem and send the correct http header code: <strong>HTTP Status Code: HTTP/1.1 200 OK</strong>, I needed to require a different file, wp-config.php, and then select specific functions for use in the page.  results in a page that can use all of the desired tags and theme elements and also sends the correct header code: HTTP Status Code: HTTP/1.1 200 OK</p>
<p>The following code results in a page that can use all of the tags and theme elements (you may need to adjust the path to wp-config.php):</p>
<pre class="brush: php; title: ; notranslate">&lt;?php require('./wp-config.php');
$wp-&gt;init();
$wp-&gt;parse_request();
$wp-&gt;query_posts();
$wp-&gt;register_globals();
?&gt;

&lt;?php get_header(); ?&gt;

&lt;div id=&quot;content&quot;&gt;
&lt;div class=&quot;post&quot;&gt;
&lt;h2&gt;*** Heading Goes Here ***&lt;/h2&gt;
&lt;div class=&quot;entry&quot;&gt;
*** Content in Paragraph Tags Goes Here ***
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;?php get_sidebar(); ?&gt;

&lt;?php get_footer(); ?&gt;
</pre>
<h3>Testing the method</h3>
<p>Using wp-blog-header.php as the include, I created a <a href="http://www.ardamis.com/testing/">GoogleBot/WordPress 404 Testing Page</a> as the index.php file in the /testing/ folder.  I added the url http://www.ardamis.com/testing/ to my Google xml sitemap, and waited for the sitemap to be downloaded.  Sure enough, a few days later Google Sitemaps was listing the /testing/ url among the Not Found errors.</p>
<p>The next step was to remove what I suspected was the culprit, the include of the WordPress header, wp-blog-header.php, and see if Googlebot could again access the page.  A few days after removing the include, and after the sitemap was downloaded, the Not Found error disappeared.  I&#8217;m interpreting this as Googlebot once again successfully crawling the page.</p>
<p>The third step was to use the above code, including wp-config.php and then testing the <a href="http://web-sniffer.net/">HTTP Request and Response Header</a>.  The header looks ok, and Googlebot likes it.  It looks like this does the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2006/07/10/wordpress-googlebot-404-error/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Google Talk Beta</title>
		<link>http://www.ardamis.com/2005/08/24/google-talk-beta/</link>
		<comments>http://www.ardamis.com/2005/08/24/google-talk-beta/#comments</comments>
		<pubDate>Wed, 24 Aug 2005 15:55:59 +0000</pubDate>
		<dc:creator>ardamis</dc:creator>
				<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.ardamis.com/2005/08/24/google-talk-beta/</guid>
		<description><![CDATA[Modestly appointed, but the price is right Google has released a beta version of Google Talk, a text and voice instant messenger application. Still in its infancy, the program is very light on features, offering text and voice messaging and little else. Frankly, I hope it remains this way, rather than adding dozens of non-messaging [...]]]></description>
			<content:encoded><![CDATA[<h6>Modestly appointed, but the price is right</h6>
<p>Google has released a beta version of <a href="http://www.google.com/talk/">Google Talk</a>, a text and voice instant messenger application. Still in its infancy, the program is very light on features, offering text and voice messaging and little else. Frankly, I hope it remains this way, rather than adding dozens of non-messaging features ala MSN Messenger.</p>
<p>Google Talk is compatible with any Jabber-based IM, meaning that you can communicate (via text only at this time) with Mac and Linux friends who use Apple&#8217;s iChat, GAIM or Psi.</p>
<p>Currently, voice chat is possible only if both parties are using Google Chat. Reportedly, this function works well even on a 56k connection.</p>
<p>Your contact list is populated by your Gmail address book. Google Talk requires a Gmail username and password to login. Inviting a contact from your Gmail address book who does not have a Gmail account will result in that person being offered one of your Gmail invites.</p>
<p>The program is free of any ads, at the moment. Here&#8217;s hoping it will stay that way. It does not currently encrypt text or voice messages, but Google claims that the release version will.</p>
<p>You are prompted to uninstall Gmail Notifier during installation, as that functionality is replaced by Google Talk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ardamis.com/2005/08/24/google-talk-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

