<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Mergenta</title>
	
	<link>http://www.mergenta.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 10 Feb 2010 16:36:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Mergenta" /><feedburner:info uri="mergenta" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Contract Opportunity: Web Application Developer / PHP Programmer</title>
		<link>http://feedproxy.google.com/~r/Mergenta/~3/mLsxaMxQ_IU/</link>
		<comments>http://www.mergenta.com/2010/02/contract-opportunity-web-application-developer-php-programmer/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 16:36:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jobs]]></category>

		<guid isPermaLink="false">http://www.mergenta.com/?p=102</guid>
		<description><![CDATA[Mergenta is seeking contract programming assistance. Location: Orléans / your location.
See Job Posting.
]]></description>
			<content:encoded><![CDATA[<p>Mergenta is seeking contract programming assistance. Location: Orléans / your location.</p>
<p>See <a href="http://www.mergenta.com/?page_id=50">Job Posting</a>.</p>
<img src="http://feeds.feedburner.com/~r/Mergenta/~4/mLsxaMxQ_IU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mergenta.com/2010/02/contract-opportunity-web-application-developer-php-programmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mergenta.com/2010/02/contract-opportunity-web-application-developer-php-programmer/</feedburner:origLink></item>
		<item>
		<title>Mergenta Mashboard Software Shows: Canadian Foreign Policy Observers Indicate Government Has Failed to Advance a Green Economy</title>
		<link>http://feedproxy.google.com/~r/Mergenta/~3/GALpY92GDK8/</link>
		<comments>http://www.mergenta.com/2009/12/mashboard-release/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 13:00:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.mergenta.com/?p=85</guid>
		<description><![CDATA[FOR IMMEDIATE RELEASE:
Canadian Foreign Policy Observers:
Government Has Failed to Advance a Green Economy

Mashboard Software Amongst Solutions to Visualize Foreign Policy Camp Resolutions
for Improved Action across Environmental and Sustainability Portfolios
Ottawa, Canada &#8211; December 31, 2009 – Canadians are disappointed with their government’s leadership in advancing a green economy but somewhat satisfied with its progress in promoting [...]]]></description>
			<content:encoded><![CDATA[<p>FOR IMMEDIATE RELEASE:</p>
<p><strong>Canadian Foreign Policy Observers:<br />
Government Has Failed to Advance a Green Economy<br />
</strong><br />
<em><strong>Mashboard Software Amongst Solutions to Visualize Foreign Policy Camp Resolutions<br />
for Improved Action across Environmental and Sustainability Portfolios</strong></em></p>
<p>Ottawa, Canada &#8211; December 31, 2009 – Canadians are disappointed with their government’s leadership in advancing a green economy but somewhat satisfied with its progress in promoting gender equality and embracing diversity. These findings are gleaned from a online survey comparing the activities of both government and non-government actors and conducted during the course of the Foreign Policy Camp workshops held on 30 November 2009 in Vancouver, Edmonton, Toronto and Montreal.</p>
<p>Camp participants received results from the survey throughout the conference using Mergenta’s Mashboard technology which presented responses in real time along with important camp information including the conference’s two live video feeds and conversations from Twitter and the blogosphere.</p>
<p>Participants using the Mashboard were able to immediately comment on the information and add to the conversation using the software’s built-in Twitter application. Channeling the many streams of information, a team of graphic facilitators created five murals representing a collective vision for ways Canada can better lead by example.</p>
<p>The <em>Foreign Policy Camp</em> Results to date are posted at the following address: <a href="http://www.mashboard.ca/rethinkforeignpolicy/results">http://www.mashboard.ca/rethinkforeignpolicy/results</a></p>
<p><strong>Canada’s World</strong> &lt; <a href="http://www.canadasworld.ca/ ">http://www.canadasworld.ca/ </a>&gt; organized <em>Foreign Policy Camp</em> and <em>Mergenta</em> participated as a technology partner.</p>
<p><strong>Mergenta</strong>’s Mashboard for ForeignPolicyCamp remains online at <a href="http://www.mashboard.ca/rethinkforeignpolicy">http://www.mashboard.ca/rethinkforeignpolicy</a>, serving as both a record of the Foreign Policy Camp itself – in addition to the Camp’s official website at: <a href="http://rethinkforeignpolicy.ca/">http://rethinkforeignpolicy.ca/</a> – as well as being a look back at the thoughts, feelings and predictions of a dynamic group of thinkers in the lead-up to December’s failed negotiations in Copenhagen.</p>
<p>- 30 -<br />
<em><a href="http://www.mergenta.com">Mergenta</a> is a consulting firm advancing communications technology solutions across an array of sectors including new media monitoring and engagement, surveys and polling technologies, electronic commerce, and custom application software programming.<br />
</em><br />
For more information about Mashboard or the Foreign Policy Camp survey results, please contact:<br />
Mark Leahy, President<br />
Mergenta Consulting Inc.<br />
(613) 841-8484<br />
info(at)mergenta.com</p>
<img src="http://feeds.feedburner.com/~r/Mergenta/~4/GALpY92GDK8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mergenta.com/2009/12/mashboard-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mergenta.com/2009/12/mashboard-release/</feedburner:origLink></item>
		<item>
		<title>FILLED: Career Opportunity: Web Application Developer / .NET Programmer</title>
		<link>http://feedproxy.google.com/~r/Mergenta/~3/LI3dGymcvsI/</link>
		<comments>http://www.mergenta.com/2009/11/career-opportunity-web-application-developer-net-programmer/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 04:02:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Jobs]]></category>

		<guid isPermaLink="false">http://www.mergenta.com/?p=57</guid>
		<description><![CDATA[UPDATE: This position has been filled. Thank you for your interest.
Mergenta is hiring. Location: Orléans. Full-time.
See Job Posting.
]]></description>
			<content:encoded><![CDATA[<p>UPDATE: <em>This position has been filled. Thank you for your interest.</em></p>
<p>Mergenta is hiring. Location: Orléans. Full-time.</p>
<p>See <a href="http://www.mergenta.com/?page_id=50">Job Posting</a>.</p>
<img src="http://feeds.feedburner.com/~r/Mergenta/~4/LI3dGymcvsI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mergenta.com/2009/11/career-opportunity-web-application-developer-net-programmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mergenta.com/2009/11/career-opportunity-web-application-developer-net-programmer/</feedburner:origLink></item>
		<item>
		<title>PHP Browser Detection</title>
		<link>http://feedproxy.google.com/~r/Mergenta/~3/6jmgQDB8lRM/</link>
		<comments>http://www.mergenta.com/2009/04/php-browser-detection/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 15:24:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.mergenta.com/?p=40</guid>
		<description><![CDATA[How we use PHP to display a custom message to web site visitors running Safari under Intel Mac hardware.]]></description>
			<content:encoded><![CDATA[<p>One of our clients &#8211; a large retailer &#8211; has been seeing an uptick in customer service requests stemming from problems in Apple&#8217;s Safari browsers. Back in December 2008 Apple released patch 10.5.6 which broke the way Webkit handles cookies, causing Safari to randomly log out of sites like Facebook and &#8220;forget&#8221; user baskets. Interestingly, the problem only affects Intel Mac Users.</p>
<p>While we work on the problem enabling our client&#8217;s Safari-based customers to place their orders online, we decided on the interim step of warning visitors when they may run into trouble. In order to reach the narrowest target audience and exclude unaffected customers (we don&#8217;t want to scare them off) we decided on the following:</p>
<p>1. Show the message only to Safari users<br />
2. Show the message only to Safari users of the Mac OS<br />
3. Show the message only to Safari users running on Intel hardware</p>
<p>I didn&#8217;t want to narrow the specific OS version to 10.5.6, because 10.5.7 may not necessary correct the issue (I hope it does).</p>
<p>Checking for the Operating System and Web Browser is dead easy in PHP. At Mergenta, we always use the $_SERVER array to access the server variables superglobal [http://ca2.php.net/manual/en/language.variables.superglobals.php]. Since the contents of the array aren&#8217;t guaranteed it is important to check for the existance of the &#8220;HTTP_USER_AGENT&#8221; member:</p>
<p><code><br />
$userAgent = ( isset( $_SERVER["HTTP_USER_AGENT"] ) ? $_SERVER["HTTP_USER_AGENT"] : "" );<br />
</code></p>
<p>The user agent gives us a string similar to: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1</p>
<p>Once we have the userAgent, it&#8217;s very simple to check for Mac, Intel and Safari using strpos:</p>
<p><code><br />
if ( strpos( $userAgent, "Intel Mac" ) !== false<br />
&amp;&amp; strpos( $userAgent, "Safari" ) !== false )<br />
{<br />
// Display message to Intel Mac Safari users here<br />
}<br />
</code></p>
<p>Note that we use the &#8220;===&#8221; operator  (3 equal signs) to figure out whether or not the &#8220;needle&#8221; was found in the &#8220;haystack&#8221;. This is because while strpos returns integers to indicate where in the haystack it finds the needle, it also returns the boolean FALSE when no match is found. &#8220;===&#8221; checks for the boolean result FALSE, not to be confused with &#8220;0&#8243; which strpos might return to indicate a match was found at the beginning of the haystack.</p>
<img src="http://feeds.feedburner.com/~r/Mergenta/~4/6jmgQDB8lRM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mergenta.com/2009/04/php-browser-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.mergenta.com/2009/04/php-browser-detection/</feedburner:origLink></item>
	</channel>
</rss>
