<?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>schmichael&#039;s blog &#187; ajax</title>
	<atom:link href="http://blog.schmichael.com/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.schmichael.com</link>
	<description>good good study, day day up</description>
	<lastBuildDate>Mon, 02 Aug 2010 17:28:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Hzzah: AJAX Searching, Grouped Searches, and Version Numbers</title>
		<link>http://blog.schmichael.com/2008/07/15/hzzah-ajax-searching-grouped-searches-and-version-numbers/</link>
		<comments>http://blog.schmichael.com/2008/07/15/hzzah-ajax-searching-grouped-searches-and-version-numbers/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 05:37:23 +0000</pubDate>
		<dc:creator>Michael Schurter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[boss]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[hzzah]]></category>
		<category><![CDATA[hzzah.com]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://michael.susens-schurter.com/blog/?p=347</guid>
		<description><![CDATA[AJAX Searching Thanks to jQuery and the jQuery History plugin, searching is now done via AJAX but it doesn&#8217;t break your back and forward buttons. The navigation callback in JavaScript ought to be more of a proper state machine, but &#8230; <a href="http://blog.schmichael.com/2008/07/15/hzzah-ajax-searching-grouped-searches-and-version-numbers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>AJAX Searching</strong></p>
<p>Thanks to <a href="http://docs.jquery.com/Ajax">jQuery</a> and the <a href="http://plugins.jquery.com/project/history">jQuery History plugin</a>, searching is now done via AJAX but it doesn&#8217;t break your back and forward buttons.</p>
<p>The navigation callback in JavaScript ought to be more of a proper state machine, but considering there are only 3 states (blank, about, and searching) I&#8217;m not too concerned.</p>
<p><strong>Grouped Searches</strong><br />
I played around with hzzah a bit more after I noticed its search results were far worse than those on Yahoo.com</p>
<p>It seems Yahoo.com only returns 1 or 2 hits per domain, whereas the BOSS API will happily return hundreds all from the same site.</p>
<p>This means if you&#8217;re vain like me and search for your name, you get pages of links to your blog and nowhere else.  The <a href="http://search.yahoo.com/search?p=michael+schurter&#038;ei=UTF-8&#038;fr=">Yahoo.com results are pretty good</a> and only return 2 hits for my blog.</p>
<p>So I grouped hits by domain name, but since I broke pagination in the process, <a href="http://hzzah.com/#s:michael%20schurter">searching for myself</a> is completely worthless now.</p>
<p>I have some ideas on how to fix that, but they&#8217;ll have to wait for another time.</p>
<p><strong>Version Numbers</strong></p>
<p>Squint at the bottom of the page to see the current revision number.</p>
<p>Anybody know how to have that increment automatically when I do <code>bzr up</code> on my server?  I haven&#8217;t looked for a post-update hook which would do the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schmichael.com/2008/07/15/hzzah-ajax-searching-grouped-searches-and-version-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
