<?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>Pyrocam.com &#187; simple</title>
	<atom:link href="http://pyrocam.com/tag/simple/feed/" rel="self" type="application/rss+xml" />
	<link>http://pyrocam.com</link>
	<description>I&#039;m like Vitamins for Computers</description>
	<lastBuildDate>Thu, 22 Sep 2011 01:42:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Motorcycle chain oiling system</title>
		<link>http://pyrocam.com/motorcycle-chain-oiling-system/</link>
		<comments>http://pyrocam.com/motorcycle-chain-oiling-system/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 23:41:43 +0000</pubDate>
		<dc:creator>pyrocam</dc:creator>
				<category><![CDATA[adjustment]]></category>
		<category><![CDATA[bolt]]></category>
		<category><![CDATA[budget]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[cost]]></category>
		<category><![CDATA[electrical tape]]></category>
		<category><![CDATA[Engine]]></category>
		<category><![CDATA[equipment]]></category>
		<category><![CDATA[gears]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[junk]]></category>
		<category><![CDATA[lube]]></category>
		<category><![CDATA[lubrication]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[motorbike]]></category>
		<category><![CDATA[motorcycle]]></category>
		<category><![CDATA[oil]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[tube]]></category>
		<category><![CDATA[wheel]]></category>
		<category><![CDATA[Wood]]></category>

		<guid isPermaLink="false">http://pyrocam.com/?page_id=614</guid>
		<description><![CDATA[I have often been frustrated with the task of oiling the chain on my motorbike, I want a Scottoiler but I don&#8217;t want to pay for it, SO I built something that would do the same sort of thing only temporarily. When you want to oil the chain, you fix it on, go for a [...]]]></description>
			<content:encoded><![CDATA[<p>I have often been frustrated with the task of oiling the chain on my motorbike, I want a Scottoiler but I don&#8217;t want to pay for it, SO I built something that would do the same sort of thing only temporarily. When you want to oil the chain, you fix it on, go for a small ride or spin the wheel a bit, then take it off again.</p>
<p>Requirements</p>
<ul>
<li>Easy to put on and take off</li>
<li>will spread lubricant evenly on the chain</li>
<li>cost effective</li>
</ul>
<p>The basic idea I came up with was to place a rag on the chain with oil flowing onto it at a slow rate, the oil would spread over the rag and onto the chain. This is how I built it.</p>
<p>&nbsp;</p>
<p>I had intended to attach it either by using the rear stand thread but I didn&#8217;t have any bolts that size, but I found a piece of wood would very happily wedge into the swing-arm very tightly. I took an off cut, drilled a hole through it at 9mm then applied a piece of 10mm threaded rod to it (installed the thread into the wood very happily, the threaded rod was tightly stuck in there.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/insertedrod.jpg"><img class="aligncenter size-medium wp-image-615" title="insertedrod" src="http://pyrocam.com/wp-content/uploads/2011/08/insertedrod-285x300.jpg" alt="offcut with threaded rod inserted" width="285" height="300" /></a>An &#8216;arm&#8217; was needed to reach down to the chain, so another off cut was attached with a couple washers and bolts. This also meant I could adjust the angle to suit when on the bike.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/holder.jpg"><img class="aligncenter size-medium wp-image-616" title="holder" src="http://pyrocam.com/wp-content/uploads/2011/08/holder-300x213.jpg" alt="adjustable angle arm bolted to holder" width="300" height="213" /></a></p>
<p>Then I built the oiling base itself, I made two because the first one wasn&#8217;t large enough to be drilled again for the second rod. Basically its a small off cut with a 5m hole drilled in it for the hose.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/block-1.jpg"><img class="aligncenter size-medium wp-image-617" title="block 1" src="http://pyrocam.com/wp-content/uploads/2011/08/block-1-300x179.jpg" alt="block 1 drilled" width="300" height="179" /></a></p>
<p>Inserting the oil flow tube.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/base1withtube.jpg"><img class="aligncenter size-medium wp-image-618" title="base1withtube" src="http://pyrocam.com/wp-content/uploads/2011/08/base1withtube-300x257.jpg" alt="base with tube inserted" width="300" height="257" /></a></p>
<p>The &#8220;oiling system&#8221; is a folded up rag. I kept the rag and the block the width of the chain to keep the oil where it should be.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/base1withrag.jpg"><img class="aligncenter size-medium wp-image-619" title="base1withrag" src="http://pyrocam.com/wp-content/uploads/2011/08/base1withrag-300x238.jpg" alt="first oiling system ready to have the rag attached" width="300" height="238" /></a></p>
<p>I used electrical tape to keep it on. Electrical tape works here because of its ability to stretch. whilst it doesn&#8217;t stick to the wood etc. It&#8217;s basically working like a rubber-band in this instance.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/baseonetest.jpg"><img class="aligncenter size-medium wp-image-620" title="baseonetest" src="http://pyrocam.com/wp-content/uploads/2011/08/baseonetest-300x132.jpg" alt="first oiling block tested on the chain" width="300" height="132" /></a></p>
<p>Its looking good here, but because I cant really attach it to anything I remade it slightly larger, The threaded rod is the second arm between the first and the base, I used threaded rod again so I could adjust the distance.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/newbase.jpg"><img class="aligncenter size-medium wp-image-621" title="newbase" src="http://pyrocam.com/wp-content/uploads/2011/08/newbase-300x291.jpg" alt="block two with tube and rod inserted" width="300" height="291" /></a></p>
<p>This is the full mount set. The small block on the right is the wedge for the swing arm, then there is the arm that goes down to the chain. Then the rod that goes inwards to the right distance to place the oiling block where it should be. Bolts for Africa to keep everything in place.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/fullsystemoffbike.jpg"><img class="aligncenter size-medium wp-image-622" title="fullsystemoffbike" src="http://pyrocam.com/wp-content/uploads/2011/08/fullsystemoffbike-300x223.jpg" alt="Full mount set - dry" width="300" height="223" /></a>Installed on the bike:</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/systeminplaceonside.jpg"><img class="aligncenter size-medium wp-image-623" title="systeminplaceonside" src="http://pyrocam.com/wp-content/uploads/2011/08/systeminplaceonside-300x298.jpg" alt="installed on bike from side" width="300" height="298" /></a></p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/chainandoiler.jpg"><img class="aligncenter size-medium wp-image-624" title="chainandoiler" src="http://pyrocam.com/wp-content/uploads/2011/08/chainandoiler-300x225.jpg" alt="chain and base oiler in place" width="300" height="225" /></a>I was a little surprised at how sturdy it is. you would expect with wood, tape, bolts, threaded rod, and something that&#8217;s just wedged into the swing-arm to be quite fragile, but its pretty solid.</p>
<p>At the other end of the tube is an adapter I had made earlier for a standard soft drink bottle. I drilled a hole that was 1m too small and  used a small off cut of another tube to make the base. some hot glue to seal and then inserted the smaller tube. I didn&#8217;t have any hose clamps handy so used some 20 gauge wire to make my own clamp sort of thing. works well <img src='http://pyrocam.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/spriteconnector.jpg"><img class="aligncenter size-medium wp-image-625" title="spriteconnector" src="http://pyrocam.com/wp-content/uploads/2011/08/spriteconnector-300x289.jpg" alt="sprite zero connector" width="300" height="289" /></a></p>
<p>So now I have my oil input ready. for testing its just sitting in the pillion foot peg.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/tubeendspriteconnector.jpg"><img class="aligncenter size-medium wp-image-626" title="tubeendspriteconnector" src="http://pyrocam.com/wp-content/uploads/2011/08/tubeendspriteconnector-300x258.jpg" alt="oil input ready" width="300" height="258" /></a>Ideally I will have a small, thin, seal-able tube that has a screw thread on both ends that I can use to put the right amount of oil in, and maybe it has a gauge so I can see how fast its draining etc. but for now; the top of a sprite bottle will do.</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/fullsystemnooil.jpg"><img class="aligncenter size-medium wp-image-628" title="fullsystemnooil" src="http://pyrocam.com/wp-content/uploads/2011/08/fullsystemnooil-265x300.jpg" alt="ready to roll... and oil" width="265" height="300" /></a></p>
<p>So I put some oil in the &#8220;reservoir&#8221; and let it flow through. the tube thickness and oil viscosity control the rate at which oil gets onto the chain. and it was flowing through the tube at about 1cm per second, which was perfect. The oil goes through the rag and onto the chain as expected. I am a bit slow here, I was too busy taking pictures and musing to start rotating the wheel which is why that small drop is on the bottom. the idea is you pour the oil in and go for a ride around the street to drain it. Today I just tilted the bike on the stand and manually rolled the wheel, this worked just as well.<a href="http://pyrocam.com/wp-content/uploads/2011/08/oiliscoming.jpg"><img class="aligncenter size-medium wp-image-629" title="oiliscoming" src="http://pyrocam.com/wp-content/uploads/2011/08/oiliscoming-300x225.jpg" alt="oil through the chain" width="300" height="225" /></a></p>
<p>Full system off the bike (excluding reservoir)</p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/08/fullsystem.jpg"><img class="aligncenter size-medium wp-image-630" title="Full system" src="http://pyrocam.com/wp-content/uploads/2011/08/fullsystem-300x187.jpg" alt="full system off the bike " width="300" height="187" /></a></p>
<p>Overall, this was a resounding success. It does everything I wanted for very little cost (I had everything already) Its not too fragile, its not too bulky, and it actually works!</p>
<p>&nbsp;</p>
<p>Possible improvements</p>
<ul>
<li>I would like a better &#8216;wedge&#8217; system perhaps some sort of clamp that fits on the underside of the swingarm</li>
<li>I should remake it with a better material than wood</li>
<li>I need to build a better tube style reservoir</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://pyrocam.com/motorcycle-chain-oiling-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grass Cutter Mk II</title>
		<link>http://pyrocam.com/grass-cutter-mk-ii/</link>
		<comments>http://pyrocam.com/grass-cutter-mk-ii/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 20:36:35 +0000</pubDate>
		<dc:creator>pyrocam</dc:creator>
				<category><![CDATA[adjustment]]></category>
		<category><![CDATA[bolt]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[cutter]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Engine]]></category>
		<category><![CDATA[graminoid]]></category>
		<category><![CDATA[graminoids]]></category>
		<category><![CDATA[Grass]]></category>
		<category><![CDATA[grass cutter]]></category>
		<category><![CDATA[ground]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[Home Made]]></category>
		<category><![CDATA[knob]]></category>
		<category><![CDATA[lawn]]></category>
		<category><![CDATA[lawn mower]]></category>
		<category><![CDATA[mains]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[pole]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shaft]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[strimmer]]></category>
		<category><![CDATA[vibration]]></category>
		<category><![CDATA[weed]]></category>
		<category><![CDATA[weed strimmer]]></category>
		<category><![CDATA[weed wacker]]></category>
		<category><![CDATA[wheel]]></category>
		<category><![CDATA[Wood]]></category>

		<guid isPermaLink="false">http://pyrocam.com/?page_id=532</guid>
		<description><![CDATA[(&#60;- Part 1 ) I present to you, the Grass Cutter Mk II So a list of upgrades/changes A new handle, taped up to keep it safter and secure. inside this is a lightswitch embedded in the wood for off/on and the control board. &#160; &#160; A new adjustable angle handle, I can loosen the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">(<a href="http://pyrocam.com/graminoids-de-lengthener-mk-i/">&lt;- Part 1</a> )</p>
<p style="text-align: center;">I present to you, the Grass Cutter Mk II</p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/show.jpg"><img class="aligncenter size-full wp-image-533" title="show" src="http://pyrocam.com/wp-content/uploads/2011/03/show.jpg" alt="" width="600" height="770" /></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/top.jpg"><img class="aligncenter size-full wp-image-534" title="top" src="http://pyrocam.com/wp-content/uploads/2011/03/top.jpg" alt="" width="800" height="513" /></a></p>
<p style="text-align: center;">So a list of upgrades/changes</p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/handle1.jpg"><img class="aligncenter size-medium wp-image-535" title="handle1" src="http://pyrocam.com/wp-content/uploads/2011/03/handle1-300x280.jpg" alt="" width="300" height="280" /></a>A new handle, taped up to keep it safter and secure. inside this is a lightswitch embedded in the wood for off/on and the control board.</p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/handle2.jpg"> <img title="handle2" src="http://pyrocam.com/wp-content/uploads/2011/03/handle2-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/handle3.jpg"><img title="handle3" src="http://pyrocam.com/wp-content/uploads/2011/03/handle3-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/angle.jpg"><img class="aligncenter size-medium wp-image-538" title="angle" src="http://pyrocam.com/wp-content/uploads/2011/03/angle-300x204.jpg" alt="" width="300" height="204" /></a>A new adjustable angle handle, I can loosen the bolt and change the angle so if its not really comfortable where it is, I can change it.</p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/engine2.jpg"><img class="aligncenter size-full wp-image-539" title="engine" src="http://pyrocam.com/wp-content/uploads/2011/03/engine2.jpg" alt="" width="600" height="373" /></a>The engine is now parrallel to the ground, much more &#8216;mower-like&#8217; less &#8216;weed strimmer-like&#8217;.  Also I removed the rubber as it wasnt providing any vibration releif and was just making it smelly. The strimmer line (orange twine) is also attached in a more reliable way: I threaded it through a drilled hole in the shaft head, then tied a double knot on each side so it cant pass through either direction.<a href="http://pyrocam.com/wp-content/uploads/2011/03/height.jpg"></a></p>
<p style="text-align: center;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/height.jpg"><img class="aligncenter size-medium wp-image-540" title="height" src="http://pyrocam.com/wp-content/uploads/2011/03/height-232x300.jpg" alt="" width="232" height="300" /></a></p>
<p style="text-align: center;">And a new height setting/adjustment pole. there will be a wheel on here soon, I tried a couch floor knob but it doesnt slide very well. The point of this is to make it easier to push around rather than having to manually hold it at a certain height. although doesnt mean you cant flip it upside down and go manual if you want to do edges etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://pyrocam.com/grass-cutter-mk-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Graminoids De-lengthener Mk I</title>
		<link>http://pyrocam.com/graminoids-de-lengthener-mk-i/</link>
		<comments>http://pyrocam.com/graminoids-de-lengthener-mk-i/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 02:14:38 +0000</pubDate>
		<dc:creator>pyrocam</dc:creator>
				<category><![CDATA[adjustment]]></category>
		<category><![CDATA[bolt]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[cutter]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Engine]]></category>
		<category><![CDATA[graminoid]]></category>
		<category><![CDATA[graminoids]]></category>
		<category><![CDATA[Grass]]></category>
		<category><![CDATA[grass cutter]]></category>
		<category><![CDATA[ground]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[Home Made]]></category>
		<category><![CDATA[knob]]></category>
		<category><![CDATA[lawn]]></category>
		<category><![CDATA[lawn mower]]></category>
		<category><![CDATA[mains]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[pole]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shaft]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[strimmer]]></category>
		<category><![CDATA[vibration]]></category>
		<category><![CDATA[weed]]></category>
		<category><![CDATA[weed strimmer]]></category>
		<category><![CDATA[weed wacker]]></category>
		<category><![CDATA[wheel]]></category>
		<category><![CDATA[Wood]]></category>

		<guid isPermaLink="false">http://pyrocam.com/?page_id=515</guid>
		<description><![CDATA[(goto part 2 -&#62; ) I planted a lawn out the back of the property where the gardener couldnt get to without a key so I needed something to cut the grass. My lawn mower is a bit pre-occupied and my weed-wacker was wacked. So in the usual recycling manner I made my self the [...]]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://pyrocam.com/grass-cutter-mk-ii/">goto part 2 -&gt;</a> )</p>
<p>I planted a lawn out the back of the property where the gardener couldnt get to without a key so I needed something to cut the grass. <a href="http://pyrocam.com/modular-engine/">My lawn mower is a bit pre-occupied</a> and my weed-wacker was wacked. So in the usual recycling manner I made my self the</p>
<h1 style="text-align: center;">Graminoids De-lengthener Mk I<br />
<a href="http://pyrocam.com/wp-content/uploads/2011/03/wow.jpg"></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/wow.jpg"><img class="aligncenter size-large wp-image-516" title="wow" src="http://pyrocam.com/wp-content/uploads/2011/03/wow-1024x205.jpg" alt="" width="545" height="109" /></a></h1>
<p style="text-align: left;">Wow look at that, badly thrown together lense flare, a fluro background. This thing HAS to be awesome.</p>
<p style="text-align: left;">To be honest, the only reason I am calling it MK I  it because its rather hastily assembled and has some design uglies, I&#8217;ll probably never rebuild it because it works, and thats all I care about.</p>
<p style="text-align: left;">So I started with an old hand mixer/blender motor I had lying about, and thought about strapping it to a peice of wood, without anything else more suitable I made a sort of wooden vice with two threaded steel rods and 4 bolts. This worked really well!</p>
<p style="text-align: left;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/12032011.jpg"><img class="aligncenter size-medium wp-image-517" title="12032011" src="http://pyrocam.com/wp-content/uploads/2011/03/12032011-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/12032011001.jpg"><img class="aligncenter size-medium wp-image-518" title="12032011(001)" src="http://pyrocam.com/wp-content/uploads/2011/03/12032011001-300x225.jpg" alt="" width="300" height="225" /></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/12032011002.jpg"><img class="aligncenter size-medium wp-image-519" title="12032011(002)" src="http://pyrocam.com/wp-content/uploads/2011/03/12032011002-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: left;">I basically just nailed the control board onto the length of wood for now, holds fine, but I had to wire up a switch. In the interim I have some twine nailed to the board, going over the switch with another small peice of rubber, then round a nail and back to the top of the board for a lever.</p>
<p style="text-align: left;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/engine.jpg"><img class="aligncenter size-medium wp-image-520" title="engine" src="http://pyrocam.com/wp-content/uploads/2011/03/engine-224x300.jpg" alt="" width="224" height="300" /></a>I also attached some twine to the end of the engine so I could cut some grass. simple; effective.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><a href="http://pyrocam.com/wp-content/uploads/2011/03/design.jpg"><img class="aligncenter size-large wp-image-521" title="design" src="http://pyrocam.com/wp-content/uploads/2011/03/design-1024x260.jpg" alt="" width="604" height="153" /></a></p>
<p><a href="http://pyrocam.com/wp-content/uploads/2011/03/engine1.jpg"><img class="aligncenter size-medium wp-image-522" title="engine" src="http://pyrocam.com/wp-content/uploads/2011/03/engine1-224x300.jpg" alt="" width="224" height="300" /></a><a href="http://pyrocam.com/wp-content/uploads/2011/03/IMG_0924.jpg"><img class="aligncenter size-medium wp-image-523" title="IMG_0924" src="http://pyrocam.com/wp-content/uploads/2011/03/IMG_0924-300x224.jpg" alt="" width="300" height="224" /></a></p>
<p>bill of components</p>
<p>* engine: from a hand blender like: <a href="http://pyrocam.com/wp-content/uploads/2011/03/hand-blender-a.jpg"><img class="aligncenter size-thumbnail wp-image-527" title="hand-blender-a" src="http://pyrocam.com/wp-content/uploads/2011/03/hand-blender-a-150x150.jpg" alt="" width="150" height="150" /></a> * a bunch of wood I recycled out of an old couch.</p>
<p>* about a 1/4 of some threaded steel I bought a while back<br />
* a 6cm bolt for the lever<br />
* 5 bolts<br />
* cut mains cable I had left from another project.<br />
* some weed wacker twine for the controller and the cutting part.</p>
<p>&nbsp;</p>
<p>(<a href="../grass-cutter-mk-ii/">goto part 2 -&gt;</a> )</p>
]]></content:encoded>
			<wfw:commentRss>http://pyrocam.com/graminoids-de-lengthener-mk-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple PHP quiz</title>
		<link>http://pyrocam.com/simple-php-quiz/</link>
		<comments>http://pyrocam.com/simple-php-quiz/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 16:29:41 +0000</pubDate>
		<dc:creator>pyrocam</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[quiz]]></category>
		<category><![CDATA[radio buttons]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://pyrocam.com/?page_id=56</guid>
		<description><![CDATA[ContentsMake your own online quiz with PHP easilyMake your own online quiz with PHP easily Disclaimer: All care No Responsibility. you follow the instructions provided at your own risk. I take no responsibility any damage you may cause. Please read the article in full before starting I thought it would be fun to make a [...]]]></description>
			<content:encoded><![CDATA[<div class="mwm-aal-container"><div class='mwm-aal-title'>Contents</div><ol><li><a href="#Make+your+own+online+quiz+with+PHP+easily">Make your own online quiz with PHP easily</a></li></ol></div><a name="Make+your+own+online+quiz+with+PHP+easily"></a><h2><strong>Make your own online quiz with PHP easily</strong></h2>
<p><em>Disclaimer: All care No Responsibility. you follow the instructions provided at your own risk. I take no responsibility any damage you may cause. Please read the article in full before starting </em></p>
<p>I thought it would be fun to make a little quiz the other day and it  was pretty simple, so I thought I would share it.<br />
Basically, using post, if / else and some radio buttons you can make a  simple quiz that looks good and is pretty easy to create and update.<br />
the quiz runs in a single page, so first thing I do is to see if the  quiz has already been taken by checking a post variable specifically for  this purpose.</p>
<p><code>?php</code><code><br />
if($_POST['done'] != 1 )<br />
{</code><code>?;</code><br />
so now I know its not a completed quiz, so I start asking questions. for  the purpose of this I am going to only use 2 questions.<br />
I am going to open up a form, posting to the same page and then use  radio buttons to set individual variables which I have called opvar2 and  opvar1</p>
<p><code> form action="quiz.php" method="post" /;</code><code><br />
Do you use a terminal?</code><code><br />
input type="radio" name="opvar1" value="1"; Yes</code><code><br />
input type="radio" name="opvar1" value="0"; No</code></p>
<p><code><br />
how many domains do you manage?<br />
</code><code> input type="radio" name="opvar2" value="0"; I don't <img src='http://pyrocam.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </code><code><br />
input type="radio" name="opvar2" value="1"; 1</code><code><br />
input type="radio" name="opvar2" value="2"; 2</code><code><br />
input type="radio" name="opvar2" value="3"; 3</code><code><br />
input type="radio" name="opvar2" value="4"; 4</code><code><br />
input type="radio" name="opvar2" value="5"; 5 or more</code></p>
<p>OK so we have two variables opvar2 and opvar1 with corresponding values  eg, &#8217;2&#8242; and &#8217;4&#8242; we need to close this form off and give it a submit  button but we add in one more variable so we can identify whether or not  this page has been submitted or not.</p>
<p><code>input type="hidden" name="done" value="1"/;<br />
</code><code>input type="submit" value="Submit...."/;</code><br />
<code> /form;</code><br />
All the questions are primed and ready to go, pressing the submit button  will refresh the page posting the results to itself. So now we need to  look at that and do something with it!</p>
<p><code> ?php<br />
</code><code>} else {</code><br />
<code>$lopvar2=$_POST['opvar2'];</code><code><br />
$lopvar1=$_POST['opvar1'];</code></p>
<p><code>$total = $lopvar2 + $lopvar1;</code><code><br />
print $total;</code><code><br />
}</code><code><br />
?;</code><code> </code></p>
<p>So if the page is returning stuff in post, we go straight down to this  last ELSE statement, pickup the variables and add them, for now it just  posts them plainly but later I will demonstrate how to use a &#8216;if / else&#8217;  statement to get some nicer results!</p>
<p><a href="http://www.pyrocam.com/files/quiz.php">Here is the full quiz I  made</a></p>
<p><a href="http://www.pyrocam.com/files/quiz.txt">And its source code </a></p>
]]></content:encoded>
			<wfw:commentRss>http://pyrocam.com/simple-php-quiz/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Simple PHP webcomic code</title>
		<link>http://pyrocam.com/simple-php-webcomic-code/</link>
		<comments>http://pyrocam.com/simple-php-webcomic-code/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 16:29:02 +0000</pubDate>
		<dc:creator>pyrocam</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[comic titles]]></category>
		<category><![CDATA[comics]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[mysql database]]></category>
		<category><![CDATA[mysql query]]></category>
		<category><![CDATA[mysql table]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[webcomic]]></category>

		<guid isPermaLink="false">http://pyrocam.com/?page_id=54</guid>
		<description><![CDATA[Disclaimer: All care No Responsibility. you follow the instructions provided at your own risk. I take no responsibility any damage you may cause. Please read the article in full before starting I have worked on the Life of Riley comic code for a while and realised its a good base for anyone else to use [...]]]></description>
			<content:encoded><![CDATA[<p><em>Disclaimer: All care No Responsibility. you follow the instructions provided at your own risk. I take no responsibility any damage you may cause. Please read the article in full before starting </em></p>
<p>I have worked on the <a href="http://www.pyrocam.com/life-of-riley">Life  of Riley</a> comic code for a while and realised its a good base for  anyone else to use for their own webcomic. its really simple and should  be easy enough to modify to suit your webcomic with some simple HTML  stuff.</p>
<p><a href="http://sourceforge.net/projects/rscc/" target="_blank">Here it  is on sourceforge</a></p>
<p>Here it is to <a href="http://www.pyrocam.com/files/comic.php.txt">download  now</a></p>
<p>I have added on this version to include a basic mysql table to pull the  titles out since they were not printed on the images, I recommend you  print the comic titles (if you are naming them) on the images but if  thats not feasible then here is the additional code to pull from a mysql  database. it should be quite straightforward. I feed the request the  $titleid which comes from the URL eg /comic.php?strip=1<br />
<code> mysql_connect('<strong>localhost or mysql.yourdomain.com</strong>','<strong>yourusername</strong>','<strong>yourpassword</strong>');</code><code><br />
@mysql_select_db('<strong>databasename</strong>') or die( "err1");</code></p>
<p><code> $query="SELECT * FROM titles";</code><code><br />
$result=mysql_query($query); </code><code><br />
</code><code> $title=mysql_result($result,$titleid,"title");<br />
</code><code><br />
</code><code> mysql_close();</code></p>
<p>Here is an <a onclick="window.open('files/titles.sql.txt','title.sql','scrollbars=yes,resizable=yes,width=400,height=800,left='+(screen.availWidth/2-200)+',top='+(screen.availHeight/2-400)+'');return  false;" href="http://www.pyrocam.com/files/titles.sql.txt" target="_blank">SQL file of the table</a> to get you started</p>
<p>The only major flaw is currently you need to update the end # of the  comics if your comics list is dynamic, mine is static so it doesnt need  to change.  a simple way of doing this could be instead of</p>
<p><span style="text-decoration: underline;">comic.php</span></p>
<p><code>$lastcomic = "100";</code></p>
<p>create a new file called end.php which you update as you go</p>
<p><span style="text-decoration: underline;">comic.php<br />
</span><br />
<code>//</code><code>$lastcomic = "100"; commented out not useing this  anymore<br />
</code><code>@include end.php;</code></p>
<p><span style="text-decoration: underline;">end.php</span></p>
<p><code>$lastcomic = "616";</code></p>
<p>And now you can edit that end.php as you update. It would be much  smarter to use Mysql for this as it would be a really simple call to  find out the end but I wanted this comic to be flat and not to require  SQL</p>
]]></content:encoded>
			<wfw:commentRss>http://pyrocam.com/simple-php-webcomic-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

