<?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>Cognition &#187; solr</title>
	<atom:link href="http://www.cognition.ca/tag/solr/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cognition.ca</link>
	<description>Balls-in-the-air Entrepreneurship and Juggling.</description>
	<lastBuildDate>Tue, 14 Jun 2011 10:04:59 +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>A WebHook named &#8216;Jeff&#8217;</title>
		<link>http://www.cognition.ca/2009/04/a-webhook-named-jeff.html</link>
		<comments>http://www.cognition.ca/2009/04/a-webhook-named-jeff.html#comments</comments>
		<pubDate>Sun, 26 Apr 2009 02:56:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[entrepreneurs]]></category>
		<category><![CDATA[solr]]></category>
		<category><![CDATA[webhooks]]></category>

		<guid isPermaLink="false">http://www.cognition.ca/?p=191</guid>
		<description><![CDATA[  PROBLEM: Help people understand how cool webhooks are. PROBLEM: Find out when there&#8217;s new content on a site. SOLUTION: Put a webhook into the site&#8217;s search indexing tool &#8211; SOLR. SOLUTION: Custom SOLR Token Filter.       WHY? Every cool web app (sooner or later) has some cool content in it. So you [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 364px"><img class="size-full wp-image-199  " title="picture-28" src="http://www.cognition.ca/wp-content/uploads/2009/04/picture-28.png" alt="Jeff as a webhook" width="354" height="507" /><p class="wp-caption-text">Jeff as a webhook</p></div>
<p>PROBLEM: Help people understand how cool webhooks are.<br />
PROBLEM: Find out when there&#8217;s new content on a site.</p>
<p>SOLUTION: Put a webhook into the site&#8217;s search indexing tool &#8211; SOLR.<br />
SOLUTION: Custom SOLR Token Filter.</p>
<div id="attachment_195" class="wp-caption alignright" style="width: 531px"><img class="size-full wp-image-195" title="picture-27" src="http://www.cognition.ca/wp-content/uploads/2009/04/picture-27.png" alt="The code, while JAVA and therefore evil, is trivial." width="521" height="305" /><p class="wp-caption-text">The code, while JAVA and therefore evil, is trivial.</p></div>
<p> </p>
<p> </p>
<p> </p>
<p><strong>WHY?</strong></p>
<p>Every cool web app (sooner or later) has some cool content in it. So you add a search engine. When your users want to build mashups with that content, you add webhooks to that engine. And you&#8217;re done.</p>
<p><img class="size-full wp-image-194" title="picture-26" src="http://www.cognition.ca/wp-content/uploads/2009/04/picture-26.png" alt="Webhooks hitting a remote server, shown in Apache log." width="531" height="365" /><br />
Starting point: http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/</p>
<p><strong>GOTCHAS:</strong><br />
JAVA &#8211; Evil and Stupid<br />
Java classpath (on Mac) &#8211; also Evil and Stupid<br />
Java permissions (to connect to remote servers) &#8211; http://forums.sun.com/thread.jspa?threadID=5309619</p>
<p><strong>WHERE IS THIS GOING TO LIVE?</strong></p>
<p> </p>
<div id="attachment_203" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-203" title="picture-30" src="http://www.cognition.ca/wp-content/uploads/2009/04/picture-30-300x163.png" alt="Webhooks coming to NASA soon..." width="300" height="163" /><p class="wp-caption-text">Webhooks coming to NASA soon...</p></div>
<p> </p>
<p><strong>FINAL TAKEAWAY: Fitz was right &#8211; everything should be HTTP.</strong></p>
<span class="akst_link"><a href="http://www.cognition.ca/?p=191&amp;akst_action=share-this"  title="E-mail this, post to del.icio.us, etc." id="akst_link_191"  class="akst_share_link">Share This</a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.cognition.ca/2009/04/a-webhook-named-jeff.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

