<?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>Scott Robinson</title>
	<atom:link href="http://srobinson.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://srobinson.net</link>
	<description>mobile app developer, web developer, radio techie &#38; samsung mob!ler</description>
	<lastBuildDate>Fri, 29 Jul 2011 11:26:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>PHP &#8211; File &amp; Folder List into XML</title>
		<link>http://srobinson.net/2011/php-file-folder-list-into-xml/</link>
		<comments>http://srobinson.net/2011/php-file-folder-list-into-xml/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 20:51:45 +0000</pubDate>
		<dc:creator>scott</dc:creator>
		
		<guid isPermaLink="false">http://srobinson.net/?p=511</guid>
		<description><![CDATA[So, after some searching around the web i couldn&#8217;t find a PHP function that would output a list of all folders and there files to XML. I needed this function for a current mobile app im working on for a client! (The app has around 60mb of images. Rather than having them download a 60mb binary from [...]]]></description>
			<content:encoded><![CDATA[<p>So, after some searching around the web i couldn&#8217;t find a PHP function that would output a list of all folders and there files to XML. I needed this function for a current mobile app im working on for a client! (The app has around 60mb of images. Rather than having them download a 60mb binary from the appstore, it&#8217;ll download all images on the first run of the application! The XML structure tells the app what assets are available and where they can be found!) Anyway. Here&#8217;s the code! =]<br />
<pre><code>
&lt;?php
&nbsp;&nbsp;header(&#039;Content-Type: text/xml&#039;);
&nbsp;&nbsp;print &#039;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;&#039;;

&nbsp;&nbsp;function listContents($path = &quot;.&quot;, $level = 0, $ignore = array(&quot;cgi-bin&quot;,&quot;.&quot;,&quot;..&quot;,&quot;.DS_Store&quot;)) {
&nbsp;&nbsp;&nbsp;&nbsp;$directory = @opendir($path);
&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;while(false !== ($file = readdir($directory))){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!in_array($file,$ignore)){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(is_dir(&quot;$path/$file&quot;)){
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;folder level=&#039;&quot;.$level.&quot;&#039; name=&#039;&quot;.$file.&quot;&#039;&gt;&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listContents(&quot;$path/$file&quot;,($level+1));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;/folder&gt;&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;&lt;file&gt;&quot;.$file.&quot;&lt;/file&gt;&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;closedir($directory);
&nbsp;&nbsp;}

&nbsp;&nbsp;echo &quot;&lt;filestucture&gt;&quot;;
&nbsp;&nbsp;&nbsp;&nbsp;listContents(&quot;.&quot;);
&nbsp;&nbsp;echo &quot;&lt;/filestucture&gt;&quot;;
&nbsp;&nbsp;
?&gt;
</code></pre><br />
<span style="font-size: x-small;"><em>Original code from missing-score via codingforums.com</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://srobinson.net/2011/php-file-folder-list-into-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Student Radio Awards: My Entry! (Best Technical Achievement)</title>
		<link>http://srobinson.net/2010/student-radio-awards-my-tech-entry/</link>
		<comments>http://srobinson.net/2010/student-radio-awards-my-tech-entry/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 21:53:08 +0000</pubDate>
		<dc:creator>scott</dc:creator>
		
		<guid isPermaLink="false">http://srobinson.net/?p=449</guid>
		<description><![CDATA[George posted up the feedback on his SRA award entry and I thought it might be useful/interesting to post up mine aswell! For the 2010 Student Radio Awards (Best Technical Achievement category) I entered my &#8221;I Love Student Radio&#8221; iPhone app. You can find the entry here which shows you what the application is and a bit more detail about how it works. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.georgebuckingham.net/">George</a> posted up the feedback on his SRA award entry and I thought it might be useful/interesting to post up mine aswell!</p>
<p>For the 2010 Student Radio Awards (Best Technical Achievement category) I entered my &#8221;I Love Student Radio&#8221; iPhone app. You can find the entry <a href="http://srobinson.net/wp-content/uploads/2010/11/AwardEntry.pdf">here</a> which shows you what the application is and a bit more detail about how it works.</p>
<p style="padding-left: 30px;"><strong><span style="text-decoration: underline;">My Feedback</span></strong></p>
<p style="padding-left: 30px;"><span style="color: #808080;">I was very impressed that you were about to think beyond your own student station and create a mobile application that was suitable for all student stations. I was also impressed with your work to create an XML feed of student radio stations and how that this can also be used for other purposes. Unfortunately your application was less functional than some of the other mobile applications entered.</span></p>
<p><img class="alignright size-medium wp-image-473" title="AppLoadingScreen" src="http://srobinson.net/wp-content/uploads/2010/11/pic1_39xxn6n-156x300.png" alt="" width="94" height="180" /></p>
<p>Although i&#8217;m a little disappointed that I didn&#8217;t receive an award (I was however nominated for an award which in itself is a great achievement!) i&#8217;m pleased with the feedback i&#8217;ve received and its just spured me on to go for it again next year! Im currently working on a project i plan to enter myself along with another entry with the rest of the tech team at Radio Sonar. Congratulations go to the other award winners and <a href="http://www.brettjenkins.co.uk/">Brett Jenkins</a>, silver award winner for his Xtreme Radio iPhone app!</p>
<p>To find out more about the awards head on over to the awards sub-site <a href="http://studentradioawards.co.uk">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://srobinson.net/2010/student-radio-awards-my-tech-entry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NUS National Demo</title>
		<link>http://srobinson.net/2010/nus-national-demo/</link>
		<comments>http://srobinson.net/2010/nus-national-demo/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 22:20:07 +0000</pubDate>
		<dc:creator>scott</dc:creator>
		
		<guid isPermaLink="false">http://srobinson.net/?p=394</guid>
		<description><![CDATA[I&#8217;ve always meant to start writing something on this site.. Now ive got a little more time i thought i would! Time to start this whole blogging thing&#8230; (Ill also try and write up the missing pages above!) Wednesday 10th November &#8211; Demolition Part one of my busy few days began in London (I never did [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always meant to start writing something on this site.. Now ive got a little more time i thought i would! Time to start this whole blogging thing&#8230; (Ill also try and write up the missing pages above!)</p>
<p><strong>Wednesday 10th November &#8211; Demolition</strong></p>
<p><a style="font-weight: bold;" href="http://srobinson.net/wp-content/uploads/2010/11/75376_525726720084_280300037_1366514_1895713_n.jpg"><img class="alignright size-medium wp-image-409" title="NationDemo" src="http://srobinson.net/wp-content/uploads/2010/11/75376_525726720084_280300037_1366514_1895713_n-300x168.jpg" alt="NationalDemo" width="300" height="168" /></a></p>
<p>Part one of my busy few days began in London<em> (I never did get around to writing up the following few days&#8230;) </em>for the NUS National Demo. Three coach loads of us from Southampton Solent University headed up to Westminster for the protest against the rise in tuition fees. It was an incredibly long and boring journey but we got there in the end!</p>
<p>We all gathered outside &#8216;some building&#8217; (unfortunately i have no idea what the name of the building was or the name of the road!) ready for speeches by the NUS before we set of. The motivational speeches really got the crowd raring and in the mood for the protest! Shortly after we set off. They said it would be at a slow marching pace.. Infact it was incredibly slow! It took about an hour and a half to get from out starting point to big ben! Normally it would be no more than a five minute walk!</p>
<p>After waiting a few hundred metres back from big ben for more than an hour we decided to weave through the crows and head on with the protest.. Turns out there was a group of protestors sitting in the road holding everyone up! Was an entertaining 15 minutes weaving through the crowds. Numerous students chanting at the police and egging them on whilst they all stood there laughing!</p>
<p>We headed towards the rally point at the end of the march but were quickly distracted by a large crowd outside 30 Millibank, the converservatives headquarters. Shortly after arriving, there were fires being started and loud chanting towards those inside. It didn&#8217;t take long for this to grow into violence. Within 30 minutes of arriving, there were (suspected) students rioting and vandalising the building. The ground floor windows were all smashed in and the lobby was vandalised and full of students. Riot police were around but unfortunately had to hold back as there wernt nearly enough of them compared to the number of students there. I was in this crowd, probably only a row or two back from the violence taking place. I was in no way joining in nor was i inclined to join in, but it was a scary experience being so close to it all. We decided to leave shortly after this when the riot police decided to up there numbers!</p>
<p><img class="alignleft size-medium wp-image-416" title="NUSNationalDemo2" src="http://srobinson.net/wp-content/uploads/2010/11/ImageGalleryHandler-300x199.jpg" alt="NUSNationalDemo2" width="300" height="199" /></p>
<p>We didn&#8217;t manage to make our way to the rally as it was finished by the time we decided to leave millibank so we headed back through westiminster for our coaches! Most of the students returned back to Solent on the coach for what seemed an extremely long and painful journey! Myself and a few others stayed around as we were staying in London for the night! After a lovely breakfast/lunch/dinner of McDonalds with the others i headed to the tube station on my was to Wimbledon.. Had to wait for about 5 or 6 tubes as they were so packed and i had all my bags with me! (Im rambling on now arnt i&#8230;)</p>
<p>I was being put up in Wimbledon for the night by the lovely Matt Hurst &amp; Sarah Ghost so a big thank you to them! After a fantastic dinner in a &#8216;fusion&#8217; restaurant of Chinese, indian, thai and a few others we headed back for a kip before the kaos of the Student Radio Awards the following day! I could probably write lots more about the day.. But as this is my first blog post i should probably stop about here!</p>
]]></content:encoded>
			<wfw:commentRss>http://srobinson.net/2010/nus-national-demo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Website</title>
		<link>http://srobinson.net/2010/new-website/</link>
		<comments>http://srobinson.net/2010/new-website/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:18:02 +0000</pubDate>
		<dc:creator>scott</dc:creator>
		
		<guid isPermaLink="false">http://srobinson.net/site/?p=343</guid>
		<description><![CDATA[So here it is! I&#8217;ve finally got around to making myself one.. (I say make.. I mean use WordPress, find a nice template and make it work how i want.. But that dosent matter too much!) It&#8217;s a bit bare at the momment! Bear with me whilst i start adding some content!]]></description>
			<content:encoded><![CDATA[<p>So here it is! I&#8217;ve finally got around to making myself one.. (I say make.. I mean use WordPress, find a nice template and make it work how i want.. But that dosent matter too much!)</p>
<p>It&#8217;s a bit bare at the momment! Bear with me whilst i start adding some content!</p>
]]></content:encoded>
			<wfw:commentRss>http://srobinson.net/2010/new-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

