<?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: Basecamp: PHP Class In Progress &#8211; Feedback Needed</title>
	<atom:link href="http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/feed/" rel="self" type="application/rss+xml" />
	<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 02:49:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Josh Pratt</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-215</link>
		<dc:creator>Josh Pratt</dc:creator>
		<pubDate>Thu, 19 Feb 2009 15:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-215</guid>
		<description>Guillermo,

The class uses cURL, so you will need it if you want to use it.  I hope you can find it useful!</description>
		<content:encoded><![CDATA[<p>Guillermo,</p>
<p>The class uses cURL, so you will need it if you want to use it.  I hope you can find it useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillermo Lopez</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-214</link>
		<dc:creator>Guillermo Lopez</dc:creator>
		<pubDate>Thu, 19 Feb 2009 15:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-214</guid>
		<description>Hi Josh,
It&#039;s great to see that you have classes for PHP to use Basecamp. My company uses Basecamp at a regular basis and there is some functionality that we want to take advantage of that Basecamp doesn&#039;t provide.

So we are going to be using the Basecamp Api with PHP. And I have a few questions for you.

Our server currently has XAMPP installed. Using your class will make most of my work easier. Do I need to install PHP/cURL? Or a better question will be: Do you suggest I install cURL?

I saw some of your scripts in the Basecamp Forums and they use curl, but it might seem that your classes does not.

BTW.: I&#039;m looking forward on the Time tracking class on your to-dos ;).

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Josh,<br />
It&#8217;s great to see that you have classes for PHP to use Basecamp. My company uses Basecamp at a regular basis and there is some functionality that we want to take advantage of that Basecamp doesn&#8217;t provide.</p>
<p>So we are going to be using the Basecamp Api with PHP. And I have a few questions for you.</p>
<p>Our server currently has XAMPP installed. Using your class will make most of my work easier. Do I need to install PHP/cURL? Or a better question will be: Do you suggest I install cURL?</p>
<p>I saw some of your scripts in the Basecamp Forums and they use curl, but it might seem that your classes does not.</p>
<p>BTW.: I&#8217;m looking forward on the Time tracking class on your to-dos <img src='http://prattski.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Haggart</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-213</link>
		<dc:creator>Ross Haggart</dc:creator>
		<pubDate>Mon, 19 Jan 2009 14:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-213</guid>
		<description>Hi i&#039;ve used your wrapper class successfully on a local xampp server, but when i move over to the live server i&#039;m getting a String could not be parsed as XML error.  I think it&#039;s the configuration apache/php but no idea what.  SimpleXMLElement is enabled and i noticed some comments about the encoding, but no joy.  Any help would be appreciated.

R</description>
		<content:encoded><![CDATA[<p>Hi i&#8217;ve used your wrapper class successfully on a local xampp server, but when i move over to the live server i&#8217;m getting a String could not be parsed as XML error.  I think it&#8217;s the configuration apache/php but no idea what.  SimpleXMLElement is enabled and i noticed some comments about the encoding, but no joy.  Any help would be appreciated.</p>
<p>R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-212</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Sat, 10 Jan 2009 16:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-212</guid>
		<description>Hi Josh,

Here is one more for you.  Is there a way to get all projects associated with a person, or all people associated with a project?

Thanks!!!!
-E</description>
		<content:encoded><![CDATA[<p>Hi Josh,</p>
<p>Here is one more for you.  Is there a way to get all projects associated with a person, or all people associated with a project?</p>
<p>Thanks!!!!<br />
-E</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-211</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 09 Jan 2009 15:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-211</guid>
		<description>I don&#039;t know why but for me doesn&#039;t work. i&#039;ve try to post a message and a to do but nothing happens.
/// sending email to basecamp
    		$bc = new Basecamp(&#039;https://blabla.projectpath.com&#039;,&#039;username&#039;,&#039;pass&#039;);
    		$bc-&gt;set_project_id(487676); // required
			$bc-&gt;set_category_id(74543345); // required
			$bc-&gt;set_is_private(0); // optional - (0) or don&#039;t set it for non-private
			$bc-&gt;post_message(&#039;New design&#039;,&#039;some text&#039;);
			// Resource ID (integer) for any message, to-do list, or milestone
			$bc-&gt;set_resource_id(435345534);
			// Resource Type [posts&#124;milestones&#124;todo_items]
			$bc-&gt;set_resource(&#039;todo_items&#039;);
			$bc-&gt;post_comment(&#039;TITLE&#039;,&#039;MESSAGE&#039;);
i&#039;ve downloaded the * @version		1.11 where is the mistake?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why but for me doesn&#8217;t work. i&#8217;ve try to post a message and a to do but nothing happens.<br />
/// sending email to basecamp<br />
    		$bc = new Basecamp(&#8216;https://blabla.projectpath.com&#8217;,'username&#8217;,'pass&#8217;);<br />
    		$bc-&gt;set_project_id(487676); // required<br />
			$bc-&gt;set_category_id(74543345); // required<br />
			$bc-&gt;set_is_private(0); // optional &#8211; (0) or don&#8217;t set it for non-private<br />
			$bc-&gt;post_message(&#8216;New design&#8217;,'some text&#8217;);<br />
			// Resource ID (integer) for any message, to-do list, or milestone<br />
			$bc-&gt;set_resource_id(435345534);<br />
			// Resource Type [posts|milestones|todo_items]<br />
			$bc-&gt;set_resource(&#8216;todo_items&#8217;);<br />
			$bc-&gt;post_comment(&#8216;TITLE&#8217;,'MESSAGE&#8217;);<br />
i&#8217;ve downloaded the * @version		1.11 where is the mistake?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Nass</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-210</link>
		<dc:creator>Michael Nass</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-210</guid>
		<description>Josh,

Great work on this.  Thanks a ton!

Curious if you&#039;ve heard anything back from 37Signals on the XML response from Messages, etc...  Seems odd that they don&#039;t return anything.

I&#039;m working on something with your class so was really hoping to have 1.2 but it looks like I&#039;ll have to go use the curl request reply method you mentioned as this work is due end of week.

Just wanted to encourage you.  I really appreciate what you&#039;re doing.  Ever need help, let me know :)</description>
		<content:encoded><![CDATA[<p>Josh,</p>
<p>Great work on this.  Thanks a ton!</p>
<p>Curious if you&#8217;ve heard anything back from 37Signals on the XML response from Messages, etc&#8230;  Seems odd that they don&#8217;t return anything.</p>
<p>I&#8217;m working on something with your class so was really hoping to have 1.2 but it looks like I&#8217;ll have to go use the curl request reply method you mentioned as this work is due end of week.</p>
<p>Just wanted to encourage you.  I really appreciate what you&#8217;re doing.  Ever need help, let me know <img src='http://prattski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Pratt</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-209</link>
		<dc:creator>Josh Pratt</dc:creator>
		<pubDate>Fri, 12 Dec 2008 19:37:46 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-209</guid>
		<description>George,

Thanks for the comment.  That stuff is going to be complete fixed and not an issue with the release of 1.2 - which I hope will be released sometime next week.  Thanks!</description>
		<content:encoded><![CDATA[<p>George,</p>
<p>Thanks for the comment.  That stuff is going to be complete fixed and not an issue with the release of 1.2 &#8211; which I hope will be released sometime next week.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-208</link>
		<dc:creator>George</dc:creator>
		<pubDate>Fri, 12 Dec 2008 19:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-208</guid>
		<description>I read in your code:
[code]	 * Note: I have found that only Milestones, File Attachments, and Time-Tracking posts
	 * return an XML response.  Messages, Comments, and To-Dos do not send back an XML response.
	 * This makes it difficult because for those three resources that do NOT send back an XML
	 * response, I have to pull the new data (new resource id) from the header instead, creating
	 * two distinct methods.  I have contacted 37 signals about this, and I&#039;m still waiting for
	 * a response.  So, at this time, when posting Messages, Comments, or To-Dos, there is no
	 * ID returned.
[/code]
Dunno if this helps you, but an idea:
I got the headers from the curl request reply using Sean Huber&#039;s Curl wrapper: http://github.com/shuber/curl/
and then preg_replace&#039;ing the last chars of:
$response-&gt;headers[&#039;Location&#039;]</description>
		<content:encoded><![CDATA[<p>I read in your code:<br />
[code]	 * Note: I have found that only Milestones, File Attachments, and Time-Tracking posts<br />
	 * return an XML response.  Messages, Comments, and To-Dos do not send back an XML response.<br />
	 * This makes it difficult because for those three resources that do NOT send back an XML<br />
	 * response, I have to pull the new data (new resource id) from the header instead, creating<br />
	 * two distinct methods.  I have contacted 37 signals about this, and I'm still waiting for<br />
	 * a response.  So, at this time, when posting Messages, Comments, or To-Dos, there is no<br />
	 * ID returned.<br />
[/code]<br />
Dunno if this helps you, but an idea:<br />
I got the headers from the curl request reply using Sean Huber&#8217;s Curl wrapper: <a href="http://github.com/shuber/curl/" rel="nofollow">http://github.com/shuber/curl/</a><br />
and then preg_replace&#8217;ing the last chars of:<br />
$response-&gt;headers['Location']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-207</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Thu, 04 Dec 2008 15:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-207</guid>
		<description>We are anxiously waiting.</description>
		<content:encoded><![CDATA[<p>We are anxiously waiting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Pratt</title>
		<link>http://prattski.com/2008/11/15/basecamp-php-class-in-progress-feedback-needed/#comment-206</link>
		<dc:creator>Josh Pratt</dc:creator>
		<pubDate>Thu, 04 Dec 2008 05:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://devzone.pratthost.com/?p=227#comment-206</guid>
		<description>Michael,

Ahh - good catch on the category id&#039;s.  I will try and put together a function to gather that - as well as a generic function to manually set it as well.  Thanks!

Jeff,

They are coming!  Hopefully sometime by Thursday night (Dec. 4th.)</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>Ahh &#8211; good catch on the category id&#8217;s.  I will try and put together a function to gather that &#8211; as well as a generic function to manually set it as well.  Thanks!</p>
<p>Jeff,</p>
<p>They are coming!  Hopefully sometime by Thursday night (Dec. 4th.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
