<?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 for Web Development Blog by Serdar AKARCA</title>
	<atom:link href="http://yuix.org/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://yuix.org</link>
	<description>a web development blog focusing on linux, codeigniter and yui</description>
	<pubDate>Tue, 06 Jan 2009 23:05:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>Comment on My Portfolio by admin</title>
		<link>http://yuix.org/portfolio/hello-world/1#comment-8</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 28 Nov 2008 10:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://yuix.org/?p=1#comment-8</guid>
		<description>Hi Michele,

Codeigniter doesn't accept http get data like "?data=value"
So you should try to send your data by POST method. 
For example:

var myform = document.getElementById('form_id'); 

YAHOO.util.Connect.setForm(myform); // sets POST data of myform

var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback);


Hope this helps,
serdar</description>
		<content:encoded><![CDATA[<p>Hi Michele,</p>
<p>Codeigniter doesn&#8217;t accept http get data like &#8220;?data=value&#8221;<br />
So you should try to send your data by POST method.<br />
For example:</p>
<p>var myform = document.getElementById(&#8217;form_id&#8217;); </p>
<p>YAHOO.util.Connect.setForm(myform); // sets POST data of myform</p>
<p>var request = YAHOO.util.Connect.asyncRequest(&#8217;POST&#8217;, sUrl, callback);</p>
<p>Hope this helps,<br />
serdar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My Portfolio by michele</title>
		<link>http://yuix.org/portfolio/hello-world/1#comment-7</link>
		<dc:creator>michele</dc:creator>
		<pubDate>Fri, 28 Nov 2008 10:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://yuix.org/?p=1#comment-7</guid>
		<description>Hi Serdar,
I'm italian programmer. Very interesting your solution CI+YUI. I'm developing a similar personal project, but I'm in trouble with ajax call, so as I found your blog I asked you some help. 
My question: can I pass a CI's controller path  as parameter in ajax call?
Example:

// the callback function
function callback()
{
  var handleSuccess = function(o) {}
  var handleFailure = function(o) {}
  var callBack = {
    success: handleSuccess,
    failure: handleFailure,
    timeout: 3500
}

// the path of CI's  "test" controller
var sUrl = "http://127.0.0.1/myproject/test";

// example of POST data (is it correct?)
var postData = "?post_data=77442200";

var request = YAHOO.util.Connect.asyncRequest('POST', sUrl+postData, callback);

It doesn't work. Is a url problem? Can you help me?

Michele</description>
		<content:encoded><![CDATA[<p>Hi Serdar,<br />
I&#8217;m italian programmer. Very interesting your solution CI+YUI. I&#8217;m developing a similar personal project, but I&#8217;m in trouble with ajax call, so as I found your blog I asked you some help.<br />
My question: can I pass a CI&#8217;s controller path  as parameter in ajax call?<br />
Example:</p>
<p>// the callback function<br />
function callback()<br />
{<br />
  var handleSuccess = function(o) {}<br />
  var handleFailure = function(o) {}<br />
  var callBack = {<br />
    success: handleSuccess,<br />
    failure: handleFailure,<br />
    timeout: 3500<br />
}</p>
<p>// the path of CI&#8217;s  &#8220;test&#8221; controller<br />
var sUrl = &#8220;http://127.0.0.1/myproject/test&#8221;;</p>
<p>// example of POST data (is it correct?)<br />
var postData = &#8220;?post_data=77442200&#8243;;</p>
<p>var request = YAHOO.util.Connect.asyncRequest(&#8217;POST&#8217;, sUrl+postData, callback);</p>
<p>It doesn&#8217;t work. Is a url problem? Can you help me?</p>
<p>Michele</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on YUI 3 experimental example by hussein</title>
		<link>http://yuix.org/web-development/yui-3-experimental-example/19#comment-4</link>
		<dc:creator>hussein</dc:creator>
		<pubDate>Sat, 20 Sep 2008 08:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://yuix.org/?p=19#comment-4</guid>
		<description>Nice example. It seems like the paint.</description>
		<content:encoded><![CDATA[<p>Nice example. It seems like the paint.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
