<?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>Techfun &#187; google</title>
	<atom:link href="http://blog.techfun.org/tag/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.techfun.org</link>
	<description>Linux, Politics, Whatever...</description>
	<lastBuildDate>Sun, 13 Feb 2011 00:10:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>I Can See Your WordPress Butt</title>
		<link>http://blog.techfun.org/2009/05/i-can-see-your-wordpress-butt/</link>
		<comments>http://blog.techfun.org/2009/05/i-can-see-your-wordpress-butt/#comments</comments>
		<pubDate>Mon, 11 May 2009 20:38:22 +0000</pubDate>
		<dc:creator>JD Thomas</dc:creator>
				<category><![CDATA[Techfun]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Google Search]]></category>
		<category><![CDATA[On the Web]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Weblogs]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://blog.techfun.org/?p=1807</guid>
		<description><![CDATA[Wordpress is a great blogging platform and its ease of use means its use has become very widely used by both blogging pros and amateurs alike.   If you are using Wordpress.com as your blogging platform this post does not apply to you, but if you have your own self-hosted installation of Wordpress you may want to read onward in order to see how your blog may be showing its backside like a patient in a cheap hospital gown.]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/28694005@N07/2829286479"><img title="wordpress logo" src="http://farm4.static.flickr.com/3067/2829286479_4c45d4aeac_m.jpg" alt="wordpress logo" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image by <a href="http://www.flickr.com/photos/28694005@N07/2829286479">adria.richards</a> via Flickr</dd>
</dl>
</div>
</div>
<p><a href="http://www.wordpress.org">WordPress</a> is a great blogging platform and its ease of use means its use has become very widely used by both blogging pros and amateurs alike.   If you are using <a class="zem_slink" title="WordPress.com" rel="homepage" href="http://wordpress.com">WordPress.com</a> as your blogging platform this post does not apply to you, but if you have your own self-hosted installation of WordPress you may want to read onward in order to see how your blog may be showing its backside like a patient in a cheap hospital gown.</p>
<p>The many fine folks who contribute to the official releases of WordPress do a phenonmenal job of addressing security concerns as quickly as they pop up for the most part, and the stuff I am talking about here is not a security problem in terms of WordPress itself.</p>
<p>When you install WordPress for yourself the first step is unzipping the WordPress software and putting it in place on a webserver.  One of the folders you have uploaded is called <em><strong>wp-content</strong></em>.  This folder is home to your plugins, themes, and uploaded images by default.  WordPress includes a nice PHP page containing this:</p>
<p><code>&lt;?php<br />
 // Silence is golden.<br />
 ?&gt;</code><code> </code></p>
<p>What this does is present a simple blank page if someone browses to <em><strong>http://www.yourblog.com/wp-content</strong></em> and that is nice,  but we can do better.   The problem with this solution is that as you create folders under <strong>wp-content</strong> those folders are not protected in the same way.</p>
<p>As soon as you start uploading pictures for use in your blog posts your site will grow a whole tree of folders starting at <strong>/wp-content/uploads</strong>.  These folders are created as needed by your WordPress blog and will start with a year and then a month.  So all of your images used in posts in April of 2009 will be stored in <strong><em>http://www.yourblog.com/wp-content/uploads/2009/04</em>.</strong></p>
<p>Armed with this knowledge and the knowledge that many many webhosts out there will display a list of files and folders if you browse to a folder without an Index or Default page you can see exactly what content has been uploaded to a &#8220;unfixed&#8221; blog.  This is more of an annoyance than a security problem, but if your blog is heavy with high resoluton photograph this little problem allows vsitors in the know to rip down all your photos without ever needing to see the actual blog posts they belong with on the &#8220;front&#8221; side of your WordPress blog.  If you pay for bandwidth it could even get expensive.</p>
<p>If you would like to see exactly how widespread this problem is, click this <a title="Gogole Search for Indexes WP Image folders" href="http://www.google.com/#hl=en&amp;q=%22Index+of%22+wp-content%2Fuploads&amp;btnG=Google+Search&amp;aq=f&amp;oq=%22Index+of%22+wp-content%2Fuploads&amp;fp=NIRKy86ps1o" target="_blank">link to a Google Search</a> (should open in a new tab) that will show you your exposed backside looks to the Google indexing bots.  Currently Google sees about 148,000 of these.  If you would like to see if yours is one of them, just browse to <em><strong>http://www.yourblog.com/wp-content/uploads</strong></em>.  If you see a list of folders then you may benefit from this post.  If not, particularly if you get your blog&#8217;s homepage or a 404 error, you are in great shape!</p>
<p>There are many ways of addressing this problem for WordPress users who are experiencing it.  One way is through editing the main<em><strong> <a class="zem_slink" title=".htaccess" rel="wikipedia" href="http://en.wikipedia.org/wiki/.htaccess">.htaccess</a></strong></em> file in the root of your WordPress install, but I am of the firm opinion that most WordPress users should stay out of that file to avoid messing up their permalinks.   Instead, we will use a <em><strong>.htaccess</strong></em> solution that allows us to avoid touching the main file.</p>
<p>A dot htaccess file allows you to tell the webserver to behave differently for a folder and the folders underneath the folder where you upload the file.  If you are a Windows user, you may want to work on a file called htaccess.txt for this next part and rename it to<em><strong> .htaccess </strong></em>when its up on your server.</p>
<p>What we are going to do here is essentially sew the flap closed on the back of the WordPress hospital gown and direct people who try to look at your butt to another location.</p>
<p>We will do this with two lines of text.  Its that easy.</p>
<p><strong>Instructions</strong></p>
<ol>
<li>Open your favorite text editor and create a file called<em><strong> .htaccess</strong></em> (or htaccess.txt).</li>
<li>On the first line, enter:
<p><strong>Options -Indexes</strong></p>
</li>
<li>On the second line enter:<strong> </strong>
<p><strong>ErrorDocument 403 http://blog.techfun.org<br />
 </strong><br />
 Replace the http://blog.techfun.org to your blog&#8217;s homepage or Search or 404 page if you have one.</p>
</li>
<li>Save the file.</li>
<li>Upload the new<em><strong> .htaccess</strong></em> file to the wp-content folder on your site.  <em><strong>(Be Very Careful doing this to ensure you upload to the wp-content folder and not your root WordPress Folder.  The .htaccess file in the root has an important and special purpose in handling your custom permalinks and should not be overwritten.)</strong></em></li>
</ol>
<p>The first line tells the server use the option Indexes.  This tells the server not to generate a webpage listing files and folders in the absense of a true start page for that folder and its child folders.  This will cause the webserver to generate a 403 Error instead.  We all know a 404 Error means &#8220;resource not found&#8221; essentially.  The 403 Error means the viewer does not have permission to view the resource.  In this case, the resource is the directory listing of your <em><strong>wp-content</strong></em> folder and its subfolders.</p>
<p>That first line does the real work.  The second line tells the server what to do when issuing a 403 Error in that part of the WordPress site.  In my example, after the server issues the 403 Error it sends the visitor  to homepage of my blog.  This could be any URL or even a file on the server</p>
<p>If you would like to know more about the magic that is the .htaccess file, check out <a href="http://httpd.apache.org/docs/1.3/howto/htaccess.html">http://httpd.apache.org/docs/1.3/howto/htaccess.html</a></p>
<p>I&#8217;d like to thank<a href="http://www.twitter.com/tcwaters"> @tcwaters</a> &amp;<a href="http://www.twitter.com/ellejohara"> @ellejohara</a> on Twitter for encoruaging me to write this and <a href="http://www.twitter.com/geekmommashup">Heather Weaver</a> over at <a href="http://geekmommashup.com">GeekMomMashup.com</a> and <a href="http://bellatwilightshop.com/">BellaTwilightShop.com</a> for testing this process out before it went live on her HostGator account.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/96d2f323-9ff7-49f5-ae88-bdae78e84be4/"><img class="zemanta-pixie-img" style="border: medium none ; float: right;" src="http://img.zemanta.com/reblog_b.png?x-id=96d2f323-9ff7-49f5-ae88-bdae78e84be4" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><br />
<script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.techfun.org/2009/05/i-can-see-your-wordpress-butt/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Let me Google that for you</title>
		<link>http://blog.techfun.org/2008/11/let-me-google-that-for-you/</link>
		<comments>http://blog.techfun.org/2008/11/let-me-google-that-for-you/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 13:16:31 +0000</pubDate>
		<dc:creator>JD Thomas</dc:creator>
				<category><![CDATA[Techfun]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[prank]]></category>

		<guid isPermaLink="false">http://blog.techfun.org/?p=1292</guid>
		<description><![CDATA[We all know someone who can benefit from this cute little site. &#8220;Let me Google that for you&#8221; is for all those people that find it more convenient to bother you with their question rather than google it for themselves. Take it for a spin and tuck it aside for your more annoying friends. Got [...]]]></description>
			<content:encoded><![CDATA[<p>We all know someone who can benefit from this cute little site.</p>
<p>&#8220;<a href="http://letmegooglethatforyou.com/">Let me Google that for you</a>&#8221; is for all those people that find it more convenient to bother you with their question rather than google it for themselves.</p>
<p>Take it for a spin and tuck it aside for your more annoying friends.</p>
<blockquote><p><a href="http://latimesblogs.latimes.com/technology/2008/11/let-me-google-t.html#more"><strong>Got a question? Let me Google that for you</strong></a></p>
<p>The idea came about yesterday during a lunch between Garvin and fellow software developers, he said in an e-mail. &#8220;&#8216;Let me Google that for you&#8217; is something I think most people in the IT field have had to say to someone they were frustrated with,&#8221; Garvin wrote. &#8220;For me and a few people I know, it happens with regular frequency.&#8221;</p>
<p> After the lunch, Garvin immediately went to work on coding Let Me Google That For You. The website, which launched this morning, has already racked up more than 250,000 hits.</p>
<p> The applications are endless. Let&#8217;s say, for example, that you are my brother and you get an e-mail from me about how to hook up my guitar to record music on a Mac. You reply to my message with this link, then revel in having knocked off a piece of my dignity. Fun, right?</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.techfun.org/2008/11/let-me-google-that-for-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timelines are cool</title>
		<link>http://blog.techfun.org/2007/11/timelines-are-cool/</link>
		<comments>http://blog.techfun.org/2007/11/timelines-are-cool/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 16:14:59 +0000</pubDate>
		<dc:creator>JD Thomas</dc:creator>
				<category><![CDATA[Techfun]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google labs]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://blog.techfun.org/timelines-are-cool</guid>
		<description><![CDATA[I&#8217;ve been meaning to blog about a feature that Google has had simmering in the labs for a while.&#160; The discovery of an interesting use of the Reuters search at Reuters.com brought it back to mind. As many readers here know, I have big problems with the way the news media in the US tends [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been meaning to blog about a feature that Google has had simmering in the labs for a while.&nbsp; The discovery of an interesting use of the Reuters search at <a href="http://www.reuters.com">Reuters.com</a> brought it back to mind.</p>
<p>As many readers here know, I have big problems with the way the news media in the US tends to drop stuff from their news cycles, making it hard to follow a story or news event from start to finish.&nbsp; In fact, that is one reason I blog.&nbsp; I often go back and look at items tagged with &quot;<a href="http://blog.techfun.org/tags/news-media">news media</a>&quot; and remind myself about what I considered important last month or last year.</p>
<p>To get a real view of an event, it helps to look at it over the long term and see when events happened in relation to other events.&nbsp; This is key to grasping when an event is &quot;out of the blue&quot; and when it is a reaction to something that may not have made headlines.&nbsp; Reuters makes this easy for you by using the terms CHRONOLOGY or RPT-CHRONOLOGY in the title of articles designed for this purpose.&nbsp; Since both types of titles, you can just use CHRONOLOGY in your search at <a href="http://www.reuters.com">http://www.reuters.com</a>.&nbsp; </p>
<p>For example, if you wanted to look at the chain of events involving the militant attacks on the oil infrastructure in Nigeria you can search Reuters for <span style="font-weight: bold; font-style: italic;">CHRONOLOGY oil nigeria attacks</span><span style="font-style: italic;"><span style="font-weight: bold;"> </span></span>and you will find this article:</p>
<p>&nbsp;&nbsp;&nbsp; <a href="http://www.reuters.com/article/latestCrisis/idUSL27640216">CHRONOLOGY-Nigerian militant attacks on oil industry</a></p>
<p>In which the attacks are summarized and keyed by date.&nbsp; This gives you enough information to start looking for news coverage of each event if you want to dig deeper.</p>
<p>Google has started doing something similar with its search results by introducing in the experimental Timeline view.&nbsp; This feature is very flakey on some searches, but you may find it useful for searches where there is a time factor to the information you have located.</p>
<p>If you search Google for <span style="font-weight: bold; font-style: italic;">Linux Adoption</span> as a basic search you get about three-hundred and four thousand hits in an order that Google hs determined using their own criteria.&nbsp; However, if you repeat that search for <span style="font-style: italic;"><span style="font-weight: bold;">Linux Adoption</span></span> and then add a space and <span style="font-style: italic;"><span style="font-weight: bold;">view:timeline</span></span> to the end of the search field you get the articles sorted and grouped by time.&nbsp; At the top of the search results you get a nice timeline muxed with a bar graph so you can see the time period where most of the hits occur as shown below.</p>
<div align="center"><img width="684" height="110" alt="" src="http://blog.techfun.org/wp-content/uploads/image/timeline.png" /></div>
<p>
You can also fine tune the date range via the filter beside the timeline.&nbsp; I&#8217;ve played with this feature and it seems to still need work.&nbsp;&nbsp; As you can see in the timeline, 2007 has the most hits for the search term <span style="font-style: italic;"><span style="font-weight: bold;">linux adoption</span></span> but if you try to filter on 2006-2007 using the format given in the example, you get no results at all.&nbsp; Hopefully this feature will be fixed and fine tuned in the future.</p>
<p>If you do use this feature, even jut to play around, please consider answering <a href="https://survey.google.com/wix/p0816643.aspx">Google&#8217;s Feedback Survey</a> and letting them know what you think.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.techfun.org/2007/11/timelines-are-cool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox Add-ons:  Google Browser Sync</title>
		<link>http://blog.techfun.org/2007/09/google-browser-sync/</link>
		<comments>http://blog.techfun.org/2007/09/google-browser-sync/#comments</comments>
		<pubDate>Sun, 30 Sep 2007 15:50:30 +0000</pubDate>
		<dc:creator>JD Thomas</dc:creator>
				<category><![CDATA[Techfun]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bookmark management]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[firefox add-ons]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.techfun.org/google-browser-sync/</guid>
		<description><![CDATA[This document only applies to Firefox 2.
Google has announced that they will not be continuing support for this project and will not be releasing a Firefox 3 compatible version.]]></description>
			<content:encoded><![CDATA[<p><em><strong>This document only applies to Firefox 2.</strong></em><br />
Google has announced that they will not be continuing support for this project and will not be releasing a Firefox 3 compatible version.</p>
<hr /><a href="http://www.google.com/tools/firefox/browsersync/index.html">Google Browser Sync</a>:</p>
<p><img class="alignright" style="float: right;" src="http://blog.techfun.org/pics/fox.png" alt="FireFox" />Google Browser Sync for Firefox is an extension that continuously synchronizes your browser settings – including bookmarks, history, persistent cookies, and saved passwords – across your computers. It also allows you to restore open tabs and windows across different machines and browser sessions.</p>
<p>If you have limited your search for add-ons for Firefox to the official Firefox sit at <a href="https://addons.mozilla.org" target="_blank">https://addons.mozilla.org</a> you are missing out on some cool stuff.  I make a point of checking out the <a href="http://labs.google.com/" target="_blank">Google Labs site</a> every month or so to see what those smart folks at Google are up to.   I tend to avoid beta or experimental software unless it is designed to address a real need that I have or unless its just really really cool.</p>
<p>Over the last few months I have added a third and then a fourth computer to my list of often used PCs.  I have my main PC at home, my main PC at work, a work owned laptop, and I use one of the laptops we have around the house.  I do a lot of work on the web and mail servers at the office at all hours of the day or night and I need to be able to do those things quickly and easily no matter which machine I am using.   My biggest problem involved keeping my bookmarks synchronized along at LEAST my home and work PC&#8217;s.  Keeping the laptops synced was less important but still a hassle.</p>
<p>I tried a few different add-ons that I found through the Mozilla site.  They all had problems.  I had given up and was using a bash script to just copy my bookmarks.html file up to a website nightly. I would then download it to another machine, blow away all my bookmarks, and then import the latest version.  It was not a horrible hardship since with practice, this can be done in under two minutes.  The biggest problem I had was remembering which machine I had added the new link to and often I would need a link <em><strong>now</strong></em> and stopping to do a new import would destroy my chain of thought.</p>
<p>Google Labs has come to the rescue.   If you have a Google account and more than one PC, I highly recommend the Google Browser Sync to keep your bookmarks, passwords, and cookies synchronized between both machines.  Google has put together a fairly extensive FAQ for the <a style="outline-color: invert; outline-style: none; outline-width: medium;" href="http://www.google.com/tools/firefox/browsersync/faq.html" target="_blank">Browser Sync</a> component.</p>
<p>This tool will let you use Google as a <strong>encrypted</strong><em> </em>storage location for your Firefox bookmarks, history, cookies, and stored passwords.  It&#8217;s such a wonderful thing to browse to a website at home that I logged into at work and find myself still logged in.  As Google points out, even if you only have one PC, this tool is an excellent way to make sure that your bookmarks are always backed up.  Like most Firefox Add-ons, this tool works with Firefox 1.5 and newer regardless of your platform so you can use this to synchronize between a Windows and Linux system or Linux and Apple, or Windows and Apple.</p>
<p>While the extension runs beautifully once its up and running, I have a few tips that will help anyone who plans to use this on more than one PC.   My first attempt resulted in a huge mess in terms of my bookmark organization.  I had named some bookmark folders and bookmarks with slightly different names on various PCs.  The Google Browser Sync tool synced everything so I I had a lot of duplicates.  I uninstalled it, and did a little reorganizing, and started over and it&#8217;s been peachy ever sense.</p>
<div><strong>Using Google Browser Sync on Multiple PC&#8217;s</strong></p>
<div>
<ol>
<li>Before installing, pick one of your PC&#8217;s that will be the master copy.  Organize your bookmarks and get them set up exactly the way you want them.  <a href="http://www.suite101.com">Suite101.com</a> has a nice tutorial on how to do this at <a style="outline-color: invert; outline-style: none; outline-width: medium;" href="http://internet.suite101.com/article.cfm/organize_your_web_site_bookmarks" target="_blank">Organize Your Web Site Bookmarks: Keep Your Firefox Bookmarks Organized</a>.</li>
<li><a style="outline-color: invert; outline-style: none; outline-width: medium;" href="http://www.google.com/tools/firefox/browsersync/index.html" target="_blank">Install the extension</a> and restart Firefox</li>
<li>Follow the prompts to link your browser to your Google account.</li>
<li>Go into your settings and select which parts of Firefox you would like to keep synchronized.</li>
<li>Now after it is finished syncing &#8211; it goes amazingly fast &#8211; it is time to move to the second machine.</li>
<li>(optional) Backup your bookmarks for safety&#8217;s sake.  You can do this via Bookmarks &gt; Organize Bookmarks and then File &gt; Export from the Bookmarks Manager window.</li>
<li>In Bookmarks Manager (Bookmarks &gt; Organize Bookmarks) DELETE everything.   I know it seems scary, but you have a backup from step 6 if you followed that recommendation.</li>
<li>After everything is deleted, <a style="outline-color: invert; outline-style: none; outline-width: medium;" href="http://www.google.com/tools/firefox/browsersync/index.html" target="_blank">install the extension</a> and restart Firefox.</li>
<li>Go through the steps to link this to your Google account and then let it do its stuff.</li>
</ol>
<p>Within a few moments, a couple minutes top,  you should see your bookmarks appear organized exactly the way they were on the original PC. From now on, if you delete a bookmark it will be deleted from both machines and if you add a bookmark it will appear on both.   If you have more than two PC&#8217;s, just follow steps 6 through 9 on each additional PCs.</p>
<p><strong>Tip:</strong> This also lets you sync bookmarks between multiple profiles on the same machine.</p>
</div>
<div>
<p>If you have any questions or run into problems, feel free to use the comments form and I will do my best to help.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.techfun.org/2007/09/google-browser-sync/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

