<?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 Zac Vineyard's Blog</title>
	<atom:link href="http://zacvineyard.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://zacvineyard.com/blog</link>
	<description>code, design, videos, and other nonsense</description>
	<lastBuildDate>Sun, 13 May 2012 18:32:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Diablo 3 WordPress Theme by Jay.S</title>
		<link>http://zacvineyard.com/blog/2012/02/22/diablo-3-wordpress-theme/comment-page-1/#comment-3085</link>
		<dc:creator>Jay.S</dc:creator>
		<pubDate>Sun, 13 May 2012 18:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=621#comment-3085</guid>
		<description>Great theme, Zac! I used it on my Diablo fansite, www.diablosgraveyard.com Thanks for the name by the way.</description>
		<content:encoded><![CDATA[<p>Great theme, Zac! I used it on my Diablo fansite, <a href="http://www.diablosgraveyard.com" rel="nofollow">http://www.diablosgraveyard.com</a> Thanks for the name by the way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.5.0) by AdrianT</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-3083</link>
		<dc:creator>AdrianT</dc:creator>
		<pubDate>Mon, 07 May 2012 02:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-3083</guid>
		<description>Just what I was looking for. Image upload successful!
Now i am working on sending json to php</description>
		<content:encoded><![CDATA[<p>Just what I was looking for. Image upload successful!<br />
Now i am working on sending json to php</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Diablo 3 WordPress Theme by modehardcore</title>
		<link>http://zacvineyard.com/blog/2012/02/22/diablo-3-wordpress-theme/comment-page-1/#comment-3082</link>
		<dc:creator>modehardcore</dc:creator>
		<pubDate>Tue, 01 May 2012 14:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=621#comment-3082</guid>
		<description>Thanks you so much for the theme! awesome.

One question, its possible to change the size of the posts? width

thanks</description>
		<content:encoded><![CDATA[<p>Thanks you so much for the theme! awesome.</p>
<p>One question, its possible to change the size of the posts? width</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.5.0) by Will</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-3081</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Sat, 28 Apr 2012 20:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-3081</guid>
		<description>I am developing an application for android using phonegap and jquery. I have Fileupload working fine except I have one issue with additional params you want to send with file. The params options when they are key/value pairs is working fine, but I have a situation where params key/value as an array, I mean that key=&#039;key1&#039; and value=[&#039;value1&#039;,&#039;value2&#039;] such as in select multiple case. Phonegap is ignoring this paramater or sending it as empty.

If you have any idea. thanks for your post.</description>
		<content:encoded><![CDATA[<p>I am developing an application for android using phonegap and jquery. I have Fileupload working fine except I have one issue with additional params you want to send with file. The params options when they are key/value pairs is working fine, but I have a situation where params key/value as an array, I mean that key=&#8217;key1&#8242; and value=['value1','value2'] such as in select multiple case. Phonegap is ignoring this paramater or sending it as empty.</p>
<p>If you have any idea. thanks for your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Diablo 3 WordPress Theme by Tyler Bailey</title>
		<link>http://zacvineyard.com/blog/2012/02/22/diablo-3-wordpress-theme/comment-page-1/#comment-3080</link>
		<dc:creator>Tyler Bailey</dc:creator>
		<pubDate>Sat, 28 Apr 2012 03:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=621#comment-3080</guid>
		<description>I love the site, but is there anyway you can add more options for each post? Such as ways to like or tweet the current post?

Thanks!</description>
		<content:encoded><![CDATA[<p>I love the site, but is there anyway you can add more options for each post? Such as ways to like or tweet the current post?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.5.0) by Hamza Waqas</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-3079</link>
		<dc:creator>Hamza Waqas</dc:creator>
		<pubDate>Thu, 26 Apr 2012 15:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-3079</guid>
		<description>Hi, I&#039;m getting &quot;error 3&quot; in debugging code for filetranser. My code something like this

---------------------------
function Click_btnTakePicture() {
	navigator.camera.getPicture(function(_imgSrc){
            
            alert(&quot;Image Desc: &quot;+_imgSrc);
            
            var _options = new FileUploadOptions();
            _options.fileKey = &quot;file&quot;;
            _options.fileName = _imgSrc.substr(_imgSrc.lastIndexOf(&#039;/&#039;)+1);
            _options.mimeType = &quot;image/jpeg&quot;;
            _options.params = {
                value1: &quot;test&quot;,
                value2: &quot;param&quot;
            }
            _options.chunkedMode  = false;
            var _path = APIURL+&#039;upload/picture?empid=&#039;+localStorage.userid;
            alert(_path);
            var _fileTransfer = new FileTransfer();
            _fileTransfer.upload(_imgSrc, _path, function(r) {
                // Success
                alert(&quot;Code: &quot;+r.responseCode);
                alert(&quot;Response: &quot;+r.response);
                alert(&quot;Sent: &quot;+r.bytesSent);
            }, function(err) {
                // Error
                alert(&quot;Error Occured to Upload: &quot;+err.code);
            }, _options);
            
	},function(reason){
		// ERROR
		alert(&quot;Error because: &quot;+reason);
		//alert(&quot;Camera Cancelled!&quot;);
	},{
		quality: 75,
		destinationType: navigator.camera.DestinationType.FILE_URI
	});	
}


----------------------------------
And this is my PHP Code,
----------------------------------
function _api_callback_upload_picture() {
    
    $empId = $_REQUEST[&#039;empid&#039;];
    
    Debug::error($_FILES);
    // GO MORE HERE.
    if ( isset($empId) &amp;&amp; is_numeric($empId) ) {
        try {
            $filename = &#039;File-Uploaded-&#039;.$empId.&#039;.jpg&#039;;
            $filepath = &#039;sites/default/files/pictures/&#039;.$filename;
            move_uploaded_file($_FILES[&#039;file&#039;][&#039;tmp_name&#039;], &#039;sites/default/files/pictures/&#039;.$filepath);
            
            db_insert(&#039;photos&#039;)-&gt;fields(array(
                &#039;empid&#039; =&gt; $empId,
                &#039;path&#039;  =&gt; $filepath
            ))-&gt;execute();
        } catch(Exception $ex ) {
            print $ex-&gt;__toString();
        }        
    }
}
---------------------------------------------

Please point me why this is happening? Got both on emulator &amp; device. Help!</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m getting &#8220;error 3&#8243; in debugging code for filetranser. My code something like this</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
function Click_btnTakePicture() {<br />
	navigator.camera.getPicture(function(_imgSrc){</p>
<p>            alert(&#8220;Image Desc: &#8220;+_imgSrc);</p>
<p>            var _options = new FileUploadOptions();<br />
            _options.fileKey = &#8220;file&#8221;;<br />
            _options.fileName = _imgSrc.substr(_imgSrc.lastIndexOf(&#8216;/&#8217;)+1);<br />
            _options.mimeType = &#8220;image/jpeg&#8221;;<br />
            _options.params = {<br />
                value1: &#8220;test&#8221;,<br />
                value2: &#8220;param&#8221;<br />
            }<br />
            _options.chunkedMode  = false;<br />
            var _path = APIURL+&#8217;upload/picture?empid=&#8217;+localStorage.userid;<br />
            alert(_path);<br />
            var _fileTransfer = new FileTransfer();<br />
            _fileTransfer.upload(_imgSrc, _path, function(r) {<br />
                // Success<br />
                alert(&#8220;Code: &#8220;+r.responseCode);<br />
                alert(&#8220;Response: &#8220;+r.response);<br />
                alert(&#8220;Sent: &#8220;+r.bytesSent);<br />
            }, function(err) {<br />
                // Error<br />
                alert(&#8220;Error Occured to Upload: &#8220;+err.code);<br />
            }, _options);</p>
<p>	},function(reason){<br />
		// ERROR<br />
		alert(&#8220;Error because: &#8220;+reason);<br />
		//alert(&#8220;Camera Cancelled!&#8221;);<br />
	},{<br />
		quality: 75,<br />
		destinationType: navigator.camera.DestinationType.FILE_URI<br />
	});<br />
}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
And this is my PHP Code,<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
function _api_callback_upload_picture() {</p>
<p>    $empId = $_REQUEST['empid'];</p>
<p>    Debug::error($_FILES);<br />
    // GO MORE HERE.<br />
    if ( isset($empId) &amp;&amp; is_numeric($empId) ) {<br />
        try {<br />
            $filename = &#8216;File-Uploaded-&#8217;.$empId.&#8217;.jpg&#8217;;<br />
            $filepath = &#8216;sites/default/files/pictures/&#8217;.$filename;<br />
            move_uploaded_file($_FILES['file']['tmp_name'], &#8216;sites/default/files/pictures/&#8217;.$filepath);</p>
<p>            db_insert(&#8216;photos&#8217;)-&gt;fields(array(<br />
                &#8216;empid&#8217; =&gt; $empId,<br />
                &#8216;path&#8217;  =&gt; $filepath<br />
            ))-&gt;execute();<br />
        } catch(Exception $ex ) {<br />
            print $ex-&gt;__toString();<br />
        }<br />
    }<br />
}<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Please point me why this is happening? Got both on emulator &amp; device. Help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Build a Basic Authorize.net Payment Form by Monil Patel</title>
		<link>http://zacvineyard.com/blog/2009/12/19/build-a-basic-authorize-net-payment-form/comment-page-1/#comment-3078</link>
		<dc:creator>Monil Patel</dc:creator>
		<pubDate>Sat, 21 Apr 2012 12:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=226#comment-3078</guid>
		<description>Dude, code helped lot for integrating authorize.net however below  problem took away more than my four precious hours... (&quot;&quot; The following errors have occurred.---- (13) The merchant login ID or password is invalid or the account is inactive. ----- &quot;&quot;) by your code until we relace &quot;&quot;&quot;&quot; &amp; by &amp; &quot;&quot;&quot;&quot;  (foreach( $post_values as $key =&gt; $value ){ $post_string .= &quot;$key=&quot; . urlencode( $value ) . &quot;&amp;&quot;; }
$post_string = rtrim( $post_string, &quot;&amp; &quot; );)

Hope this will help you to rectify code.

:)</description>
		<content:encoded><![CDATA[<p>Dude, code helped lot for integrating authorize.net however below  problem took away more than my four precious hours&#8230; (&#8220;&#8221; The following errors have occurred.&#8212;- (13) The merchant login ID or password is invalid or the account is inactive. &#8212;&#8211; &#8220;&#8221;) by your code until we relace &#8220;&#8221;"&#8221; &amp; by &amp; &#8220;&#8221;"&#8221;  (foreach( $post_values as $key =&gt; $value ){ $post_string .= &#8220;$key=&#8221; . urlencode( $value ) . &#8220;&amp;&#8221;; }<br />
$post_string = rtrim( $post_string, &#8220;&amp; &#8221; );)</p>
<p>Hope this will help you to rectify code.</p>
<p>:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Add a www Resolve to Apache for Better SEO by Zac</title>
		<link>http://zacvineyard.com/blog/2010/10/19/how-to-add-a-www-resolve-to-apache-for-better-seo/comment-page-1/#comment-3077</link>
		<dc:creator>Zac</dc:creator>
		<pubDate>Fri, 20 Apr 2012 03:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=369#comment-3077</guid>
		<description>I think that will work, but you&#039;ll probably need to escape the last period in your domain so the line looks like this:
&lt;code&gt;RewriteCond %{HTTP_HOST} ^www\.mysite\.com\.mx$ [NC]&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I think that will work, but you&#8217;ll probably need to escape the last period in your domain so the line looks like this:<br />
<code>RewriteCond %{HTTP_HOST} ^www\.mysite\.com\.mx$ [NC]</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Add a www Resolve to Apache for Better SEO by Francisco Milland</title>
		<link>http://zacvineyard.com/blog/2010/10/19/how-to-add-a-www-resolve-to-apache-for-better-seo/comment-page-1/#comment-3076</link>
		<dc:creator>Francisco Milland</dc:creator>
		<pubDate>Wed, 18 Apr 2012 22:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=369#comment-3076</guid>
		<description>Hello, this is very helpul, what about domains like .com.mx or .mx

is this correct?

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.mysite\.com.mx$ [NC]
RewriteRule ^(.*)$ http://mysite.com.mx/$1 [R=301,L]

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Hello, this is very helpul, what about domains like .com.mx or .mx</p>
<p>is this correct?</p>
<p>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^www\.mysite\.com.mx$ [NC]<br />
RewriteRule ^(.*)$ <a href="http://mysite.com.mx/$1" rel="nofollow">http://mysite.com.mx/$1</a> [R=301,L]</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.5.0) by Mike Flynn</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-3074</link>
		<dc:creator>Mike Flynn</dc:creator>
		<pubDate>Mon, 16 Apr 2012 03:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-3074</guid>
		<description>When I implement this, I just get a null response. the file is sent but nothing shows up in the $_FILES array (returns an empty array string).

The domain is whitelisted, and I confirmed that the PHP file is being accesssed.

What gives? :)

Thanks for this article! The phonegap API is weak when it comes to examples.</description>
		<content:encoded><![CDATA[<p>When I implement this, I just get a null response. the file is sent but nothing shows up in the $_FILES array (returns an empty array string).</p>
<p>The domain is whitelisted, and I confirmed that the PHP file is being accesssed.</p>
<p>What gives? :)</p>
<p>Thanks for this article! The phonegap API is weak when it comes to examples.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

