<?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"
	>
<channel>
	<title>Comments on: CodeIgniter REST</title>
	<atom:link href="http://blog.medryx.org/2008/10/03/codeigniter-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/</link>
	<description>Observations of a physician software developer.</description>
	<pubDate>Sat, 31 Jul 2010 04:04:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: arbie samong</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-242</link>
		<dc:creator>arbie samong</dc:creator>
		<pubDate>Wed, 16 Sep 2009 05:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-242</guid>
		<description>re: find() 404s and/or redirects to findAll()

I just made sure I don't have the 'index.php' using .htaccess in my URI requests and it worked just fine. Plus set $config['uri_protocol'] = "REQUEST_URI" in config.php

http://codeigniter.com/forums/viewthread/69506/P0/</description>
		<content:encoded><![CDATA[<p>re: find() 404s and/or redirects to findAll()</p>
<p>I just made sure I don&#8217;t have the &#8216;index.php&#8217; using .htaccess in my URI requests and it worked just fine. Plus set $config['uri_protocol'] = &#8220;REQUEST_URI&#8221; in config.php</p>
<p><a href="http://codeigniter.com/forums/viewthread/69506/P0/" rel="nofollow">http://codeigniter.com/forums/viewthread/69506/P0/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arbie samong</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-240</link>
		<dc:creator>arbie samong</dc:creator>
		<pubDate>Tue, 15 Sep 2009 07:03:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-240</guid>
		<description>Anybody found a solution for the non-functioning find() issue?

When I set $config['uri_protocol'] to "AUTO" in config.php it redirects to findAll()

When I set $config['uri_protocol'] to "REQUEST_URI" in config.php it redirects to 404

I tried to set $config['base_url'] from a url (127.0.0.1/mysite/) to an absolute file path (ie., /var/www/mysite/) but didn't work either

I have CodeIgniter_1.7.2

could appreciate any help... thanks!</description>
		<content:encoded><![CDATA[<p>Anybody found a solution for the non-functioning find() issue?</p>
<p>When I set $config['uri_protocol'] to &#8220;AUTO&#8221; in config.php it redirects to findAll()</p>
<p>When I set $config['uri_protocol'] to &#8220;REQUEST_URI&#8221; in config.php it redirects to 404</p>
<p>I tried to set $config['base_url'] from a url (127.0.0.1/mysite/) to an absolute file path (ie., /var/www/mysite/) but didn&#8217;t work either</p>
<p>I have CodeIgniter_1.7.2</p>
<p>could appreciate any help&#8230; thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-237</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Wed, 02 Sep 2009 01:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-237</guid>
		<description>Thanks for sharing. Very useful info. I'll save this for future reference ;) I have in mind something like that for my time tracking web application.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing. Very useful info. I&#8217;ll save this for future reference <img src='http://blog.medryx.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I have in mind something like that for my time tracking web application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocash</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-203</link>
		<dc:creator>nocash</dc:creator>
		<pubDate>Sat, 13 Jun 2009 16:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-203</guid>
		<description>@Andrew: I had the same issue (with URL query strings and getting 404s). My problem was that the URL of my application in config.php used a symlink, which confuses the CodeIgniter router library when using REQUEST_URI. Once I changed that to the actual path, everything worked fine.</description>
		<content:encoded><![CDATA[<p>@Andrew: I had the same issue (with URL query strings and getting 404s). My problem was that the URL of my application in config.php used a symlink, which confuses the CodeIgniter router library when using REQUEST_URI. Once I changed that to the actual path, everything worked fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-163</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 29 May 2009 09:37:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-163</guid>
		<description>Thanks for this!

I might be thinking about this incorrectly, but I'm trying to allow for jsonp with a callback supplied, but after the routing, can't seem to access $_REQUEST["callback"]; When doing findAll(); It occurs to me that the params are not being passed as I am not filtering my query (which makes sense), but I'm not sure where I can capture the callback for me to pass back with my json.

Cheers,
Nick</description>
		<content:encoded><![CDATA[<p>Thanks for this!</p>
<p>I might be thinking about this incorrectly, but I&#8217;m trying to allow for jsonp with a callback supplied, but after the routing, can&#8217;t seem to access $_REQUEST["callback"]; When doing findAll(); It occurs to me that the params are not being passed as I am not filtering my query (which makes sense), but I&#8217;m not sure where I can capture the callback for me to pass back with my json.</p>
<p>Cheers,<br />
Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocash</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-151</link>
		<dc:creator>nocash</dc:creator>
		<pubDate>Wed, 04 Mar 2009 23:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-151</guid>
		<description>@Jack I think that's intended behavior.  You can use native PHP functions to break it up into an associative array from inside the method if that is what you need.</description>
		<content:encoded><![CDATA[<p>@Jack I think that&#8217;s intended behavior.  You can use native PHP functions to break it up into an associative array from inside the method if that is what you need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-148</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Wed, 25 Feb 2009 21:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-148</guid>
		<description>I'm having a similar issue with $query on $controller-&#62;find($query) method. I had to set $config['uri_protocol'] = "REQUEST_URI"  or else I get a missing parameter. With it set, the function executes fine, but $query is not an associative array, it is still the string '?xyz=123'.

Would really love to make use of this library, and thanks for the work you have done so far.</description>
		<content:encoded><![CDATA[<p>I&#8217;m having a similar issue with $query on $controller-&gt;find($query) method. I had to set $config['uri_protocol'] = &#8220;REQUEST_URI&#8221;  or else I get a missing parameter. With it set, the function executes fine, but $query is not an associative array, it is still the string &#8216;?xyz=123&#8242;.</p>
<p>Would really love to make use of this library, and thanks for the work you have done so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-146</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 13 Feb 2009 19:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-146</guid>
		<description>I can't seem to get the find($query) option to work.  I have a controller that works fine with the default findall behavior.

But when I try adding /?xyz=123 I get a 404 not found error.

Is there some other setting that I need to get this working?  I've tried some of the other things that folks have left in comments above with regards to the REQUEST_URI etc...

Please help :)</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get the find($query) option to work.  I have a controller that works fine with the default findall behavior.</p>
<p>But when I try adding /?xyz=123 I get a 404 not found error.</p>
<p>Is there some other setting that I need to get this working?  I&#8217;ve tried some of the other things that folks have left in comments above with regards to the REQUEST_URI etc&#8230;</p>
<p>Please help <img src='http://blog.medryx.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tair</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-139</link>
		<dc:creator>Tair</dc:creator>
		<pubDate>Fri, 19 Dec 2008 08:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-139</guid>
		<description>Hiya! Great work!

I got a problem when putting the files in place, but then found you are missing $route initialization in MY_Router.php. Just added these lines after line 82:

//initialize route
$route = array();

Then another question.. How do I make so that one URL responds to different formats, JSON, HTML, XML, etc.?

Thanks!!</description>
		<content:encoded><![CDATA[<p>Hiya! Great work!</p>
<p>I got a problem when putting the files in place, but then found you are missing $route initialization in MY_Router.php. Just added these lines after line 82:</p>
<p>//initialize route<br />
$route = array();</p>
<p>Then another question.. How do I make so that one URL responds to different formats, JSON, HTML, XML, etc.?</p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Finkler</title>
		<link>http://blog.medryx.org/2008/10/03/codeigniter-rest/#comment-136</link>
		<dc:creator>Ed Finkler</dc:creator>
		<pubDate>Fri, 12 Dec 2008 02:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.medryx.org/?p=66#comment-136</guid>
		<description>This is good stuff! I'll be looking at implementing this in a project soon.</description>
		<content:encoded><![CDATA[<p>This is good stuff! I&#8217;ll be looking at implementing this in a project soon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
