<?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 on: My Portfolio</title>
	<atom:link href="http://yuix.org/portfolio/hello-world/1/feed" rel="self" type="application/rss+xml" />
	<link>http://yuix.org/portfolio/hello-world/1</link>
	<description>a web development blog focusing on linux, codeigniter and yui</description>
	<lastBuildDate>Tue, 29 Jun 2010 20:57:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://yuix.org/portfolio/hello-world/1/comment-page-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&#039;t accept http get data like &quot;?data=value&quot;
So you should try to send your data by POST method. 
For example:

var myform = document.getElementById(&#039;form_id&#039;); 

YAHOO.util.Connect.setForm(myform); // sets POST data of myform

var request = YAHOO.util.Connect.asyncRequest(&#039;POST&#039;, 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(&#8216;form_id&#8217;); </p>
<p>YAHOO.util.Connect.setForm(myform); // sets POST data of myform</p>
<p>var request = YAHOO.util.Connect.asyncRequest(&#8216;POST&#8217;, sUrl, callback);</p>
<p>Hope this helps,<br />
serdar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michele</title>
		<link>http://yuix.org/portfolio/hello-world/1/comment-page-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&#039;m italian programmer. Very interesting your solution CI+YUI. I&#039;m developing a similar personal project, but I&#039;m in trouble with ajax call, so as I found your blog I asked you some help. 
My question: can I pass a CI&#039;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&#039;s  &quot;test&quot; controller
var sUrl = &quot;http://127.0.0.1/myproject/test&quot;;

// example of POST data (is it correct?)
var postData = &quot;?post_data=77442200&quot;;

var request = YAHOO.util.Connect.asyncRequest(&#039;POST&#039;, sUrl+postData, callback);

It doesn&#039;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(&#8216;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>
</channel>
</rss>
