<?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>Shane Jones</title>
	<atom:link href="http://www.shanejones.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shanejones.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 23 Apr 2013 12:43:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress Email on Activation</title>
		<link>http://www.shanejones.co.uk/wordpress-plugins/wordpress-email-on-activation-88/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-email-on-activation</link>
		<comments>http://www.shanejones.co.uk/wordpress-plugins/wordpress-email-on-activation-88/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 10:11:16 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/?p=88</guid>
		<description><![CDATA[A few lines of code that you can add to your plugin to get it to email you when someone activates it.]]></description>
				<content:encoded><![CDATA[<p>A few lines of code that you can add to your plugin to get it to email you when someone activates it.</p>
<pre class="brush: php; title: ; notranslate">register_activation_hook(__FILE__, 'tracking');

function tracking()
{
		
	$to = &quot;you@email.com&quot;;
		
	$subject = 'Install of [Plugin Name] from '.$_SERVER['SERVER_NAME'];
	
	$message = '
	&lt;html&gt;
	&lt;head&gt;
	  &lt;title&gt;'.$subject.'&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
	    &lt;h1&gt;'.$subject.'&lt;/h1&gt;
	&lt;/body&gt;
	&lt;/html&gt;
	';
	
	$headers  = 'MIME-Version: 1.0' . &quot;\r\n&quot;;
	$headers .= 'Content-type: text/html; charset=iso-8859-1' . &quot;\r\n&quot;;
	
	$headers .= 'From: No Reply &lt;me@mysite.com&gt;' . &quot;\r\n&quot;;
	
	mail($to, $subject, $message, $headers);
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/wordpress-plugins/wordpress-email-on-activation-88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest News Ticker for WordPress</title>
		<link>http://www.shanejones.co.uk/wordpress-plugins/latest-news-ticker-for-wordpress-83/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=latest-news-ticker-for-wordpress</link>
		<comments>http://www.shanejones.co.uk/wordpress-plugins/latest-news-ticker-for-wordpress-83/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 08:21:19 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/?p=83</guid>
		<description><![CDATA[Inspired by the news tickers of major news TV channels I have launched Latest News Ticker for WordPress. You can get more information on this product at its microsite. Latest News Ticker for Wordpress]]></description>
				<content:encoded><![CDATA[<p>Inspired by the news tickers of major news TV channels I have launched Latest News Ticker for WordPress.</p>
<p>You can get more information on this product at its microsite<em>. </em><a title="Latest News Ticker" href="http://www.latestnewsticker.com"><code>Latest News Ticker for Wor</code>dpress</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/wordpress-plugins/latest-news-ticker-for-wordpress-83/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Pinterest Image Pin for WordPress</title>
		<link>http://www.shanejones.co.uk/wordpress-plugins/pinterest-image-pin-for-wordpress-77/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pinterest-image-pin-for-wordpress</link>
		<comments>http://www.shanejones.co.uk/wordpress-plugins/pinterest-image-pin-for-wordpress-77/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 18:02:30 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/?p=77</guid>
		<description><![CDATA[Due to continued support from the community I am now planning a rebuild of this plugin. If there are any features you would like to see, please drop them in the comments and I&#8217;ll add to my dev plan. This Pinterest plugin will enable your sites visitors to pin individual [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Due to continued support from the community I am now planning a rebuild of this plugin. If there are any features you would like to see, please drop them in the comments and I&#8217;ll add to my dev plan.</strong></p>
<p>This Pinterest plugin will enable your sites visitors to pin individual images on Pinterest, the pin button will appear just underneath every image in the main content.</p>
<p>It gives you the option to chose from the 3 versions of pinterest buttons to apply to your post images.</p>
<p>It also has the option to add a Pinterest follow button to the bottom of your posts.</p>
<p><a href="http://wordpress.org/extend/plugins/pinterest-image-pin/">Download Now</a></p>
<p><strong>Feature Request for Next Version</strong></p>
<ul>
<li>Styling of button area including choices of positions for the button.</li>
<li>Ability to turn on and off per image by using css class &#8220;no-pin&#8221;</li>
<li>Show buttons on scroll option</li>
<li>Fix bug with differently aligned images</li>
<li>Fix compatibility with images per caption</li>
</ul>
<p>Anything more you want, add it to the comments and.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/wordpress-plugins/pinterest-image-pin-for-wordpress-77/feed/</wfw:commentRss>
		<slash:comments>84</slash:comments>
		</item>
		<item>
		<title>Determining http or https for files references</title>
		<link>http://www.shanejones.co.uk/php/determining-http-or-https-for-files-references-72/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=determining-http-or-https-for-files-references</link>
		<comments>http://www.shanejones.co.uk/php/determining-http-or-https-for-files-references-72/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 22:46:52 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/?p=72</guid>
		<description><![CDATA[If you have a https site and pull http content you can and probably will get a warning. http content on a https site will also yield a warning Add this in place of http/https to solve all problems.]]></description>
				<content:encoded><![CDATA[<p>If you have a https site and pull http content you can and probably will get a warning.</p>
<p>http content on a https site will also yield a warning</p>
<p>Add this in place of http/https to solve all problems.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;?=(isset($_SERVER['HTTPS'])?&quot;https://&quot;:&quot;http://&quot;)?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/php/determining-http-or-https-for-files-references-72/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying a Twitter Tweet Button with Valid HTML</title>
		<link>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-tweet-button-with-valid-html-67/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-a-twitter-tweet-button-with-valid-html</link>
		<comments>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-tweet-button-with-valid-html-67/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:06:42 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[Twitter Dev]]></category>
		<category><![CDATA[Social Plugins]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=67</guid>
		<description><![CDATA[Here is some code that allows you to have a HTML Valid Twitter tweet button? Move the code into a document.write JS function and it will all validate.]]></description>
				<content:encoded><![CDATA[<p>Here is some code that allows you to have a HTML Valid Twitter tweet button? <span id="more-67"></span> </p>
<p>Move the code into a document.write JS function and it will all validate.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
/* &lt;![CDATA[ */

document.write('&lt;a href=&quot;https://twitter.com/share&quot; class=&quot;twitter-share-button&quot; data-url=&quot;http://www.shanejones.co.uk&quot; data-text=&quot;Some message to post&quot; data-count=&quot;horizontal&quot; data-via=&quot;shanejones&quot;&gt;Tweet&lt;/a&gt;');

/* ]]&gt; */
&lt;/script&gt;
&lt;script src=&quot;http://platform.twitter.com/widgets.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-tweet-button-with-valid-html-67/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Displaying a Twitter Follow Button with Valid HTML</title>
		<link>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-follow-button-with-valid-htm-61/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-a-twitter-follow-button-with-valid-htm</link>
		<comments>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-follow-button-with-valid-htm-61/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 14:00:16 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[Twitter Dev]]></category>
		<category><![CDATA[Social Plugins]]></category>
		<category><![CDATA[T]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=61</guid>
		<description><![CDATA[Here is some code that allows you to have a HTML Valid Twitter follow button? Move the code into a document.write JS function and it will all validate.]]></description>
				<content:encoded><![CDATA[<p>Here is some code that allows you to have a HTML Valid Twitter follow button? <span id="more-61"></span> </p>
<p>Move the code into a document.write JS function and it will all validate.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
/* &lt;![CDATA[ */

document.write('&lt;a href=&quot;https://twitter.com/shanejones&quot; class=&quot;twitter-follow-button&quot;&gt;Follow @shanejones&lt;/a&gt;');

/* ]]&gt; */
&lt;/script&gt;
&lt;script src=&quot;http://platform.twitter.com/widgets.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/twitter-dev/displaying-a-twitter-follow-button-with-valid-htm-61/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Displaying Facebook Like Box with Valid HTML</title>
		<link>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-box-with-valid-html-55/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-facebook-like-box-with-valid-html</link>
		<comments>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-box-with-valid-html-55/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 13:51:35 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[Facebook Dev]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Social Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=55</guid>
		<description><![CDATA[Here is some code that allows you to have a HTML valid Facebook Like Box? Move the Facebook code into a document.write JS function and it will all validate.]]></description>
				<content:encoded><![CDATA[<p>Here is some code that allows you to have a HTML valid Facebook Like Box? <span id="more-55"></span> </p>
<p>Move the Facebook code into a document.write JS function and it will all validate.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_US/all.js#xfbml=1&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

/* &lt;![CDATA[ */

document.write('&lt;div class=&quot;fb-like-box&quot; data-href=&quot;http://www.shanejones.co.uk&quot; data-width=&quot;292&quot; data-show-faces=&quot;true&quot; data-stream=&quot;true&quot; data-header=&quot;true&quot;&gt;&lt;/div&gt;');

/* ]]&gt; */
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-box-with-valid-html-55/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Displaying Facebook Comments Box with Valid HTML</title>
		<link>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-comments-box-with-valid-html-51/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-facebook-comments-box-with-valid-html</link>
		<comments>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-comments-box-with-valid-html-51/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 13:48:32 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[Facebook Dev]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Social Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=51</guid>
		<description><![CDATA[Here is some code that allows you to have a HTML Valid Facebook Comments Box? Move the Facebook code into a document.write JS function and it will all validate.]]></description>
				<content:encoded><![CDATA[<p>Here is some code that allows you to have a HTML Valid Facebook Comments Box? <span id="more-51"></span> </p>
<p>Move the Facebook code into a document.write JS function and it will all validate.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_US/all.js#xfbml=1&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

/* &lt;![CDATA[ */

document.write('&lt;div class=&quot;fb-comments&quot; data-href=&quot;shanejones.co.uk&quot; data-num-posts=&quot;2&quot; data-width=&quot;500&quot;&gt;&lt;/div&gt;');

/* ]]&gt; */
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-comments-box-with-valid-html-51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Facebook Like Buttons with Valid HTML</title>
		<link>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-button-with-valid-html-44/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaying-facebook-like-button-with-valid-html</link>
		<comments>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-button-with-valid-html-44/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 13:43:20 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[Facebook Dev]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Social Plugins]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=44</guid>
		<description><![CDATA[Here is some code that allows you to have a HTML Valid Facebook Like Box? Move the Facebook code into a document.write JS function and it will all validate.]]></description>
				<content:encoded><![CDATA[<p>Here is some code that allows you to have a HTML Valid Facebook Like Box? <span id="more-44"></span> </p>
<p>Move the Facebook code into a document.write JS function and it will all validate.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = &quot;//connect.facebook.net/en_US/all.js#xfbml=1&quot;;
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

/* &lt;![CDATA[ */

document.write('&lt;div class=&quot;fb-like&quot; data-href=&quot;shanejones.co.uk&quot; data-send=&quot;true&quot; data-width=&quot;450&quot; data-show-faces=&quot;true&quot; data-font=&quot;arial&quot;&gt;&lt;\/div&gt;');

/* ]]&gt; */&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/facebook-dev/displaying-facebook-like-button-with-valid-html-44/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pulling recent hashtags from twitter</title>
		<link>http://www.shanejones.co.uk/php/pulling-recent-hashtags-from-twitter-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pulling-recent-hashtags-from-twitter</link>
		<comments>http://www.shanejones.co.uk/php/pulling-recent-hashtags-from-twitter-3/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 20:42:08 +0000</pubDate>
		<dc:creator>Shane Jones</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Twitter Dev]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.shanejones.co.uk/wp/?p=3</guid>
		<description><![CDATA[This code pulls a json of a hashtag search from twitter. It runs some functions to add to a database. (functions not included.)]]></description>
				<content:encoded><![CDATA[<p>This code pulls a json of a hashtag search from twitter. It runs some functions to add to a database. (functions not included.) </p>
<pre class="brush: php; title: ; notranslate">
global $total, $hashtag;

$hashtag = '#somehashtag';
$total = 0;

function getTweets($hash_tag, $page) {
	global $total, $hashtag;
	$url = 'http://search.twitter.com/search.json?q='.urlencode($hash_tag).'&amp;';
	$url .= 'page='.$page;    
	$ch = curl_init($url);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
	$json = curl_exec($ch);
	curl_close ($ch);
	
	$json_decode = json_decode($json);
	
	$json_output = json_decode($json,true);
	
	for($c=0;$c&lt;=count($json_decode-&gt;results);$c++){
		if(isset($json_output['results'][$c]['id_str'])){
			if(!tweet_exists($json_output['results'][$c]['id_str'])){
				add_tweet($json_output['results'][$c]['id_str'],
						  $json_output['results'][$c]['from_user'],
						  $json_output['results'][$c]['created_at'],
						  $json_output['results'][$c]['profile_image_url'],
						  $json_output['results'][$c]['text']);
			}
		}
	}
	
	if($json_decode-&gt;next_page){
		$temp = explode(&quot;&amp;&quot;,$json_decode-&gt;next_page);        
		$p = explode(&quot;=&quot;,$temp[0]);                
		getTweets($hashtag,$p[1]);
	}        
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.shanejones.co.uk/php/pulling-recent-hashtags-from-twitter-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.278 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-19 14:37:54 -->
<!-- Compression = gzip -->