<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>influenced dot net &#187; WebDev</title>
	<atom:link href="http://www.influenced.net/category/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.influenced.net</link>
	<description>Mark Hutton</description>
	<lastBuildDate>Wed, 14 Jul 2010 10:59:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Cold Steel UK</title>
		<link>http://www.influenced.net/2010/07/14/cold-steel-uk/</link>
		<comments>http://www.influenced.net/2010/07/14/cold-steel-uk/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 10:59:45 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/?p=170</guid>
		<description><![CDATA[I&#8217;ve been working on our Cold Steel website a lot recently and have managed to achieve a Y-Slow &#8216;B&#8217; Grade which is pretty good considering the amount of images &#038; JS/CSS used.. also honed down the adwords campaigns from >£40/day to]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on our Cold Steel website a lot recently and have managed to achieve a Y-Slow &#8216;B&#8217; Grade which is pretty good considering the amount of images &#038; JS/CSS used.. also honed down the adwords campaigns from >£40/day to <£10/day</p>
<p>We're currently running a competition to win a <a href="http://www.coldsteel-uk.com/store/Sjambok.html#twitcomp">Sjambok</a> (it&#8217;s a bit like a whip, apparently used by the police in South Africa for riot control).. if you&#8217;d like the chance to win a FREE <a href="http://www.coldsteel-uk.com/store/Sjambok.html#twitcomp">42&#8243; Sjambok</a> then just click the previous Sjambok links and follow the instructions provided</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2010/07/14/cold-steel-uk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Akismet SPAM Filtering in phpBB3</title>
		<link>http://www.influenced.net/2009/06/03/akismet-spam-filtering-in-phpbb3/</link>
		<comments>http://www.influenced.net/2009/06/03/akismet-spam-filtering-in-phpbb3/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 13:15:09 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[akismet]]></category>
		<category><![CDATA[bodybuilding]]></category>
		<category><![CDATA[coopersguns]]></category>
		<category><![CDATA[forums]]></category>
		<category><![CDATA[phpbb3]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.influenced.net/?p=142</guid>
		<description><![CDATA[Recently I&#8217;ve been seeing a shitload of Spambot signups and actual spam postings on my Coopersguns BodyBuilding forums phpBB 3 had a little spam hiatus whilst the spammers cracked the new captcha system, however it&#8217;s obviously been well and truly broken now I decided to clean the forums up and get rid of the spammers. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been seeing a shitload of Spambot signups and actual spam postings on my <a href="http://www.coopersguns.com/forums/">Coopersguns BodyBuilding forums</a></p>
<p>phpBB 3 had a little spam hiatus whilst the spammers cracked the new captcha system, however it&#8217;s obviously been well and truly broken now</p>
<p>I decided to clean the forums up and get rid of the spammers.  I have employed 2 techniques:</p>
<ol>
<li>A phpBB3 mod called <a href="http://www.phpbb.com/mods/db/download/10115/">daroPL_AntiSpam</a></li>
<li>Some code I quickly conjured up to check with Akismet when a comment is posted</li>
</ol>
<p>I will obviously be talking about the latter here, follows are instructions on how to implement the Akismet check on posts:</p>
<p><strong>If you want to copy &#038; paste the following code snippets, hover over them and click the &#8216;copy&#8217; button</strong></p>
<p>1) Download <a href="http://akismet-php-curl-class.googlecode.com/files/akismet_curl_class.zip">akismet-php-curl-class</a><br />
2) Copy the akismet.curl.class.php from the archive to your phpBB3 forum&#8217;s &#8216;includes&#8217; folder (e.g. ~/public_html/forums/includes)<br />
3) Edit message_parser.php in the &#8216;includes&#8217; folder and make the following changes:</p>
<p>Find:</p>
<pre class="brush: php;">
if (!class_exists('bbcode'))
{
        include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
}
</pre>
<p>After it, insert the following</p>
<pre class="brush: php;">
if (!class_exists('akismet')) {
        include($phpbb_root_path . 'includes/akismet.curl.class.' . $phpEx);
}
</pre>
<p>Find: </p>
<pre class="brush: php;">
// Check number of links
if ($config['max_' . $mode . '_urls'] &amp;&amp; $num_urls &gt; $config['max_' . $mode . '_urls'])
{
	$this-&gt;warn_msg[] = sprintf($user-&gt;lang['TOO_MANY_URLS'], $config['max_' . $mode . '_urls']);
	return (!$update_this_message) ? $return_message : $this-&gt;warn_msg;
}
</pre>
<p>After it, insert the following:</p>
<pre class="brush: php;">
// Akismet SPAM check
if (($user-&gt;data['user_posts']&lt;=6) &amp;&amp; ($user-&gt;data['user_type']==0)) {

	$akismet_comment = array(
	    'comment_type'              =&gt; 'comment',
	    'comment_author'            =&gt; $user-&gt;data['username'],
	    'comment_author_email'      =&gt; $user-&gt;data['user_email'],
	    'comment_author_url'        =&gt; $user-&gt;data['user_website'],
	    'comment_content'           =&gt; $this-&gt;message,
	);

	$akismet = new akismet('YOURAKISMETAPIKEYHERE','http://www.yourforums.com/forums');

	if(!$akismet-&gt;error) {

		if($akismet-&gt;valid_key()) {

			if($akismet-&gt;is_spam($akismet_comment)) {

				$this-&gt;warn_msg[] = $user-&gt;lang['AKISMET_SPAM'];
				$a_to = &quot;you@youraddress.com&quot;;
				$a_subject = &quot;Attempted SPAM Post by &quot;.$user-&gt;data['username'];
				$a_body = $this-&gt;message;
				$a_headers = &quot;From: admin@yourforums.com&quot;;
				mail($a_to, $a_subject, $a_body, $a_headers);

			}

		}

	}

}
</pre>
<p>4) Edit posting.php in the &#8216;language/en/&#8217; folder (obviously you&#8217;ll need to add this to other languages your users use too)</p>
<p>Find:</p>
<pre class="brush: php;">
        'TOO_FEW_CHARS'                         =&gt; 'Your message contains too few characters.',
</pre>
<p>After it, insert the following:</p>
<pre class="brush: php;">
        'AKISMET_SPAM'                  =&gt; 'Your message looks like SPAM.',
</pre>
<p>5) Finished!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2009/06/03/akismet-spam-filtering-in-phpbb3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New website created: Cold Steel UK</title>
		<link>http://www.influenced.net/2008/10/27/cold-steel-uk-knives-swords/</link>
		<comments>http://www.influenced.net/2008/10/27/cold-steel-uk-knives-swords/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 10:12:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[actinic]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.influenced.net/?p=137</guid>
		<description><![CDATA[Just posting here to get the latest website I&#8217;ve produced indexed in Google.. The website is Cold Steel UK &#8211; it&#8217;s the UK distributors website, for trade and retail. Cold Steel UK sell knives and swords of the highest quality, amongst other things. The ecommerce system used is Actinic v9 and on the website side, [...]]]></description>
			<content:encoded><![CDATA[<p>Just posting here to get the latest website I&#8217;ve produced indexed in Google..</p>
<p>The website is <a href="http://www.coldsteel-uk.com/">Cold Steel UK</a> &#8211; it&#8217;s the UK distributors website, for trade and retail.  <a href="http://www.coldsteel-uk.com/">Cold Steel UK sell knives and swords of the highest quality</a>, amongst other things.</p>
<p>The ecommerce system used is Actinic v9 and on the website side, technologies used include jQuery &#038; PHP (via Actinic&#8217;s embedded PHP engine)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2008/10/27/cold-steel-uk-knives-swords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secpay, Actinic &amp; SSL lameness</title>
		<link>http://www.influenced.net/2007/10/30/secpay-actinic-ssl-lameness/</link>
		<comments>http://www.influenced.net/2007/10/30/secpay-actinic-ssl-lameness/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 13:56:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[WebDev]]></category>
		<category><![CDATA[actinic]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[secpay]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2007/10/30/secpay-actinic-ssl-lameness/</guid>
		<description><![CDATA[Currently when enabling SSL on shopping cart pages in Actinic, Actinic will no longer be able to link up Secpay transactions to orders. After numerous hours debugging, I figured out what was going wrong.. when SSL is enabled on shopping cart pages, Actinic provides Secpay with HTTPS callbacks &#8211; as you&#8217;d expect. It also sets [...]]]></description>
			<content:encoded><![CDATA[<p>Currently when enabling SSL on shopping cart pages in Actinic, Actinic will no longer be able to link up Secpay transactions to orders.</p>
<p>After numerous hours debugging, I figured out what was going wrong.. when SSL is enabled on shopping cart pages, Actinic provides Secpay with HTTPS callbacks &#8211; as you&#8217;d expect.  It also sets a parameter which Secpay needs if the callbacks are HTTPS.  However for some reason at this moment in time Secpay won&#8217;t use the HTTPS callbacks &#8211; the request is never sent to the server</p>
<p>I don&#8217;t know why this is happening, I even used the alternative method of informing Secpay that the callback is HTTPS &#8211; via the &#8216;options&#8217; parameter.. no dice</p>
<p>The solution I&#8217;m currently using is to modify the &#8216;OCCSecPayScriptTemplate.pl&#8217; file, inserting a line after the following block of code:</p>
<p># to enable Diners cards, remove the &#8216;#&#8217; from the start of the 2 lines below<br />
#$sOptions .= &#8216;,&#8217; if ($sOptions ne &#8221;);<br />
#$sOptions .= &#8216;diners=true&#8217;;</p>
<p>the line to change the callback URLs back to HTTP is:</p>
<p>$::sCallBackURLAuth =~ s/https/http/;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2007/10/30/secpay-actinic-ssl-lameness/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GoDaddy SSL (StarfieldTech) and Safari Issues</title>
		<link>http://www.influenced.net/2007/09/25/godaddy-ssl-starfieldtech-and-safari-issues/</link>
		<comments>http://www.influenced.net/2007/09/25/godaddy-ssl-starfieldtech-and-safari-issues/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 09:16:22 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2007/09/25/godaddy-ssl-starfieldtech-and-safari-issues/</guid>
		<description><![CDATA[We&#8217;ve had a few customers over the past few months inform us of a &#8216;security warning&#8217; with regard to our e-commerce websites checkout pages (SSL secured). Recently a kind customer sent us a screenshot of the problem and it became immediately apparent what the issue was.. Apple up until the most recent versions of Safari [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had a few customers over the past few months inform us of a &#8216;security warning&#8217; with regard to our e-commerce websites checkout pages (SSL secured).  Recently a kind customer sent us a screenshot of the problem and it became immediately apparent what the issue was.. </p>
<p>Apple up until the most recent versions of Safari did not bundle the StarfieldTech root certificate with Safari.  Therefore if a Safari user visits a GoDaddy SSL secured site (GoDaddy retail StarFieldTech Certificates) then a warning dialog will pop up informing the user that &#8216;Safari can&#8217;t verify the identity of the website &#8220;xxx.com&#8221;&#8216;.</p>
<p>The easiest solution is to upgrade Safari to the latest version.. and alternative is to install the StarfieldTech root certificate manually by visiting the following URL: <a href="https://certificates.starfieldtech.com/repository/valicert_class2_root.crt">StarfieldTech root certificate</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2007/09/25/godaddy-ssl-starfieldtech-and-safari-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>StumbleUpon, Analytics, Mint &amp; Adsense!</title>
		<link>http://www.influenced.net/2006/07/13/stumbleupon-analytics-mint-adsense/</link>
		<comments>http://www.influenced.net/2006/07/13/stumbleupon-analytics-mint-adsense/#comments</comments>
		<pubDate>Thu, 13 Jul 2006 07:36:59 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2006/07/13/stumbleupon-analytics-mint-adsense/</guid>
		<description><![CDATA[People who read this blog (yes, that&#8217;s you two over there!) might know that I&#8217;m currently working on a health/fitness/bodybuilding website in my spare time We&#8217;ve created a pretty useful exercise encyclopedia full of instructional exercise videos The only problem is getting it noticed! I don&#8217;t really want to pay for a link from a [...]]]></description>
			<content:encoded><![CDATA[<p>People who read this blog (yes, that&#8217;s you two over there!) might know that I&#8217;m currently working on a <a href="http://www.coopersguns.com/">health/fitness/bodybuilding website</a> in my spare time</p>
<p>We&#8217;ve created a pretty useful <a href="http://www.coopersguns.com/exercise-encyclopedia/">exercise encyclopedia</a> full of <a href="http://www.coopersguns.com/exercise-encyclopedia/">instructional exercise videos</a></p>
<p>The only problem is getting it noticed!  I don&#8217;t really want to pay for a link from a high traffic/high PR website.. I want the SEO to be natural, i.e. site geared for optimal user experience = natural SEO</p>
<p>I <a href="http://www.stumbleupon.com/">stumbled upon</a> an interesting site that helps you to discover great websites on the web that others have visited and rated highly.  Yesterday I placed a comment on <a href="http://www.coopersguns.com/">Coopers Guns</a> via StumbleUpon and since then there&#8217;s been a steady stream of traffic from StumbleUpon.. the techy nature of the users of StumbleUpon means little to no ad revenue but I&#8217;m more interested in mere eyeballs at the moment</p>
<p>Here&#8217;s some Analytics graphs to illustrate the above:</p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-analytics-visits-pageviews.png" alt="Visitors and Page Views" /></p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-analytics-visits-by-source.png" alt="Visits By Source" /></p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-analytics-geo-map-overlay.png" alt="Geo Map Overlay" /></p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-analytics-new-returning.png" alt="New vs Returning Visitors" /></p>
<p>I&#8217;ve also purchased a licence for <a href="http://www.shauninman.com/">Shaun Inman</a>&#8216;s <a href="http://www.haveamint.com/">Mint</a>.. I like analytics but Mint gives me a clearer and more concise picture of 0-second statistics</p>
<p>Most visitors to the site use Firefox:</p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-mint-browser-family.png" alt="Browser Family" /></p>
<p>And not many use a resolution below 1024&#215;768 (thankfully!)</p>
<p><img src="http://www.influenced.net/content/stumbleupon-analytics-mint-adsense/coopersguns-mint-resolution.png" alt="Screen Resolution" /></p>
<p>I was a bit worried that Adsense wasn&#8217;t counting impressions properly as the &#8220;page view&#8221; count difference between Analytics and Adsense was off by quite a margin.  I realised though that quite a lot of savvy/techy web surfers actually use stuff like adblock, etc&#8230; that explains the difference!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2006/07/13/stumbleupon-analytics-mint-adsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress&#8217; TinyMCE Popup Width In Firefox</title>
		<link>http://www.influenced.net/2006/07/13/wordpress-tinymce-popup-width-firefox/</link>
		<comments>http://www.influenced.net/2006/07/13/wordpress-tinymce-popup-width-firefox/#comments</comments>
		<pubDate>Thu, 13 Jul 2006 06:56:46 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2006/07/13/wordpress-tinymce-popup-width-firefox/</guid>
		<description><![CDATA[I&#8217;m surprised there isn&#8217;t much about this online.. although I admit my search wasn&#8217;t very comprehensive Anyway, for a while now I&#8217;ve been a bit annoyed with the TinyMCE editor in WordPress.. for example, when you click the &#8220;Insert/edit link&#8221; button on the toolbar, a popup window is launched which proceeds to resize itself to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m surprised there isn&#8217;t much about this online.. although I admit my search wasn&#8217;t very comprehensive</p>
<p>Anyway, for a while now I&#8217;ve been a bit annoyed with the TinyMCE editor in WordPress.. for example, when you click the &#8220;Insert/edit link&#8221; button on the toolbar, a popup window is launched which proceeds to resize itself to be a less than useful width</p>
<p><img src="http://www.influenced.net/content/wordpress-tinymce-popup-width-firefox/tinymce-popup-width-firefox.png" /></p>
<p>Apparently according to one of the developers of TinyMCE in <a href="http://tinymce.moxiecode.com/punbb/viewtopic.php?id=2866">this thread</a>, it&#8217;s down to Firefox using the status bar width when it shouldn&#8217;t</p>
<p>Anyway, the fix is as follows:</p>
<p>Just after the statements below in tiny_mce_popup.js</p>
<pre>
   // Netscape 7.1 workaround
   if (this.isWindow &#038;&#038; tinyMCE.isNS71) {
      window.resizeBy(0, 10);
      return;
   }
</pre>
<p>Add the following:</p>
<pre>
   // Gecko workaround
   if (this.isWindow &#038;&#038; tinyMCE.isGecko) {
      window.resizeBy(20, 10);
      return;
   }
</pre>
<p>That seems to work alright and resize the window to a useable width!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2006/07/13/wordpress-tinymce-popup-width-firefox/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>CoopersGuns Exercise Encyclopedia Completed</title>
		<link>http://www.influenced.net/2006/06/27/coopersguns-exercise-encyclopedia-completed/</link>
		<comments>http://www.influenced.net/2006/06/27/coopersguns-exercise-encyclopedia-completed/#comments</comments>
		<pubDate>Tue, 27 Jun 2006 11:34:11 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Health]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2006/06/27/coopersguns-exercise-encyclopedia-completed/</guid>
		<description><![CDATA[Just a quick post to let everyone know that CoopersGuns Health, Fitness &#038; Bodybuilding Exercise Encyclopedia is now complete! A flash app guides you through picking the muscle group you require exercises for and then links you to a page which contains a list of possible exercises, grouped by category Once you select an exercise [...]]]></description>
			<content:encoded><![CDATA[<p><img class="newsfloatright" src="http://www.coopersguns.com/content/news/exercise-encyclopedia/exercise-encyclopedia.jpg" />Just a quick post to let everyone know that <a title="CoopersGuns Health, Fitness &#038; Bodybuilding" href="http://www.coopersguns.com/">CoopersGuns</a> <a title="Health, Fitness &#038; Bodybuilding" href="http://www.coopersguns.com/">Health, Fitness &#038; Bodybuilding</a> <a title="Exercise Encyclopedia" href="http://www.coopersguns.com/exercise-encyclopedia/">Exercise Encyclopedia</a> is <a title="Exercise Encyclopedia Completed" href="http://www.coopersguns.com/2006/06/27/exercise-encyclopedia/">now complete</a>!</p>
<blockquote><p>A flash app guides you through picking the <a title="exercise encyclopedia - select muscle group" href="http://www.coopersguns.com/exercise-encyclopedia/">muscle group</a> you require exercises for and then links you to a page which contains a list of <a title="Possible exercises for pectorals" href="http://www.coopersguns.com/exercise-encyclopedia/pectorals/">possible exercises</a>, grouped by category</p>
<p>Once you select <a title="exercise example" href="http://www.coopersguns.com/exercise-encyclopedia/pectorals/bench-press/">an exercise</a> you are taken to a page which <a title="exercise description" href="http://www.coopersguns.com/exercise-encyclopedia/pectorals/bench-press/">describes the exercise</a> and shows you exactly how to perform it with the aid of a <a title="exercise video" href="http://www.coopersguns.com/exercise-encyclopedia/pectorals/bench-press/">video of the exercise</a> (flv flash video technology)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2006/06/27/coopersguns-exercise-encyclopedia-completed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unobtrusive onkeypress with behaviour.js</title>
		<link>http://www.influenced.net/2006/06/21/unobtrusive-onkeypress-with-behaviourjs/</link>
		<comments>http://www.influenced.net/2006/06/21/unobtrusive-onkeypress-with-behaviourjs/#comments</comments>
		<pubDate>Wed, 21 Jun 2006 07:08:18 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2006/06/21/unobtrusive-onkeypress-with-behaviourjs/</guid>
		<description><![CDATA[The following seems to work quite well for some AJAXified forms I have (a behaviour.js rule): '#form_field_id' : function(element){ element.onkeypress = function(e){ e = (e)?e:window.event; var kc = e.keyCode ? e.keyCode : e.charCode; if(kc == 13) { do_something(); return false; } } }]]></description>
			<content:encoded><![CDATA[<p>The following seems to work quite well for some AJAXified forms I have (a behaviour.js rule):</p>
<pre>
'#form_field_id' : function(element){
	element.onkeypress = function(e){
		e = (e)?e:window.event;
		var kc = e.keyCode ? e.keyCode : e.charCode;
		if(kc == 13) {
			do_something();
			return false;
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2006/06/21/unobtrusive-onkeypress-with-behaviourjs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoopersGuns Exercise Encyclopedia</title>
		<link>http://www.influenced.net/2006/06/07/coopersguns-exercise-encyclopedia/</link>
		<comments>http://www.influenced.net/2006/06/07/coopersguns-exercise-encyclopedia/#comments</comments>
		<pubDate>Wed, 07 Jun 2006 08:09:50 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Health]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://www.influenced.net/2006/06/07/coopersguns-exercise-encyclopedia/</guid>
		<description><![CDATA[We&#8217;ve recently added an Exercise Encyclopedia to CoopersGuns (health/fitness website I&#8217;m helping to develop) I decided to use Flash video (flv) for the exercise videos &#8211; it seems to work quite well Please not however that it&#8217;s not 100% complete yet as some of the videos are missing the accompanying textual descriptions]]></description>
			<content:encoded><![CDATA[<p><img class="newsfloatright" src="http://www.coopersguns.com/content/news/exercise-encyclopedia/exercise-encyclopedia.jpg" />We&#8217;ve recently added an <a href="http://www.coopersguns.com/exercise-encyclopedia/">Exercise Encyclopedia</a> to <a href="http://www.coopersguns.com/">CoopersGuns</a> (health/fitness website I&#8217;m helping to develop)</p>
<p>I decided to use Flash video (flv) for the <a href="http://www.coopersguns.com/exercise-encyclopedia/traps/cable-upright-row/">exercise videos</a> &#8211; it seems to work quite well</p>
<p>Please not however that it&#8217;s not 100% complete yet as some of the videos are missing the accompanying textual descriptions</p>
]]></content:encoded>
			<wfw:commentRss>http://www.influenced.net/2006/06/07/coopersguns-exercise-encyclopedia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

