<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Jamie Nay</title>
	<atom:link href="http://jamienay.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamienay.com</link>
	<description>A PHP web developer writing about the web.</description>
	<lastBuildDate>Mon, 08 Mar 2010 19:03:18 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Copyable Behavior for CakePHP 1.3: Recursive Record Copying by CakePHP : signets remarquables du 04/03/2010 au 08/03/2010 &#124; Cherry on the...</title>
		<link>http://jamienay.com/2010/03/copyable-behavior-for-cakephp-1-3-recursive-record-copying/comment-page-1/#comment-5493</link>
		<dc:creator>CakePHP : signets remarquables du 04/03/2010 au 08/03/2010 &#124; Cherry on the...</dc:creator>
		<pubDate>Mon, 08 Mar 2010 19:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=563#comment-5493</guid>
		<description>[...] Copyable Behavior for CakePHP 1.3: Recursive Record Copying [...]</description>
		<content:encoded><![CDATA[<p>[...] Copyable Behavior for CakePHP 1.3: Recursive Record Copying [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copyable Behavior for CakePHP 1.3: Recursive Record Copying by Jamie</title>
		<link>http://jamienay.com/2010/03/copyable-behavior-for-cakephp-1-3-recursive-record-copying/comment-page-1/#comment-5424</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Fri, 05 Mar 2010 14:47:54 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=563#comment-5424</guid>
		<description>Nice catch Neil - typo fixed.

Yeah, I know the benefits of releasing code as a plugin. I&#039;m just being my grumpy self. :)</description>
		<content:encoded><![CDATA[<p>Nice catch Neil &#8211; typo fixed.</p>
<p>Yeah, I know the benefits of releasing code as a plugin. I&#8217;m just being my grumpy self. <img src='http://jamienay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copyable Behavior for CakePHP 1.3: Recursive Record Copying by Neil Crookes</title>
		<link>http://jamienay.com/2010/03/copyable-behavior-for-cakephp-1-3-recursive-record-copying/comment-page-1/#comment-5423</link>
		<dc:creator>Neil Crookes</dc:creator>
		<pubDate>Fri, 05 Mar 2010 12:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=563#comment-5423</guid>
		<description>Thanks for this Jamie. Looks really useful.

&quot;I recommend putting it on AppController&quot; - should be AppModel?

&quot;I’ve wrapped it in a plugin, since that seems to be the trend in the community these days (though I’m not sure why just downloading a behavior file is so bad).&quot; - If you use git it&#039;s easier as a plugin to add it to your project as a sub module, also, if you write tests, you can bundle them with it.</description>
		<content:encoded><![CDATA[<p>Thanks for this Jamie. Looks really useful.</p>
<p>&#8220;I recommend putting it on AppController&#8221; &#8211; should be AppModel?</p>
<p>&#8220;I’ve wrapped it in a plugin, since that seems to be the trend in the community these days (though I’m not sure why just downloading a behavior file is so bad).&#8221; &#8211; If you use git it&#8217;s easier as a plugin to add it to your project as a sub module, also, if you write tests, you can bundle them with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by David Umoh</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5353</link>
		<dc:creator>David Umoh</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5353</guid>
		<description>i found out its truncating my code so let me put the relevant part:
//above we do the necessary bootstraping, 
//run the database query to get the records then index:
$companies_rec = mysql_query($sql);

while($document = mysql_fetch_object($companies_rec)) {
   // print_r($document);
    // Create a new searchable document instance 
   $doc = new Zend_Search_Lucene_Document();    
    // Add some information 
    $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed(&#039;document_id&#039;, $document-&gt;id));     
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_title&#039;, $document-&gt;company_name));
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_description&#039;, $document-&gt;description)); 
        // Add the document to the index 
    $index-&gt;addDocument($doc);     
} 
// Commit the index 
$index-&gt;commit();

?&gt;</description>
		<content:encoded><![CDATA[<p>i found out its truncating my code so let me put the relevant part:<br />
//above we do the necessary bootstraping,<br />
//run the database query to get the records then index:<br />
$companies_rec = mysql_query($sql);</p>
<p>while($document = mysql_fetch_object($companies_rec)) {<br />
   // print_r($document);<br />
    // Create a new searchable document instance<br />
   $doc = new Zend_Search_Lucene_Document();<br />
    // Add some information<br />
    $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed(&#8217;document_id&#8217;, $document-&gt;id));<br />
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_title&#8217;, $document-&gt;company_name));<br />
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_description&#8217;, $document-&gt;description));<br />
        // Add the document to the index<br />
    $index-&gt;addDocument($doc);<br />
}<br />
// Commit the index<br />
$index-&gt;commit();</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by David Umoh</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5352</link>
		<dc:creator>David Umoh</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5352</guid>
		<description>addField(Zend_Search_Lucene_Field::UnIndexed(&#039;document_id&#039;, $document-&gt;id)); 
    
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_title&#039;, $document-&gt;company_name));
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_description&#039;, $document-&gt;description)); 
     
    // Add the document to the index 
    $index-&gt;addDocument($doc);
    
    
} 

// Commit the index 
$index-&gt;commit();

?&gt;</description>
		<content:encoded><![CDATA[<p>addField(Zend_Search_Lucene_Field::UnIndexed(&#8217;document_id&#8217;, $document-&gt;id)); </p>
<p>    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_title&#8217;, $document-&gt;company_name));<br />
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_description&#8217;, $document-&gt;description)); </p>
<p>    // Add the document to the index<br />
    $index-&gt;addDocument($doc);</p>
<p>} </p>
<p>// Commit the index<br />
$index-&gt;commit();</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by David Umoh</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5351</link>
		<dc:creator>David Umoh</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5351</guid>
		<description>thanks Jamie, sorry i am reply now, i was kinda on holiday...Pls find below the code i am using to index: I need to know how to use it with your datasource, that is, read the info from the database and pass the results to your indexer: 
addField(Zend_Search_Lucene_Field::UnIndexed(&#039;document_id&#039;, $document-&gt;id)); 
    
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_title&#039;, $document-&gt;company_name));
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;document_description&#039;, $document-&gt;description)); 
     
    // Add the document to the index 
    $index-&gt;addDocument($doc);
    
    
} 

// Commit the index 
$index-&gt;commit();

?&gt;</description>
		<content:encoded><![CDATA[<p>thanks Jamie, sorry i am reply now, i was kinda on holiday&#8230;Pls find below the code i am using to index: I need to know how to use it with your datasource, that is, read the info from the database and pass the results to your indexer:<br />
addField(Zend_Search_Lucene_Field::UnIndexed(&#8217;document_id&#8217;, $document-&gt;id)); </p>
<p>    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_title&#8217;, $document-&gt;company_name));<br />
    $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#8217;document_description&#8217;, $document-&gt;description)); </p>
<p>    // Add the document to the index<br />
    $index-&gt;addDocument($doc);</p>
<p>} </p>
<p>// Commit the index<br />
$index-&gt;commit();</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by Caio Gouveia</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5275</link>
		<dc:creator>Caio Gouveia</dc:creator>
		<pubDate>Thu, 25 Feb 2010 14:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5275</guid>
		<description>You save my day Jamie!!
thanks a lot dude !</description>
		<content:encoded><![CDATA[<p>You save my day Jamie!!<br />
thanks a lot dude !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by Jamie</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5260</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Wed, 24 Feb 2010 20:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5260</guid>
		<description>Sure, David - what does your code look like?</description>
		<content:encoded><![CDATA[<p>Sure, David &#8211; what does your code look like?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Zend_Search_Lucene Datasource for CakePHP by David Umoh</title>
		<link>http://jamienay.com/2010/01/zend_search_lucene-datasource-for-cakephp/comment-page-1/#comment-5236</link>
		<dc:creator>David Umoh</dc:creator>
		<pubDate>Tue, 23 Feb 2010 11:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=512#comment-5236</guid>
		<description>Thanks Jamie! but i am having some difficulties implementing...i am kinda new to cakephp...i had tried the other tutorial: &#039; Integrating Zend Framework Lucene with your Cake Application&#039; before seeing yours...i had gone as far as successfully creating the index...it worked...the challenge i had was the quering...the code doesnt seem to work with the latest version of cakephp(which is what i am using)...Yours is more recent and better organised...Please how can i pass the index information from mysql database into your datasource....

I could show you the code i am using to index, if that would help....

Thank you very much</description>
		<content:encoded><![CDATA[<p>Thanks Jamie! but i am having some difficulties implementing&#8230;i am kinda new to cakephp&#8230;i had tried the other tutorial: &#8216; Integrating Zend Framework Lucene with your Cake Application&#8217; before seeing yours&#8230;i had gone as far as successfully creating the index&#8230;it worked&#8230;the challenge i had was the quering&#8230;the code doesnt seem to work with the latest version of cakephp(which is what i am using)&#8230;Yours is more recent and better organised&#8230;Please how can i pass the index information from mysql database into your datasource&#8230;.</p>
<p>I could show you the code i am using to index, if that would help&#8230;.</p>
<p>Thank you very much</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Math Captcha Component by Jamie</title>
		<link>http://jamienay.com/2009/06/math-captcha-component/comment-page-1/#comment-4921</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Sun, 07 Feb 2010 20:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?page_id=231#comment-4921</guid>
		<description>Sorry Todd - I&#039;ve just been really busy lately, I haven&#039;t been able to pay much attention to my blog or any of my public code. You&#039;re right, I mistakenly put the operand option there before finishing that feature. To be honest it&#039;s not a priority for me at this time, so I&#039;ll probably just take out the option before I add support for multiple operands.</description>
		<content:encoded><![CDATA[<p>Sorry Todd &#8211; I&#8217;ve just been really busy lately, I haven&#8217;t been able to pay much attention to my blog or any of my public code. You&#8217;re right, I mistakenly put the operand option there before finishing that feature. To be honest it&#8217;s not a priority for me at this time, so I&#8217;ll probably just take out the option before I add support for multiple operands.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
