<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Bart G. Dev...: Googled description of your Typo blog not your own?  Check your theme.</title>
    <link>http://bartgdev.com/articles/2006/08/28/googled-description-of-your-typo-blog-page-are-not-your-own-check-your-theme</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>&lt;b&gt;Dev&lt;/b&gt;eloping well &lt;b&gt;dev&lt;/b&gt;ised applications</description>
    <item>
      <title>Googled description of your Typo blog not your own?  Check your theme.</title>
      <description>&lt;p&gt;Google your Typo powered site and check the description under your page's title in the google results.  You might find that the text is actually coming from your theme's pages.  The theme determines what the final HTML will look like, this includes any data search bots see.  For example, if a site is googled with &lt;a href="http://www.leevigraham.com/"&gt;Leevi Graham&lt;/a&gt;'s Oragami Typo theme &lt;i&gt;(this happens with any theme, not just this one.  I happened to like it)&lt;/i&gt;, the following description showes up:
&lt;/p&gt;

&lt;p&gt;&lt;i&gt;"So what are all these buttons for? BartGDev.com..., has many personalition features for you, the reader…"&lt;/i&gt;&lt;br /&gt;
&lt;/p&gt;

&lt;p&gt;Well that’s not right.  I need something that would introduce my site to anyone scanning the &lt;a href=" http://www.answers.com/topic/googol"&gt;googol&lt;/a&gt; to &lt;a href=" http://www.answers.com/topic/googolplex"&gt;googolplex&lt;/a&gt; of  results.  So here’s what I did.
&lt;/p&gt;

&lt;p&gt;Choose a unique word from this text to find the file where this is coming from.  You can do this by running the following &lt;code&gt;grep&lt;/code&gt; command from your /typo directory:
&lt;/p&gt;&lt;pre&gt;[/typo]$grep –R personalition *&lt;/pre&gt;.
&lt;/p&gt;

&lt;p&gt;I got a match on 3 files:
&lt;/p&gt;

&lt;pre&gt;
  themes/origami/layouts/.svn/text-base/default.rhtml.svn-base:
  themes/origami/layouts/default.rhtml:  
  tmp/cache/META/DATA/ACTION_PARAM/"your_blog_name"/articles/index/.cache:
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;The first is obviously a subversion entry, due to the .svn references.  The second is the actual source of our ‘google text’.  The 3rd is part of the cache.  I’ll get back to it in a minute.  Back up the 2nd matched file (default.rhtml), and with your favorite editor, like pico, edit it.  Add this line just after the &amp;#60;title&amp;#62;...&amp;#60;/title&amp;#62; tags:&lt;br /&gt;&lt;br /&gt;

&lt;code&gt;
  &amp;#60;meta name="Description" content="this text will show up on as a description in a search engine's preview of your site" /&amp;#62;
&lt;/code&gt;
&lt;/p&gt;

&lt;p&gt;My description was showing the first 160 characters, so something that’s equal or longer than that should be enough.  Note that this text will not show up on your site.  &lt;/p&gt;

After saving, you’ll want to go to your site and check the page source the browser gets (Ctrl-U in Firefox).  You might notice that the change didn’t take.  Bolucks!!.. Rubish!!!.. Pisha!!!... you scream.   Well I say “Uno Momento”.  You’re looking at the cached version of this file.  This is the 3rd file you found with the grep command.  You’ll need to delete it before you see your newly edited page.  So go ahead and delete ONLY the .cache file, not directory (&lt;code&gt; tmp/cache/META/DATA/ACTION_PARAM/"your_blog_name"/articles/index/.cache:&lt;/code&gt;).  Now refresh your site and check the page source.  That’s it.  Next time googlebot checks your site, you should have the new description.  Enjoy nice Google Results!
&lt;/p&gt;
&lt;br /&gt;&lt;br /&gt;

Bart
</description>
      <pubDate>Mon, 28 Aug 2006 01:04:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:54c5828a-5eb4-448b-b04e-50c0b46a55e9</guid>
      <author>Bart</author>
      <link>http://bartgdev.com/articles/2006/08/28/googled-description-of-your-typo-blog-page-are-not-your-own-check-your-theme</link>
      <category>Typo</category>
      <category>Google</category>
    </item>
  </channel>
</rss>
