<?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>Joey Gibson&#039;s Blog &#187; google</title>
	<atom:link href="http://joeygibson.com/category/tech/blosxom/google/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeygibson.com</link>
	<description>Java, Clojure, Scala, Groovy, Ruby, Python, Lisp, Objective-C, OSX, politics, religion, Koine Greek, Tae Kwon Do, Spanish and much more!</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:50:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>New Version of My Google Blosxom Plugin</title>
		<link>http://joeygibson.com/2003/11/26/new-version-of-my-google-blosxom-plugin/</link>
		<comments>http://joeygibson.com/2003/11/26/new-version-of-my-google-blosxom-plugin/#comments</comments>
		<pubDate>Wed, 26 Nov 2003 00:57:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[blosxom]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://NewGooglePlugin</guid>
		<description><![CDATA[I&#8217;ve finally gotten around to updating my Google plugin for Blosxom that&#8217;s been languishing for several months now. No longer must you use the cheesy &#8216;KW:&#8217; style keywords; I now use the Meta plugin, so you can add a meta-google_keywords: &#8230; <a href="http://joeygibson.com/2003/11/26/new-version-of-my-google-blosxom-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally gotten around to updating my <a  href="http://www.google.com">Google</a>  plugin for <a href="http://www.blosxom.com">Blosxom</a> that&#8217;s been  languishing for several months now. No longer must you use  the cheesy &#8216;KW:&#8217; style keywords; I now use the <a  href="http://www.blosxom.com/plugins/meta/meta.htm">Meta</a>  plugin, so you can add a <strong>meta-google_keywords:</strong> line  in your meta area and get the same effect. I&#8217;ve left the old style  support in, so if you&#8217;ve been using it, you don&#8217;t have to go through  and change all your stories to the new format.  <br/><br/>  Thus, the old style was:<br />
<blockquote><tt><!-- KW: comment spam --></tt></p></blockquote>
<p>  and the new-and-improved style is:<br />
<blockquote><tt>meta-google_keywords: comment spam</tt></p></blockquote>
<p>  One caveat: make certain that the meta plugin runs <em>before</em>  this one or your google links will show up one story too late. That  took a while to track down. I renamed my meta plugin to  <tt>00meta</tt> and now all is well.  <br/><br/>  Get it <a  href="http://www.joeygibson.com/projects/blosxom/google">here</a> and  please let me know if you have problems with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2003/11/26/new-version-of-my-google-blosxom-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Blosxom 2.0 Google Plugin</title>
		<link>http://joeygibson.com/2003/02/21/my-blosxom-20-google-plugin/</link>
		<comments>http://joeygibson.com/2003/02/21/my-blosxom-20-google-plugin/#comments</comments>
		<pubDate>Fri, 21 Feb 2003 18:54:00 +0000</pubDate>
		<dc:creator>Joey Gibson</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[blosxom]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://GooglePlugin</guid>
		<description><![CDATA[I&#8217;m releasing a preview version of my Google plugin for Blosxom 2.0. We&#8217;ve all seen blog entries with a little &#8220;G&#8221; or &#8220;Google&#8221; that when clicked execute a search at Google for something related to the blog topic. I&#8217;ve seen &#8230; <a href="http://joeygibson.com/2003/02/21/my-blosxom-20-google-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m releasing a preview version of my <a href="http://www.google.com">Google</a> plugin for Blosxom 2.0. We&#8217;ve all seen blog entries with a little &#8220;G&#8221; or &#8220;Google&#8221; that when clicked execute a search at Google for something related to the blog topic. I&#8217;ve seen those that strictly took the article title and used all  those words in the query, but I wanted more control. So in my plugin I inspect the first line of the blog entry body, and if it starts with &#8220;KW:&#8221; (user-configurable) then the rest of that line is taken as keywords. These keywords are joined with &#8220;+&#8221; signs  and tacked onto a configurable Google search query  URL. For example, if the first line of the body (obviously after the title) looked like this:
<pre> 	KW: fox news channel </pre>
<p> then the resulting URL (assuming no config changes) would look like this
<pre> 	http://www.google.com/search?q=fox+news+channel </pre>
<p> and would show up in the story as &#8220;| Google&#8221;. <br/><br/> The look of the link is also user-configurable. You can see from all of my entries that I use a pipe, then the word &#8220;Google&#8221; but you can use whatever you want. In order to get the link, just include <code>$google::google</code> in your <code>story.html</code> and that&#8217;s it. <br/><br/> There&#8217;s also a setting that will make the link open in a new window or not. <br/><br/> What license are people using for this type of stuff? I read through the Blosxom <a href="http://www.raelity.org/apps/blosxom/download.shtml#license">license</a> but I couldn&#8217;t tell if it was one of the &#8220;well known&#8221; licenses or not. I think I lean towards LGPL, but the alphabet soup of licenses is somewhat hard to get through. Do I even need to license this? <br/><br/> This is a 0.1 release with very little in the way of docs other than this entry and the sparse comments in the code. Get it <a href="http://www.joeygibson.com/projects/google/google.zip">here</a> <br/><br/> If you use this plugin, please let me know. If you have suggestions/comments/complaints send me an <a href="mailto:joey@joeygibson.com">email</a>.<br />
<h3>Update!</h3>
<p> Thanks to the rapid suggestions of Todd Larason I&#8217;ve made some changes to the plugin to make it better. Here&#8217;s what I did:
<ul>
<li>Set the $google::google variable to an empty string each time in case you  		have an entry with no keywords so the existing variable value won&#8217;t carry 		over between stories.</li>
<li>Converted my user configurable string variables to use qq{} instead of 		quotes for ease of quoting HTML.</li>
<li>Added (back in) a variable called $link_end that can contain whatever you  		want to go after the closing <a> tag. So if you enclose your links in  		<span> tags, you&#8217;d put the closer here.</li>
<li>Added support for keyword strings hidden in HTML comments. This way you can  		hide your keywords so that if you still have a non-Googleized Blosxom, your 		keywords line won&#8217;t show up in your story text.</li>
</ul>
<p> The new version is available <a href="http://www.joeygibson.com/projects/google/google.zip">here</a> and the old version from <a href="http://www.joeygibson.com/projects/google/google-0.1.zip">here</a> just in case I messed something up! <br/> <br/> Again, please let me know of anything else!</p>
]]></content:encoded>
			<wfw:commentRss>http://joeygibson.com/2003/02/21/my-blosxom-20-google-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

