<?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>random.geek() &#187; Web Dev</title>
	<atom:link href="http://www.bencoleman.co.uk/category/development/web-dev/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bencoleman.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 11 Jul 2010 09:41:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>GameDB &#8211; Storing your game collection</title>
		<link>http://www.bencoleman.co.uk/gamedb-storing-your-game-collection</link>
		<comments>http://www.bencoleman.co.uk/gamedb-storing-your-game-collection#comments</comments>
		<pubDate>Mon, 25 Feb 2008 10:37:49 +0000</pubDate>
		<dc:creator>Ben Coleman</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.bencoleman.co.uk/gamedb-storing-your-game-collection/</guid>
		<description><![CDATA[I&#8217;ve been busy writing an application and database to store my collection of video games in. It&#8217;s finally at a stage where I consider it &#8220;complete&#8221;. I&#8217;ve put my application and my collection of games online here: http://dev.bencoleman.co.uk/gamedb/ I wrote this for my own personal use, but figured that somebody else might want to make [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been busy writing an application and database to store my collection of video games in. It&#8217;s finally at a stage where I consider it &#8220;complete&#8221;. I&#8217;ve put my application and my collection of games online here:</p>
<p><a href="http://dev.bencoleman.co.uk/gamedb/" title="Bens Game DB" target="_blank">http://dev.bencoleman.co.uk/gamedb/</a></p>
<p>I wrote this for my own personal use, but figured that somebody else might want to make use of it, so I&#8217;m releasing it to the world. Note this is not for the non-techie and you&#8217;ll need to know a fair bit about PHP, MySQL and so forth to get it running. I&#8217;m providing this &#8220;as-is&#8221; with no support or help (other than the info below) and the code is covered by GPL. If you want to use this I&#8217;d be interested so please let me know (out of curiosity really!).<br />
<span id="more-140"></span></p>
<ul>
<li>Download it here &#8211; <a href="http://files.bencoleman.co.uk/index.php?dir=blog/&amp;file=GameDB_App.zip">GameDB_App.zip</a>. Once downloaded, unzip and place the gamedb folder in your Apache document root (normally htdocs). Note it doesn&#8217;t have to be called gamedb</li>
<li>The application was written using CakePHP 1.2 (beta). I&#8217;m not including this in my download for licensing reasons, but it can be obtained from here <a href="http://www.cakephp.org/" target="_blank">http://www.cakephp.org/</a> Both PHP &amp; MySQL are pre-reqs to using Cake, I used the following versions:
<ul>
<li>Apache 2.2</li>
<li><a href="http://dev.mysql.com/downloads/mysql/5.0.html" target="_blank">MySQL 5.0.x</a></li>
</ul>
<ul>
<li><a href="http://www.php.net/downloads.php" target="_blank">PHP 5.2.x</a></li>
</ul>
</li>
<li>Download &amp; unzip CakePHP, take the cake sub-folder from the main Cake distro and place the contents  into the gamedb cake folder (gamedb\cake)</li>
<li>The app uses some PHP libraries that might not be available by default, these are:
<ul>
<li>GD (see your PHP docs for enabling GD)</li>
<li>PEAR <a href="http://pear.php.net/package/HTTP_Client" target="_blank">HTTP_Client </a></li>
</ul>
</li>
<li>MySQL database, create an empty database then use the included SQL script (create_db.sql) to create the tables in it. Edit gamedb\app\config\database.php to point at this DB (host, port, username, password, etc.)</li>
<li>The system comes with one admin user by default, only this user can add/delete/edit games. Everyone else (anonymous users) can view the system. The username and password of this user is &#8216;admin&#8217; (no quotes). To change the password create a MD5 hash string of the new password using http://gtools.org/tool/md5-hash-generator/ and replace the value in the users table. I was too lazy to write a proper use admin system seeing as I&#8217;d be the only user!</li>
<li>Using the system should be fairly self explanatory, however special note should be made of the &#8220;Wikipedia&#8221; button. When adding or editing a game, clicking this button will do a &#8220;behind the scenes&#8221; AJAX lookup on Wikipedia for the game name, if a match is found the article is scraped for the cover image and the blurb (meta-data), cool eh?</li>
<li>Images are fetched and stored in the DB, so you enter the URL of the image you want as the game cover, this image URL is fetched only once (assuming the URL is not changed) when the game is saved. This prevents any hot-linking and stealing peoples bandwidth.</li>
</ul>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencoleman.co.uk/gamedb-storing-your-game-collection/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flickr Module for Joomla &amp; Mambo</title>
		<link>http://www.bencoleman.co.uk/flickr-module</link>
		<comments>http://www.bencoleman.co.uk/flickr-module#comments</comments>
		<pubDate>Mon, 27 Mar 2006 09:19:27 +0000</pubDate>
		<dc:creator>Ben Coleman</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://ccgi.bencoleman.plus.com/blog/2006/03/27/flickr-module-for-joomla-mambo/</guid>
		<description><![CDATA[I've created a module for Joomla that will display images from flickr. I had a hunt round the web but couldn't find a module that did this; which was suprising as I'd guessed that lot of people would be wanting to display their flickr images on their Joomla/Mambo website. So in the end I decided to write my own!

Update I've updated the module and v1.1 is available for - this version supports group photo pools.
I'm simply using the 'badge' functionality that flickr provide and wrapping it into a little module with some user definable parameters.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a module for Joomla that will display images from <a target="_blank" href="http://www.flickr.com/">flickr</a>. I had a hunt round the web but couldn&#8217;t find a module that did this; which was suprising as I&#8217;d guessed that lot of people would be wanting to display their flickr images on their Joomla/Mambo website. So in the end I decided to write my own!</p>
<p><strong>Update</strong> I&#8217;ve updated the module and v1.1 is available for <a id="p12" href="http://files.bencoleman.co.uk/index.php?dir=blog/&#038;file=flickr_module_1.1.0.zip">Download</a> &#8211; this version supports group photo pools.<br />
I&#8217;m simply using the &#8216;badge&#8217; functionality that flickr provide and wrapping it into a little module with some user definable parameters.</p>
<p><span id="more-10"></span><br />
Features:</p>
<ul>
<li>Display images from a specific user or the whole of flickr</li>
<li>Display images that have a certain tag (e.g. &#8216;monkeys&#8217;)</li>
<li>Display either a random selection of images or the latest addtions</li>
<li>Control the number of images displayed, their size and the layout</li>
</ul>
<p>This is my first Joomla module so let me know if you have any problems with it (leave a comment using the form below). I&#8217;m releasing it as GPL. I&#8217;ve only tested the module with Joomla 1.0.3 but as the module is pretty basic I can&#8217;t see why it won&#8217;t work with Mambo either (please let me know if you&#8217;ve used it with Mambo)</p>
<p><a target="_blank" href="http://gallery.bencoleman.co.uk/v/Screenshots/flickr_module.png.html"><img src="http://gallery.bencoleman.co.uk/d/84-2/flickr_module.png" /></a></p>
<p><u><strong>Note to users having problems</strong></u></p>
<p>To display you own photos you need to specify your flickr &#8220;account number&#8221; in the module settings, this is <strong>NOT</strong> the same as your flickr login username. There are two ways to find out your account number:</p>
<ol>
<li><strong>Easy </strong>- Use this site <a target="_blank" title="idGettr" href="http://idgettr.com/">http://idgettr.com</a>, enter the URL of your flickr photo page and it gives you your flickr ID</li>
<li><strong>Less Easy</strong> &#8211; If that doesn&#8217;t work; goto your flickr photo page, and use the &#8220;view source&#8221; option in your browser. (in Internet Explorer this is in the &#8220;View&#8221; menu, in Firefox simply hit &#8216;Ctrl+U&#8217;). Search the source for the string &#8220;id=&#8221; (without the quotes) it should be found near the top of the page, your account number is the value after the id= up to the next &#8216;&#038;&#8217; character, e.g. 65706086@N00</li>
</ol>
<p><img border="0" title="Disk" id="image21" alt="Disk" src="http://ccgi.bencoleman.plus.com/blog/wp-content/uploads/2006/03/3floppy_unmount.png" /><strong>Download the module &#8211; <a id="p12" href="http://files.bencoleman.co.uk/index.php?dir=blog/&#038;file=flickr_module_1.1.0.zip">Flickr Module v1.1.0</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencoleman.co.uk/flickr-module/feed</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>
