<?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>Skillett.com &#187; Programming</title>
	<atom:link href="http://www.skillett.com/category/technology/computers/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skillett.com</link>
	<description>Keiron&#039;s daily take on life, the internet and the world around us!</description>
	<lastBuildDate>Wed, 18 Jan 2012 11:59:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
  <link>http://www.skillett.com</link>
  <url>http://www.skillett.com//images/favicon.ico</url>
  <title>Skillett.com</title>
</image>
		<item>
		<title>XULRunner and Crowbar &#8211; Crawling of sorts?</title>
		<link>http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xulrunner-and-crowbar-crawling-of-sorts</link>
		<comments>http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 10:50:43 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[crawler]]></category>
		<category><![CDATA[crowbar]]></category>
		<category><![CDATA[spider]]></category>
		<category><![CDATA[XULRunner]]></category>

		<guid isPermaLink="false">http://www.skillett.com/?p=688</guid>
		<description><![CDATA[This was going to be a tutorial on getting these two things running to achieve everything I want, sadly I can&#8217;t work out how to get the last step working, which is to navigate the returned Ajax page to allow me to extract different information. As such this is more a guide on getting the two things installed and working &#8211; if you have any more luck than I do on getting navigating Ajax working then let me know!! XULRunner First things first, I downloaded the Windows version of XULRunner from (look in the runtimes directory!): http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/ (Unpacking takes a while the 8.23MB download contained 302 items totalling 18.8MB!) Crowbar Not such a simple download for the uninitiated. It&#8217;s not...&#160;<a href="http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>This was going to be a tutorial on getting these two things running to achieve everything I want, sadly I can&#8217;t work out how to get the last step working, which is to navigate the returned Ajax page to allow me to extract different information.</p>
<p>As such this is more a guide on getting the two things installed and working &#8211; if you have any more luck than I do on getting navigating Ajax working then let me know!!</p>
<p><strong>XULRunner</strong></p>
<p>First things first, I downloaded the Windows version of XULRunner from (look in the runtimes directory!):</p>
<p><a title="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.0.4/runtimes/" href="http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/">http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/</a></p>
<p>(Unpacking takes a while the 8.23MB download contained 302 items totalling 18.8MB!)</p>
<p><strong>Crowbar</strong></p>
<p>Not such a simple download for the uninitiated. It&#8217;s not actually released, so it uses Subversion to store its files &#8211; you&#8217;ll need a Subversion client to download it. I don&#8217;t have one on the machine I&#8217;m working on, so <a href="http://www.skillett.com/index.php/686/using-subversion-to-get-crowbar" target="_blank">another post</a> will cover the in&#8217;s and out&#8217;s of downloading Crowbar with subversion.</p>
<p><strong>All Downloaded and Unpacked &#8211; Onwards we go!</strong></p>
<p>Back to the instructions <a href="http://simile.mit.edu/wiki/Crowbar" target="_blank">here</a>, which tell me once I&#8217;ve done all this to open a command prompt (thankfully a place I&#8217;m familiar with) and run:</p>
<blockquote>
<pre>c:\&gt; %XULRUNNER_HOME%\xulrunner.exe --install-app %CROWBAR%\xulapp
c:\&gt; cd %CROWBAR%\xulapp
c:\&gt; %XULRUNNER_HOME%\xulrunner.exe application.ini</pre>
</blockquote>
<p>Windows Firewall blocked the program but that was kind of expected, so I unblocked that.<br />
I now have a Crowbar window and an Error Console, apparently I can use Crowbar by visting:</p>
<blockquote>
<pre><a href="http://127.0.0.1:10000/">http://127.0.0.1:10000/</a></pre>
</blockquote>
<p>On doing so, a nice little web window pops up similar to a web proxy, asking me what page I want to fetch.</p>
<p>I inserted my Ajax based page and the next thing I know, I&#8217;m being presented with all the source code for that page, which includes all the output from the Javascript that wouldn&#8217;t be there when I did a PHP curl get on the page!!</p>
<p>Now apparently I can run this using curl (why can I see me having to install a fair bit of software on my laptop to get this all working over there?).</p>
<p>OK, so all well and good we&#8217;ve fetched one page, but that page has a dropdown box on it that forces the entire page to change &#8211; how do I go about &#8220;Crowbarring&#8221; my way around that?</p>
<p>With little documentation I can&#8217;t see a way&#8230; Back to the drawing/scraping board?</p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/" title="Ajax Crawling with PHP and Curl?">Ajax Crawling with PHP and Curl?</a></li><li><a href="http://www.skillett.com/technology/computers/programming/using-subversion-to-get-crowbar/" title="Using Subversion to get Crowbar">Using Subversion to get Crowbar</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Using Subversion to get Crowbar</title>
		<link>http://www.skillett.com/technology/computers/programming/using-subversion-to-get-crowbar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-subversion-to-get-crowbar</link>
		<comments>http://www.skillett.com/technology/computers/programming/using-subversion-to-get-crowbar/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 10:46:40 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[crowbar]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[tortoisesvn]]></category>

		<guid isPermaLink="false">http://www.skillett.com/?p=686</guid>
		<description><![CDATA[This post is just a reference point for another post, a Subversion client is needed for downloading Crowbar, so I downloaded TortoiseSVN available here. A quick install with the default options and I was away. I created a new folder on my desktop called Crowbar, went into it and did a right click (TortoiseSVN is an explorer extension so there&#8217;s no program to run directly!). Alpha Dog release TortoiseSVN -&#62; Export Then pasted in the trunk from the Crowbar instructions page. Related PostsXULRunner and Crowbar &#8211; Crawling of sorts?Ajax Crawling with PHP and Curl?]]></description>
			<content:encoded><![CDATA[<p>This post is just a reference point for <a href="http://www.skillett.com/index.php/688/xulrunner-and-crowbar-crawling-of-sorts" target="_blank">another post</a>, a Subversion client is needed for downloading Crowbar, so I downloaded <a href="http://www.softpedia.com/progDownload/TortoiseSVN-Download-49731.html" target="_blank">TortoiseSVN available here</a>.</p>
<p>A quick install with the default options and I was away.</p>
<p>I created a new folder on my desktop called Crowbar, went into it and did a right click (TortoiseSVN is an explorer extension so there&#8217;s no program to run directly!).</p>
<form style="display:none"><a href="http://www.blueshoeproject.org/?alpha_dog">Alpha Dog release</a></form>
<p>TortoiseSVN -&gt; Export</p>
<p>Then pasted in the trunk from the <a href="http://simile.mit.edu/wiki/Crowbar" target="_blank">Crowbar instructions</a> page.</p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/" title="XULRunner and Crowbar &#8211; Crawling of sorts?">XULRunner and Crowbar &#8211; Crawling of sorts?</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/" title="Ajax Crawling with PHP and Curl?">Ajax Crawling with PHP and Curl?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/using-subversion-to-get-crowbar/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ajax Crawling with PHP and Curl?</title>
		<link>http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ajax-crawling-with-php-and-curl</link>
		<comments>http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 16:37:56 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[crawler]]></category>
		<category><![CDATA[crowbar]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[spider]]></category>
		<category><![CDATA[waitr]]></category>

		<guid isPermaLink="false">http://www.skillett.com/?p=684</guid>
		<description><![CDATA[I apologise now if I put off some of the more general readers with this post, but I&#8217;ve struck upon a bit a problem! I have some automated code that I wrote using PHP and Curl, that retrieves a mountain of information from a website, does some statistical analysis on it and then presents me with a nice little report (having inserted the data into a MySQL database). It&#8217;s wonderful &#8211; to do the process manually would take maybe 2-3 hours every day, as it is I wake up to a nice report sat in my inbox everyday with all the information in it. Now I have a problem, the website that I crawl to get this information is converting...&#160;<a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I apologise now if I put off some of the more general readers with this post, but I&#8217;ve struck upon a bit a problem!</p>
<p>I have some automated code that I wrote using PHP and Curl, that retrieves a mountain of information from a website, does some statistical analysis on it and then presents me with a nice little report (having inserted the data into a MySQL database). It&#8217;s wonderful &#8211; to do the process manually would take maybe 2-3 hours every day, as it is I wake up to a nice report sat in my inbox everyday with all the information in it.</p>
<p>Now I have a problem, the website that I crawl to get this information is converting to Ajax &#8211; this presents me with a huge problem&#8230;&#8230;</p>
<p><strong>Web Spiders</strong></p>
<p>Web spiders for the most part, grab a page from a server, make a list of links in the page and then go off and repeat the process on all those links it&#8217;s found (each one triggering a different database or variable call in a website).</p>
<p>Ajax isn&#8217;t quite so easy, most of the page isn&#8217;t even in the HTML! It&#8217;s inserted after by javascript &#8211; mostly when the user clicks something, meaning the user doesn&#8217;t even navigate to a different page, but actually stays on the same page and lets the javascript refresh (hence our crawler can&#8217;t make a list of the links!). Some websites allow for this having a &#8220;lite&#8221; version, the one I&#8217;m using doesn&#8217;t <img src='http://www.skillett.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><strong>Thinking like a Human</strong></p>
<p>We need to make our crawler think and act like a human &#8211; sounds easy enough right? You&#8217;ve written a crawler before surely you can do that?</p>
<p>Wrong! I can&#8217;t think of any logical way to get PHP to do this for me!</p>
<p>Any crawler process would need to be able to see events and states in the document that a real user might click on.</p>
<p>Some reading around this problem (and believe me, I have), suggests that the easiest way of possible of doing this is to create an AJAX-enabled event-driven reader. Heck we use one of these everyday of the week (it&#8217;s your web browser folks, whether it be IE, Firefox, Opera, Safari etc. etc.).</p>
<p><strong>Using the Browser</strong></p>
<p> <strong style="display:none"><a href="http://www.kizukigroup.com/?flesheater">FleshEater</a></strong> There are a couple of tools around that seem to use the browser, <a href="http://wtr.rubyforge.org/" target="_blank">Watir</a> (using Ruby) and <a href="http://simile.mit.edu/wiki/Crowbar" target="_blank">Crowbar</a> (which uses a mozilla based browser).</p>
<p>Does anyone have any other bright ideas before I spend hours fighting with yet another new technology?</p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/xulrunner-and-crowbar-crawling-of-sorts/" title="XULRunner and Crowbar &#8211; Crawling of sorts?">XULRunner and Crowbar &#8211; Crawling of sorts?</a></li><li><a href="http://www.skillett.com/technology/computers/software/internet-software/email-clients/backup-backup-and-backup/" title="Backup, backup and backup!!">Backup, backup and backup!!</a></li><li><a href="http://www.skillett.com/technology/computers/programming/using-subversion-to-get-crowbar/" title="Using Subversion to get Crowbar">Using Subversion to get Crowbar</a></li><li><a href="http://www.skillett.com/general/automation-making-your-life-easier-600-steps-at-a-time/" title="Automation &#8211; Making your life Easier, 600 steps at a time!">Automation &#8211; Making your life Easier, 600 steps at a time!</a></li><li><a href="http://www.skillett.com/technology/websites/outsourcing-is-it-bad-when-you-have-a-little-knowledge/" title="Outsourcing &#8211; is it bad when you have a little Knowledge?">Outsourcing &#8211; is it bad when you have a little Knowledge?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Mozilla Prism!</title>
		<link>http://www.skillett.com/technology/computers/programming/mozilla-prism/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mozilla-prism</link>
		<comments>http://www.skillett.com/technology/computers/programming/mozilla-prism/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 15:09:00 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[prism]]></category>

		<guid isPermaLink="false">http://www.skillett.com/?p=625</guid>
		<description><![CDATA[I was reading John&#8217;s blog today and spotted a link to Mozilla Labs. I&#8217;ve always liked some of the Google Labs projects and an avid fan of both Firefox and Thunderbird &#8211; so what better way to see some of the things that Mozilla have got on their minds. I&#8217;ve only read about one project before I&#8217;ve started typing, but already it strikes me a something remarkably simple but such a good idea! Prism notes that: Personal computing is currently in a state of transition. While traditionally users have interacted mostly with desktop applications, more and more of them are using web applications. But the latter often fit awkwardly into the document-centric interface of web browsers. And they are surrounded...&#160;<a href="http://www.skillett.com/technology/computers/programming/mozilla-prism/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I was reading <a href="http://john.jubjubs.net/2008/10/13/mozilla-chief-innovation-officer-chris-beard/" target="_blank">John&#8217;s blog</a> today and spotted a link to <a href="http://labs.mozilla.com/" target="_blank">Mozilla Labs</a>. I&#8217;ve always liked some of the <a href="http://labs.google.com/" target="_blank">Google Labs</a> projects and an avid fan of both Firefox and Thunderbird &#8211; so what better way to see some of the things that Mozilla have got on their minds.</p>
<p><a title="Prism glass 1" href="http://www.flickr.com/photos/28481088@N00/191631932/" target="_blank"><img src="http://farm1.static.flickr.com/66/191631932_6675951ed6_m.jpg" border="0" alt="Prism glass 1" /></a><br />
<small><a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank"><br />
</a><a title="tanakawho" href="http://www.flickr.com/photos/28481088@N00/191631932/" target="_blank"></a></small></p>
<p>I&#8217;ve only read about one project before I&#8217;ve started typing, but already it strikes me a something remarkably simple but such a good idea!</p>
<p><a href="http://labs.mozilla.com/2007/10/prism/" target="_blank">Prism</a> notes that:</p>
<blockquote><p>Personal computing is currently in a state of transition. While traditionally users have interacted mostly with desktop applications, more and more of them are using web applications. But the latter often fit awkwardly into the document-centric interface of web browsers. And they are surrounded with controls–like back and forward buttons and a location bar–that have nothing to do with interacting with the application itself.</p></blockquote>
<p>So <a href="http://labs.mozilla.com/projects/prism" target="_blank">Prism</a> will let you add these applications straight into your Start Menu (an eBay Application link, a Facebook application link etc.)</p>
<p>You can see the benefits for some users already! Is anyone using this?</p>
<p><small><a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank"><img src="http://www.skillett.com/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="tanakawho" href="http://www.flickr.com/photos/28481088@N00/191631932/" target="_blank">tanakawho</a></small></p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/software/internet-software/email-clients/not-so-hasty-there-thunderbirds-are-go/" title="Not so Hasty there! Thunderbirds are go!">Not so Hasty there! Thunderbirds are go!</a></li><li><a href="http://www.skillett.com/technology/computers/software/itunes_killer_songbird/" title="iTunes killer? Not quite yet for Songbird!">iTunes killer? Not quite yet for Songbird!</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/mozilla-prism/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>CSS Style overload &#8211; Remove unused CSS Styles</title>
		<link>http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-style-overload-remove-unused-css-styles</link>
		<comments>http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 12:30:42 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/473/css-style-overload-remove-unused-css-styles</guid>
		<description><![CDATA[I design sites (not well most of the time!) and often pinch bits and bobs from the various CSS stylesheets I&#8217;ve created over the years, generally I normally end up coming up with something that looks at least half decent! However, all that cutting and pasting leaves my stylesheets in a mess &#8211; with tonnes of unused CSS styles! I spotted a reference to Dust-Me Selectors today on San Baldo, and using this fantastic Firefox Extension I have managed, in the space of minutes to reduce on stylesheet from an unmanageable 600 lines to a mere 200! It extracts all the selectors from all the stylesheets on the page you&#8217;re viewing, then analyzes that page to see which of those...&#160;<a href="http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I design sites (not well most of the time!) and often pinch bits and bobs from the various CSS stylesheets I&#8217;ve created over the years, generally I normally end up coming up with something that looks at least half decent!</p>
<p>However, all that cutting and pasting leaves my stylesheets in a mess &#8211; with tonnes of unused CSS styles!</p>
<p>I spotted a reference to <a href="http://www.sitepoint.com/dustmeselectors/" target="_blank">Dust-Me Selectors</a> today on <a href="http://www.sanbaldo.com/" target="_blank">San Baldo</a>, and using this fantastic Firefox Extension I have managed, in the space of minutes to reduce on stylesheet from an unmanageable 600 lines to a mere 200!</p>
<blockquote><p>
It extracts all the selectors from all the stylesheets on the page you&#8217;re viewing, then analyzes that page to see which of those selectors are not used. The data is then stored in your user preferences, so that as you continue to navigate around a site, selectors will be crossed off the list as they&#8217;re encountered.</p>
<p>You&#8217;ll end up with a profile of which selectors are not used anywhere on the site.
</p></blockquote>
<p>If you found this post useful, why not buy me a coffee or a beer (depending on the time of day obviously!):<br />
<form class='donate' method='post' action='https://www.paypal.com/cgi-bin/webscr'>		<input type='hidden' value='2.50' name='amount'/>		<input type='hidden' value='_xclick' name='cmd'/>		<input type='hidden' value='keiron@skillett.com' name='business'/>		<input type='hidden' value='Buy me a beer or a coffee!' name='item_name'/>		<input type='hidden' value='1' name='no_shipping'/>		<input type='hidden' value='http://www.skillett.com' name='return'/>		<input type='hidden' value='http://www.skillett.com' name='cancel_return'/>		<input type='hidden' value='GBP' name='currency_code'/>		<input type='hidden' value='' name='page_style'/>		<input type='hidden' value='0' name='tax'/>		<input type='image' alt='PayPal - The safer, easier way to pay online' name='submit' style='border: 0pt none ;' src='https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif'/></form></p>
<p>If you really want to learn about CSS you need to be reading some of the following books:</p>
<table align="center">
<tr>
<td><iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS1=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=skillett-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=0596802447" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td>
<iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS1=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=skillett-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=1590596897" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
<td><iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS1=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=skillett-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=0596527330" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td>
<td>
<iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS1=1&#038;npa=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=skillett-21&#038;o=2&#038;p=8&#038;l=as1&#038;m=amazon&#038;f=ifr&#038;md=0M5A6TN3AXP2JHJBWT02&#038;asins=097584198X" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/pipes-and-their-uses/" title="PIPES and their uses?">PIPES and their uses?</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php-script-assistance/" title="PHP Script Assistance">PHP Script Assistance</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Updated CakePHP Baking</title>
		<link>http://www.skillett.com/technology/computers/programming/php/updated-cakephp-baking/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=updated-cakephp-baking</link>
		<comments>http://www.skillett.com/technology/computers/programming/php/updated-cakephp-baking/#comments</comments>
		<pubDate>Sun, 18 Feb 2007 18:22:55 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Examples]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/382/updated-cakephp-baking/</guid>
		<description><![CDATA[It appears the CakeBaker, may renew my interest in CakePHP having highlighted some projects that use CakePHP. Island Cruises looks fantastic! Dishola, looks very tempting! PokerInside, could be onto a winner! So, you obviously can do more than just make a notes application with CakePHP, now it&#8217;s just a case of what I do with it?! Related PostsA first bite of CakePHPBackup, backup and backup!!Ajax Crawling with PHP and Curl?Automation &#8211; Making your life Easier, 600 steps at a time!Outsourcing &#8211; is it bad when you have a little Knowledge?]]></description>
			<content:encoded><![CDATA[<p>It appears the <a target="_blank" href="http://cakebaker.42dh.com/cakephp-projects/">CakeBaker</a>, may renew my interest in CakePHP having highlighted some projects that use CakePHP.</p>
<ul>
<li><a target="_blank" href="http://www.islandcruises.com/">Island Cruises </a>looks fantastic!</li>
<li><a target="_blank" href="http://www.dishola.com/">Dishola</a>, looks very tempting!</li>
<li><a target="_blank" href="http://www.pokerinside.com/">PokerInside</a>, could be onto a winner!</li>
</ul>
<p>So, you obviously can do more than just make a notes application with CakePHP, now it&#8217;s just a case of what I do with it?!</p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/php/a-first-bite-of-cakephp/" title="A first bite of CakePHP">A first bite of CakePHP</a></li><li><a href="http://www.skillett.com/technology/computers/software/internet-software/email-clients/backup-backup-and-backup/" title="Backup, backup and backup!!">Backup, backup and backup!!</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/" title="Ajax Crawling with PHP and Curl?">Ajax Crawling with PHP and Curl?</a></li><li><a href="http://www.skillett.com/general/automation-making-your-life-easier-600-steps-at-a-time/" title="Automation &#8211; Making your life Easier, 600 steps at a time!">Automation &#8211; Making your life Easier, 600 steps at a time!</a></li><li><a href="http://www.skillett.com/technology/websites/outsourcing-is-it-bad-when-you-have-a-little-knowledge/" title="Outsourcing &#8211; is it bad when you have a little Knowledge?">Outsourcing &#8211; is it bad when you have a little Knowledge?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/php/updated-cakephp-baking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A first bite of CakePHP</title>
		<link>http://www.skillett.com/technology/computers/programming/php/a-first-bite-of-cakephp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-first-bite-of-cakephp</link>
		<comments>http://www.skillett.com/technology/computers/programming/php/a-first-bite-of-cakephp/#comments</comments>
		<pubDate>Sun, 18 Feb 2007 18:16:21 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Development-Framework]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/381/a-first-bite-of-cakephp/</guid>
		<description><![CDATA[I&#8217;ve long been interested in some rapid development PHP framework to speed up my development time, I&#8217;m well aware that starting to use one could slow me up in the interim, but once I was fully up to speed with any of the major frameworks I would probably find it very easy. So I dug my head into the cakePHP manual today, I&#8217;ll be honest I found the manual heavy going, but I&#8217;ve always felt like that about any programming language, it&#8217;s far easier to learn by example, SitePoint have a Tutorial that gives you a real first bite. I found the example really easy, but then it&#8217;s an example and you&#8217;re supposed to! Technorati has little on CakePHP, other...&#160;<a href="http://www.skillett.com/technology/computers/programming/php/a-first-bite-of-cakephp/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve long been interested in some rapid development PHP framework to speed up my development time, I&#8217;m well aware that starting to use one could slow me up in the interim, but once I was fully up to speed with any of the major frameworks I would probably find it very easy.</p>
<p>So I dug my head into the cakePHP manual today, I&#8217;ll be honest I found the manual heavy going, but I&#8217;ve always felt like that about any programming language, it&#8217;s far easier to learn by example, <a target="_blank" href="http://www.sitepoint.com/article/application-development-cakephp">SitePoint have a Tutorial </a>that gives you a real first bite. I found the example really easy, but then it&#8217;s an example and you&#8217;re supposed to!</p>
<p>Technorati has little on CakePHP, other than people referring to the screencasts available on the CakePHP site.</p>
<p>Well I&#8217;ve got my funky little notes application, but can I make something that really works with CakePHP, we&#8217;ll see, but I can see it being a steep learning curve, I may have to invest in CakePHP Recipes &#8211; £17.86 on Amazon as a starting point?<br />
<a title="View product details at Amazon" href="http://www.amazon.co.uk/gp/redirect.html%3FASIN=0321497732%26tag=brav20%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0321497732%253FSubscriptionId=0EMV44A9A5YT1RVDGZ82"><img alt="CakePHP Recipes" src="http://ec1.images-amazon.com/images/P/0321497732.01._SCMZZZZZZZ_.jpg" /></a></p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/php/updated-cakephp-baking/" title="Updated CakePHP Baking">Updated CakePHP Baking</a></li><li><a href="http://www.skillett.com/technology/kindle-better-late-than-never/" title="Kindle! Better late than never!">Kindle! Better late than never!</a></li><li><a href="http://www.skillett.com/technology/computers/software/internet-software/email-clients/backup-backup-and-backup/" title="Backup, backup and backup!!">Backup, backup and backup!!</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/" title="Ajax Crawling with PHP and Curl?">Ajax Crawling with PHP and Curl?</a></li><li><a href="http://www.skillett.com/general/automation-making-your-life-easier-600-steps-at-a-time/" title="Automation &#8211; Making your life Easier, 600 steps at a time!">Automation &#8211; Making your life Easier, 600 steps at a time!</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/php/a-first-bite-of-cakephp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PIPES and their uses?</title>
		<link>http://www.skillett.com/technology/computers/programming/pipes-and-their-uses/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pipes-and-their-uses</link>
		<comments>http://www.skillett.com/technology/computers/programming/pipes-and-their-uses/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 12:07:17 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Pipes]]></category>
		<category><![CDATA[Yahoo-Pipes]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/370/pipes-and-their-uses/</guid>
		<description><![CDATA[Not for plumbing (although that&#8217;s a whole other story at the minute!!), but data pipes are always something that has interested me, my biggest issue I think is finding something that I would pipe together. Before I go any further I should explain what pipes are: You take data from a source (an RSS feed is normally best). You do some parsing of that data and extract some useful bits, that you then that input into another feed source. You then combine the two pieces of data to produce one RSS feed. All this in the past would have been the domain of programmers, but it appears Yahoo Pipes have made this easy, not something I&#8217;ve ever played with but...&#160;<a href="http://www.skillett.com/technology/computers/programming/pipes-and-their-uses/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Not for plumbing (although that&#8217;s a whole other story at the minute!!), but data pipes are always something that has interested me, my biggest issue I think is finding something that I would pipe together.</p>
<p>Before I go any further I should explain what pipes are:</p>
<ol>
<li>You take data from a source (an RSS feed is normally best).</li>
<li>You do some parsing of that data and extract some useful bits, that you then that input into another feed source.</li>
<li>You then combine the two pieces of data to produce one RSS feed.</li>
</ol>
<p>All this in the past would have been the domain of programmers, but it appears Yahoo Pipes have made this easy, not something I&#8217;ve ever played with but <a target="_blank" href="http://nick.typepad.com/blog/">Nick Bradbury</a> has created a brilliant <a target="_blank" href="http://nick.typepad.com/blog/2007/02/youtunes_an_exa.html">example of a Yahoo Pipe</a>.</p>
<p>My biggest issue probably still remains, what two things would I pipe together? I love the idea, but I&#8217;m not sure I can find anything to do with it! <img src='http://www.skillett.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/" title="CSS Style overload &#8211; Remove unused CSS Styles">CSS Style overload &#8211; Remove unused CSS Styles</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php-script-assistance/" title="PHP Script Assistance">PHP Script Assistance</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/pipes-and-their-uses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Script Assistance</title>
		<link>http://www.skillett.com/technology/computers/programming/php-script-assistance/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-script-assistance</link>
		<comments>http://www.skillett.com/technology/computers/programming/php-script-assistance/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 10:22:52 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[dbqwiksite]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[gubed]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/369/php-script-assistance/</guid>
		<description><![CDATA[No, I don&#8217;t want somebody to write them for me (although it would be very nice!), I want to speed up my development time sometimes. I get bogged down in the code and could do with sorting that problem. So I&#8217;m having a look at a few things that might help this, any advice anyone has on any them is appreciated (I&#8217;ve opened up comments, but you&#8217;ll still have to register). The Gubed PHP Debugger is Free and looks useful. dBQwikSite looks like it could spit out PHP &#038; MySQL sites all day long, the licence is up in the $150 region, but that&#8217;s probably not out of the ballpark for what I want! Might download a trial of this...&#160;<a href="http://www.skillett.com/technology/computers/programming/php-script-assistance/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>No, I don&#8217;t want somebody to write them for me (although it would be very nice!), I want to speed up my development time sometimes. I get bogged down in the code and could do with sorting that problem. So I&#8217;m having a look at a few things that might help this, any advice anyone has on any them is appreciated (I&#8217;ve opened up comments, but you&#8217;ll still have to register).</p>
<p><a target="_blank" href="http://gubed.mccabe.nu/">The Gubed PHP Debugger</a> is Free and looks useful.</p>
<p><a target="_blank" href="http://www.dbqwiksite.com/">dBQwikSite</a> looks like it could spit out PHP &#038; MySQL sites all day long, the licence is up in the $150 region, but that&#8217;s probably not out of the ballpark for what I want! Might download a trial of this one at the weekend.</p>
<h3>Related Posts</h3><ul class="related_post"><li><a href="http://www.skillett.com/technology/websites/outsourcing-is-it-bad-when-you-have-a-little-knowledge/" title="Outsourcing &#8211; is it bad when you have a little Knowledge?">Outsourcing &#8211; is it bad when you have a little Knowledge?</a></li><li><a href="http://www.skillett.com/technology/computers/software/internet-software/email-clients/backup-backup-and-backup/" title="Backup, backup and backup!!">Backup, backup and backup!!</a></li><li><a href="http://www.skillett.com/technology/computers/programming/php/ajax-crawling-with-php-and-curl/" title="Ajax Crawling with PHP and Curl?">Ajax Crawling with PHP and Curl?</a></li><li><a href="http://www.skillett.com/general/automation-making-your-life-easier-600-steps-at-a-time/" title="Automation &#8211; Making your life Easier, 600 steps at a time!">Automation &#8211; Making your life Easier, 600 steps at a time!</a></li><li><a href="http://www.skillett.com/technology/computers/programming/css-style-overload-remove-unused-css-styles/" title="CSS Style overload &#8211; Remove unused CSS Styles">CSS Style overload &#8211; Remove unused CSS Styles</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/programming/php-script-assistance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful PHP mktimes</title>
		<link>http://www.skillett.com/technology/computers/software/useful-php-mktimes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=useful-php-mktimes</link>
		<comments>http://www.skillett.com/technology/computers/software/useful-php-mktimes/#comments</comments>
		<pubDate>Tue, 01 Aug 2006 07:19:45 +0000</pubDate>
		<dc:creator>Keiron</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.skillett.com/index.php/299/useful-php-mktimes/</guid>
		<description><![CDATA[Creating &#8211; yesterday, tomorrow, last month etc. in PHP time can be a little time consuming &#8211; here are some quick cut and pastes! < ? $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("Y")); $today = mktime(0,0,0,date("m"),date("d"),date("Y")); $tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y")); $lastmonth = mktime(0,0,0,date("m")-1,date("d"),date("Y")); $nextmonth = mktime(0,0,0,date("m")+1,date("d"),date("Y")); $lastyear = mktime(0,0,0,date("m"),date("d"),date("Y")-1); $nextyear = mktime(0,0,0,date("m"),date("d"),date("Y")+1); // The "t" below gives the number of days in a given month. $lastday = mktime(0,0,0,date("m"),date("t"),date("Y")); $yesterday = strftime("%A %B %d, %Y",$yesterday); $today = strftime("%A %B %d, %Y",$today); $tomorrow = strftime("%A %B %d, %Y",$tomorrow); $lastmonth = strftime("%A %B %d, %Y",$lastmonth); $nextmonth = strftime("%A %B %d, %Y",$nextmonth); $lastyear = strftime("%A %B %d, %Y",$lastyear); $nextyear = strftime("%A %B %d, %Y",$nextyear); $lastday = strftime("%A %B %d, %Y",$lastday); echo "Yesterday was: $yesterday"; echo "Today is: $today"; echo...&#160;<a href="http://www.skillett.com/technology/computers/software/useful-php-mktimes/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>Creating &#8211; yesterday, tomorrow, last month etc. in PHP time can be a little time consuming &#8211; here are some quick cut and pastes!</p>
<p><code>< ?<br />
$yesterday = mktime(0,0,0,date("m"),date("d")-1,date("Y"));<br />
$today = mktime(0,0,0,date("m"),date("d"),date("Y"));<br />
$tomorrow  = mktime(0,0,0,date("m"),date("d")+1,date("Y"));<br />
$lastmonth = mktime(0,0,0,date("m")-1,date("d"),date("Y"));<br />
$nextmonth = mktime(0,0,0,date("m")+1,date("d"),date("Y"));<br />
$lastyear = mktime(0,0,0,date("m"),date("d"),date("Y")-1);<br />
$nextyear = mktime(0,0,0,date("m"),date("d"),date("Y")+1);<br />
// The "t" below gives the number of days in a given month.<br />
$lastday = mktime(0,0,0,date("m"),date("t"),date("Y"));</p>
<p>$yesterday = strftime("%A %B %d, %Y",$yesterday);<br />
$today = strftime("%A %B %d, %Y",$today);<br />
$tomorrow = strftime("%A %B %d, %Y",$tomorrow);<br />
$lastmonth = strftime("%A %B %d, %Y",$lastmonth);<br />
$nextmonth = strftime("%A %B %d, %Y",$nextmonth);<br />
$lastyear = strftime("%A %B %d, %Y",$lastyear);<br />
$nextyear = strftime("%A %B %d, %Y",$nextyear);<br />
$lastday = strftime("%A %B %d, %Y",$lastday);</p>
<p>echo "Yesterday was: $yesterday";<br />
echo "Today is:</b> $today";<br />
echo "Tomorrow is: $tomorrow";<br />
echo "Last Month was: $lastmonth";<br />
echo "Next Month is: $nextmonth";<br />
echo "Last Year was: $lastyear";<br />
echo "Next Year is: $nextyear";<br />
echo "Last day of the month is: $lastday";<br />
?></p>
<p></code></p>
<h3>Related Posts</h3><ul class="related_post"><li>No Related Post</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.skillett.com/technology/computers/software/useful-php-mktimes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

