<?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>Jonny Devine</title>
	
	<link>http://jonnydevine.com</link>
	<description />
	<lastBuildDate>Sat, 05 Nov 2011 19:31:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/JonnyDevine" /><feedburner:info uri="jonnydevine" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Why I am a Voluntaryist</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/Rb8eesxslVQ/why-i-am-an-anarchist</link>
		<comments>http://jonnydevine.com/why-i-am-an-anarchist#comments</comments>
		<pubDate>Wed, 26 Oct 2011 23:51:32 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Philosophy]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=90</guid>
		<description />
			<content:encoded><![CDATA[<p><a href="http://jonnydevine.com/why-i-am-an-anarchist"><em>Click here to view the embedded video.</em></a></p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/Rb8eesxslVQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/why-i-am-an-anarchist/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/why-i-am-an-anarchist</feedburner:origLink></item>
		<item>
		<title>Overloading in PHP</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/TT1rABUhb9w/overloading-in-php</link>
		<comments>http://jonnydevine.com/overloading-in-php#comments</comments>
		<pubDate>Wed, 26 Oct 2011 23:00:39 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=82</guid>
		<description><![CDATA[<p></p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-83" title="overloading-in-php" src="http://jonnydevine.com/wp-content/uploads/2011/10/overloading-in-php-300x225.jpg" alt="" width="500" height="325" /></p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/TT1rABUhb9w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/overloading-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/overloading-in-php</feedburner:origLink></item>
		<item>
		<title>How I Learnt to Swim Freestyle</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/9n_AO0SGlVc/how-i-learnt-to-freestyle-swim</link>
		<comments>http://jonnydevine.com/how-i-learnt-to-freestyle-swim#comments</comments>
		<pubDate>Wed, 26 Oct 2011 22:20:45 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=64</guid>
		<description><![CDATA[<p></p> <p>I taught myself into becoming an intermediate swimmer from a complete beginner in less than two months. I&#8217;m going to share how I did this so you can too.</p> <p></p> <p>When I joined the gym over two months ago I hadn&#8217;t even a shred of intention to learn, all I wanted to do was [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://jonnydevine.com/wp-content/uploads/2011/10/Adult-Swimming-300x198.jpg" alt="" title="Adult Swimming" width="500" height="298" class="alignnone size-medium wp-image-65" /></p>
<p>I taught myself into becoming an intermediate swimmer from a complete beginner in less than two months. I&#8217;m going to share how I did this so you can too.</p>
<p><span id="more-64"></span></p>
<p>When I joined the gym over two months ago I hadn&#8217;t even a shred of intention to learn, all I wanted to do was get off my butt and do some exercise, but as I watched others I began to become curious at how they were stroking so effectively and and moving so smoothly through the water, because the best I could do was move my arms and stay afloat. So I set it upon myself to learn.</p>
<p><strong>Why should I swim, what are the benefits?</strong><br />
Swimming is a great all rounder exercise &#8211; it gets all the muscles going. </p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/9n_AO0SGlVc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/how-i-learnt-to-freestyle-swim/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/how-i-learnt-to-freestyle-swim</feedburner:origLink></item>
		<item>
		<title>My Favourite Movies of all time</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/7tXknScNtZ8/my-favourite-movies-of-all-time</link>
		<comments>http://jonnydevine.com/my-favourite-movies-of-all-time#comments</comments>
		<pubDate>Thu, 13 Oct 2011 03:47:02 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Media]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=48</guid>
		<description><![CDATA[<p style="text-align: center;">Ink</p> <p></p> <p style="text-align: center;">Before Sunrise</p> <p><a href="http://www.youtube.com/watch?v=o9iYchHgygc"></a></p> <p style="text-align: center;">Before Sunset</p> <p style="text-align: center;">Waking Life</p> <p style="text-align: center;">Into The Wild</p> <p style="text-align: center;">Eternal Sunshine of the Spotless Mind</p> <p><br /> </p>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>Ink</strong></p>
<p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p>
<p><span id="more-48"></span></p>
<p style="text-align: center;"><strong>Before Sunrise</strong></p>
<p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p>
<p><strong><a href="http://www.youtube.com/watch?v=o9iYchHgygc"></a></strong></p>
<p style="text-align: center;"><strong>Before Sunset</strong></p>
<p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p>
<p style="text-align: center;"><strong>Waking Life</strong></p>
<p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p>
<p style="text-align: center;"><strong>Into The Wild</strong></p>
<p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p>
<p style="text-align: center;"><strong>Eternal Sunshine of the Spotless Mind</strong></p>
<p><p><a href="http://jonnydevine.com/my-favourite-movies-of-all-time"><em>Click here to view the embedded video.</em></a></p><strong><br />
</strong></p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/7tXknScNtZ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/my-favourite-movies-of-all-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/my-favourite-movies-of-all-time</feedburner:origLink></item>
		<item>
		<title>How to create an xml file dynamically in PHP</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/bu86F7X6kcA/how-to-create-an-xml-file-dynamically-in-php</link>
		<comments>http://jonnydevine.com/how-to-create-an-xml-file-dynamically-in-php#comments</comments>
		<pubDate>Wed, 07 Sep 2011 21:06:55 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=30</guid>
		<description><![CDATA[<p>XML stands for eXtensible Markup Language. XML is designed to transport and store data. XML is important to know, and very easy to learn. You should have a basic understanding of HTML and Javascript. The difference between HTML and XML is that HTML is about displaying information, while XML is about carrying information. XML does [...]]]></description>
			<content:encoded><![CDATA[<p>XML stands for eXtensible Markup Language. XML is designed to transport and store data. XML is important to know, and very easy to learn. You should have a basic understanding of HTML and Javascript. The difference between HTML and XML is that HTML is about displaying information, while XML is about carrying information. XML does not do anything, XML was created to structure, store and transport information. XML has no predefined tags so you can invent your own.</p>
<p><span id="more-30"></span></p>
<pre lang="cpp"><!--?php
// Send the headers to the browser
header('Content-type: text/xml');
header('Pragma: public');
header('Cache-control: private);
header('Expires: -1'); 

// Database variables
$dsn = 'mysql:host=localhost;dbname=testdatabase';
$user = 'root';
$password = ''; 

// Connect to database
$db = new PDO($dsn, $user, $password); 

// Query the database
$sql = 'SELECT title, description, date, author FROM items';
$stmt = $this--->db-&gt;prepare($sql);
$stmt-&gt;execute();
$items = $stmt-&gt;fetchAll(PDO::FETCH_ASSOC);

echo "<!--?xml version=\"1.0\" encoding=\"utf-8\"?-->";

echo '';

for($i = 0; $i &lt; count($items); $i++){
echo '';

echo '';
echo $items[$i]['title'];
echo '';

echo '';
echo $items[$i]['description'];
echo '';

echo '';
echo $items[$i]['date'];
echo '';

echo '';
echo $items[$i]['author'];
echo '';

echo '';
}

echo '';

?&gt;</pre>
<p>You could then create a cronjob that will automatically execute the page every so often.</p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/bu86F7X6kcA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/how-to-create-an-xml-file-dynamically-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/how-to-create-an-xml-file-dynamically-in-php</feedburner:origLink></item>
		<item>
		<title>Hello world!</title>
		<link>http://feedproxy.google.com/~r/JonnyDevine/~3/gsk8AGtysEE/hello-world</link>
		<comments>http://jonnydevine.com/hello-world#comments</comments>
		<pubDate>Mon, 28 Mar 2011 15:17:18 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jonnydevine.com/?p=1</guid>
		<description><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
<img src="http://feeds.feedburner.com/~r/JonnyDevine/~4/gsk8AGtysEE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://jonnydevine.com/hello-world/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://jonnydevine.com/hello-world</feedburner:origLink></item>
	</channel>
</rss>

