<?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 Activist Nerd</title>
	<atom:link href="http://www.activistnerd.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.activistnerd.com</link>
	<description>...the wise rule the strong...</description>
	<pubDate>Tue, 07 Oct 2008 05:01:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Comment on nContxt on 37signals Product Blog by Import from China</title>
		<link>http://www.activistnerd.com/ncontxt-on-37signals-product-blog/#comment-24</link>
		<dc:creator>Import from China</dc:creator>
		<pubDate>Sun, 20 Jul 2008 14:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/ncontxt-on-37signals-product-blog/#comment-24</guid>
		<description>Great info - keep up the great work.</description>
		<content:encoded><![CDATA[<p>Great info - keep up the great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by luke</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-21</link>
		<dc:creator>luke</dc:creator>
		<pubDate>Mon, 07 Apr 2008 17:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-21</guid>
		<description>had some problems getting get_Id to work, most likely due to php version (wants 5, have 4) I got around that by doing:
&lt;code&gt;

//function to pull first found persons ID out of the xml
function find_ID ($result = ""){
// goto person section
        $PersonLine=strpos($result, "");
        $string=substr($result, $PersonLine);
//goto ID line
        $IDLine=strpos($result, "");
        $string=substr($result, $IDLine);
// find first and last position of ID field
        $IDLine=strpos($string,"&#62;");
        $IDLineEnd=strpos($string,"");
//save out the ID
        $string=substr($string,$IDLine + 1,$IDLineEnd - 1 - $IDLine );
        return $string;
}
&lt;/code&gt;

also, I didn't see a way to add a tag to a person. am I just blind?</description>
		<content:encoded><![CDATA[<p>had some problems getting get_Id to work, most likely due to php version (wants 5, have 4) I got around that by doing:<br />
<code></p>
<p>//function to pull first found persons ID out of the xml<br />
function find_ID ($result = ""){<br />
// goto person section<br />
        $PersonLine=strpos($result, "");<br />
        $string=substr($result, $PersonLine);<br />
//goto ID line<br />
        $IDLine=strpos($result, "");<br />
        $string=substr($result, $IDLine);<br />
// find first and last position of ID field<br />
        $IDLine=strpos($string,"&gt;");<br />
        $IDLineEnd=strpos($string,"");<br />
//save out the ID<br />
        $string=substr($string,$IDLine + 1,$IDLineEnd - 1 - $IDLine );<br />
        return $string;<br />
}<br />
</code></p>
<p>also, I didn&#8217;t see a way to add a tag to a person. am I just blind?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by Aaron</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-20</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Thu, 03 Apr 2008 15:33:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-20</guid>
		<description>This isn't working for me - maybe I'm missing something. 

When I print out the result I get SimpleXMLElement Object ( [body] =&#62; You are being . )

Any tips greatly appreacated

Thanks</description>
		<content:encoded><![CDATA[<p>This isn&#8217;t working for me - maybe I&#8217;m missing something. </p>
<p>When I print out the result I get SimpleXMLElement Object ( [body] =&gt; You are being . )</p>
<p>Any tips greatly appreacated</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by garlinii</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-19</link>
		<dc:creator>garlinii</dc:creator>
		<pubDate>Thu, 03 Apr 2008 00:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-19</guid>
		<description>@Aaron,

Here's some sample for form code from &lt;a href="http://ncontxt.com" rel="nofollow"&gt;nContxt&lt;/a&gt;, an app I built using SimpleHighrise:

&lt;h2&gt;Form&lt;/h2&gt;
&lt;code&gt;
&lt;form method="post" action="createcontact.php"&gt;
        &lt;label for="firstName"&gt;First Name&lt;/label&gt;         &lt;input id="firstName" name="firstName" type="text" /&gt;
        &lt;br /&gt;
        &lt;label for="lastName"&gt;Last Name&lt;/label&gt;        &lt;input id="lastName" name="lastName" type="text" /&gt;
        &lt;br /&gt;
        &lt;label for="phoneNumber"&gt;Phone Number&lt;/label&gt;        &lt;input id="phoneNumber" name="phoneNumber" type="text" /&gt;
&lt;/form&gt;
&lt;/code&gt;

&lt;h2&gt;PHP&lt;/h2&gt;
&lt;code&gt;
$hr = new SimpleHighrise($site, $token, 'simplexml', $sub_type);

$fn = $_POST['firstName'];
$ln = $_POST['lastName'];
$pn = $_POST['phoneNumber'];

$result = $hr-&gt;create_new_person($fn, $ln, $pn);
if (isset($_GET['debug'])) print_r($result);
$personIdElement = $result-&gt;xpath('//id');
$personId = $personIdElement[0];
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Aaron,</p>
<p>Here&#8217;s some sample for form code from <a href="http://ncontxt.com" rel="nofollow">nContxt</a>, an app I built using SimpleHighrise:</p>
<h2>Form</h2>
<p><code></p>
<form method="post" action="createcontact.php">
        <label for="firstName">First Name</label><br />
<input id="firstName" name="firstName" type="text" />
        <br />
        <label for="lastName">Last Name</label><br />
<input id="lastName" name="lastName" type="text" />
        <br />
        <label for="phoneNumber">Phone Number</label><br />
<input id="phoneNumber" name="phoneNumber" type="text" />
</form>
<p></code></p>
<h2>PHP</h2>
<p><code><br />
$hr = new SimpleHighrise($site, $token, 'simplexml', $sub_type);</p>
<p>$fn = $_POST['firstName'];<br />
$ln = $_POST['lastName'];<br />
$pn = $_POST['phoneNumber'];</p>
<p>$result = $hr->create_new_person($fn, $ln, $pn);<br />
if (isset($_GET['debug'])) print_r($result);<br />
$personIdElement = $result->xpath('//id');<br />
$personId = $personIdElement[0];<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by Aaron Brockhurst</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-18</link>
		<dc:creator>Aaron Brockhurst</dc:creator>
		<pubDate>Thu, 03 Apr 2008 00:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-18</guid>
		<description>Does any one have an example of how to set up a form to create a new person?

Thanks</description>
		<content:encoded><![CDATA[<p>Does any one have an example of how to set up a form to create a new person?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by Phil B</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-17</link>
		<dc:creator>Phil B</dc:creator>
		<pubDate>Fri, 21 Mar 2008 10:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-17</guid>
		<description>Would love to try any examples of the update record function. I want to add notes to both people and cases but am struggling here. I would also love the ability to search by email address but know that the Highrise API is not doing this yet! It is all good and loving your work!</description>
		<content:encoded><![CDATA[<p>Would love to try any examples of the update record function. I want to add notes to both people and cases but am struggling here. I would also love the ability to search by email address but know that the Highrise API is not doing this yet! It is all good and loving your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by Bill DA</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-16</link>
		<dc:creator>Bill DA</dc:creator>
		<pubDate>Wed, 20 Feb 2008 22:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-16</guid>
		<description>I would also love to see this support SSL (and non-SSL, auto-detecting).

As it is now, you have to give up a good bit of security in order to use this script.</description>
		<content:encoded><![CDATA[<p>I would also love to see this support SSL (and non-SSL, auto-detecting).</p>
<p>As it is now, you have to give up a good bit of security in order to use this script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on nContxt: The right things. The right time. by Michael Block</title>
		<link>http://www.activistnerd.com/ncontxt-the-right-things-the-right-time/#comment-15</link>
		<dc:creator>Michael Block</dc:creator>
		<pubDate>Mon, 18 Feb 2008 19:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/ncontxt-the-right-things-the-right-time/#comment-15</guid>
		<description>What are the chances that you could develop a highrise interface specifically for Blackberry?  If I could synchronize my outlook/blackberry calendars with all of my tasks from Highrise, life would be good.</description>
		<content:encoded><![CDATA[<p>What are the chances that you could develop a highrise interface specifically for Blackberry?  If I could synchronize my outlook/blackberry calendars with all of my tasks from Highrise, life would be good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by Michael Wuori</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-14</link>
		<dc:creator>Michael Wuori</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-14</guid>
		<description>May be obvious, may be helpful: To add street address when adding a new contact, I altered the function create_new_person() to the one below. Hope it helps someone (useful for capturing contact-form info).

&lt;code&gt;  function create_new_person($firstName = "", $lastName = "", $phoneNumber = "", $companyName = "Just Added", $emailAddress = "foo@bar.com", $location = "Work",$street="", $city="", $state="",$zip="") {
	return($this-&#62;request("people.xml", 
	array(
		"person" =&#62; array(
			"first-name" =&#62; $firstName,
			"last-name" =&#62; $lastName,
			"company-name" =&#62; $companyName, 
			"contact-data" =&#62; array(
				"email-addresses" =&#62; array(
					"email-address" =&#62; array(
						"address" =&#62; $emailAddress,
						"location" =&#62; $location
					)
				),
				"phone-numbers" =&#62; array(
					"phone-number" =&#62; array(
						"number" =&#62; $phoneNumber, 
						"location" =&#62; $location
					)
				),
				"addresses" =&#62; array(
					"address" =&#62; array(
						"street"=&#62;$street,
						"city" =&#62; $city,
						"state"=&#62; $state,
						"zip"=&#62;$zip,
						"location"=&#62;$location 
					)
				)
			)
		)
	)
	, "POST"));
  }
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>May be obvious, may be helpful: To add street address when adding a new contact, I altered the function create_new_person() to the one below. Hope it helps someone (useful for capturing contact-form info).</p>
<p><code>  function create_new_person($firstName = "", $lastName = "", $phoneNumber = "", $companyName = "Just Added", $emailAddress = "foo@bar.com", $location = "Work",$street="", $city="", $state="",$zip="") {<br />
	return($this-&gt;request("people.xml",<br />
	array(<br />
		"person" =&gt; array(<br />
			"first-name" =&gt; $firstName,<br />
			"last-name" =&gt; $lastName,<br />
			"company-name" =&gt; $companyName,<br />
			"contact-data" =&gt; array(<br />
				"email-addresses" =&gt; array(<br />
					"email-address" =&gt; array(<br />
						"address" =&gt; $emailAddress,<br />
						"location" =&gt; $location<br />
					)<br />
				),<br />
				"phone-numbers" =&gt; array(<br />
					"phone-number" =&gt; array(<br />
						"number" =&gt; $phoneNumber,<br />
						"location" =&gt; $location<br />
					)<br />
				),<br />
				"addresses" =&gt; array(<br />
					"address" =&gt; array(<br />
						"street"=&gt;$street,<br />
						"city" =&gt; $city,<br />
						"state"=&gt; $state,<br />
						"zip"=&gt;$zip,<br />
						"location"=&gt;$location<br />
					)<br />
				)<br />
			)<br />
		)<br />
	)<br />
	, "POST"));<br />
  }<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SimpleHighrise, a PHP wrapper class for the Highrise API by garlinii</title>
		<link>http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-13</link>
		<dc:creator>garlinii</dc:creator>
		<pubDate>Fri, 11 Jan 2008 16:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.activistnerd.com/simplehighrise-a-php-wrapper-class-for-the-highrise-api/#comment-13</guid>
		<description>@Ehud,

Please credit &lt;strong&gt;Garlin Gilchrist II of Opportunity Technology&lt;/strong&gt;.

Thanks for using SimpleHighrise!</description>
		<content:encoded><![CDATA[<p>@Ehud,</p>
<p>Please credit <strong>Garlin Gilchrist II of Opportunity Technology</strong>.</p>
<p>Thanks for using SimpleHighrise!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
