<?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>George Papayiannis &#187; Projects</title>
	<atom:link href="http://www.sematopia.com/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sematopia.com</link>
	<description></description>
	<lastBuildDate>Sat, 01 May 2010 04:50:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hacking together a map on demand &#8211; Google Maps Pivot</title>
		<link>http://www.sematopia.com/2007/02/hacking-together-a-map-on-demand-google-maps-pivot/</link>
		<comments>http://www.sematopia.com/2007/02/hacking-together-a-map-on-demand-google-maps-pivot/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 23:22:32 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=165</guid>
		<description><![CDATA[The other day I wanted to plot multiple points on a map and have them pivot around a center.  Above that, I wanted the distance from a specified center.  I quickly looked around, couldn&#8217;t find one, so I hacked one together using the Google Maps API.  An hour later, I had a [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I wanted to plot multiple points on a map and have them pivot around a center.  Above that, I wanted the distance from a specified center.  I quickly looked around, couldn&#8217;t find one, so I hacked one together using the <a href="http://www.google.com/apis/maps/">Google Maps API</a>.  An hour later, I had a simple app I&#8217;m <a href="http://www.sematopia.com/maps">calling Pivot</a> (cause that&#8217;s what it does).  The only thing that took a while was realizing the Maps API had an <em>approximate</em> distance calculator built in &#8211; it works well for short distances.</p>
<p>The <a href="http://groups.google.com/group/Google-Maps-API">Google Group for Maps</a> is great, lots of information and the <a href="http://www.google.com/apis/maps/documentation/">API docs</a> are detailed.</p>
<p>Below is a screen shot.  If you need it, give it <a href="http://www.sematopia.com/maps">a shot</a>.</p>
<p><img src="http://farm1.static.flickr.com/137/379852110_a005f7f2bd_o.jpg" alt="Google Maps Pivot" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2007/02/hacking-together-a-map-on-demand-google-maps-pivot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis Design Project: Robot Videos on Google Video</title>
		<link>http://www.sematopia.com/2006/07/thesis-design-project-robot-videos-on-google-video/</link>
		<comments>http://www.sematopia.com/2006/07/thesis-design-project-robot-videos-on-google-video/#comments</comments>
		<pubDate>Mon, 03 Jul 2006 01:58:25 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[McMaster]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=108</guid>
		<description><![CDATA[This is the last thing I do for this project.  It&#8217;s been fun, we made a great product, but this is it.  I put the 3 robot videos on Google Video, take a look if you like.  The first video is rescuing 3 victims (eggs), the second video is blockage clearing, and [...]]]></description>
			<content:encoded><![CDATA[<p>This is the last thing I do for this project.  It&#8217;s been fun, we made a great product, but this is it.  I put the 3 robot videos on Google Video, take a look if you like.  The first video is rescuing 3 victims (eggs), the second video is blockage clearing, and the third video is security camera footage of the Gates&#8217; rescue.  You can read more about the project <a href="http://www.sematopia.com/?p=65">here</a>.</p>
<p><embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=5245213555938192458" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed><br />
<br />
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-4742794126161915526" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed><br />
<br />
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-6840946924303743744" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/07/thesis-design-project-robot-videos-on-google-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apriori Online &#8211; Mining for Associations</title>
		<link>http://www.sematopia.com/2006/04/apriori-online/</link>
		<comments>http://www.sematopia.com/2006/04/apriori-online/#comments</comments>
		<pubDate>Thu, 06 Apr 2006 01:24:40 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[McMaster]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=70</guid>
		<description><![CDATA[Why are associations interesting?  For the same reason data mining in general is interesting &#8211; you can learn things you would have never thought of.  Take Shoppers Drug Mart as an example, don&#8217;t quote me on this, but I bet when you buy a bulk of goods (and swipe you Shoppers Optimum Card) [...]]]></description>
			<content:encoded><![CDATA[<p>Why are associations interesting?  For the same reason data mining in general is interesting &#8211; you can learn things you would have never thought of.  Take Shoppers Drug Mart as an example, don&#8217;t quote me on this, but I bet when you buy a bulk of goods (and swipe you Shoppers Optimum Card) some database is registering your personal information (age, sex, location, etc.) and everything you purchased (Tylenol, Kleenex, gum, etc..).</p>
<p>With high confidence (no Apriori pun indented) I can say that periodically Shoppers Drug Mart mines that data for interesting association, like perhaps:</p>
<p>- Males between the ages of 25 and 45, between the hours of 7:00pm to 12:00am purchase toilet paper and Mach 3 razors.</p>
<p>What would Shoppers do?  In the evenings they would set up and isle display of expensive toilet paper.  At the front of that isle (as the customer is walking to the cashier) they would set up another display of Mach 3 razors…10 packs.  They&#8217;ll do this because they&#8217;ve found associations, which tell them with high confidence; males will purchase these two items together.</p>
<p>For a data mining project this past semester, one of the deliverables we created was a web based version the <a href="http://apriori.sematopia.com">Apriori algorithm</a>.  The algorithm was initially developed by Agrawal et al (Agrawal 93, Agrawal 94) and is used to find association rules from a dataset.  This online version of the Apriori algorithm is based off an implementation by <a href="http://fuzzy.cs.uni-magdeburg.de/~borgelt/apriori.html">Christian Borgelt&#8217;s</a>.</p>
<p>The URL is <a href="http://apriori.sematopia.com">http://apriori.sematopia.com</a>.  Aside from simply executing the Apriori implementation by Christian, the web-based application does a series of pre-processing on the data.  To begin, all missing values in a given numeric column are filled in with the average of that attribute.  Then categorization occurs on all numeric attributes to place each column value in a bin.  This is based off of the Category Granularity (how many categories to make in a given column) and the Categorization Threshold (if the number of unique values in the column are < this number, then categorization will not be performed).  There are many options (besides Category Granularity &#038; Categorization Threshold) available that can be set to adjust the results Apriori returns; these include the max/min support, the min confidence, min sets per rules, etc.</p>
<p>The file uploaded must be in CSV format with the first row as headings, and each subsequent row being observations.  The max file size that can be uploaded is 200,000 bytes.  After the algorithm finishes (which should take less than 3 seconds) the first 100 association rules will be shown.  You can download the full output from the website.</p>
<p>The associations produced will look like this:</p>
<p>verbal_sat=c3_g7(442,469) <- math_sat=c2_g7(500,530) act=c4_g6(21,23)  (36.1, 93.0)</p>
<p>c3 means column 3<br />
g7(442,469) means group (bin) 7 were this specific bin was between 442 and 469<br />
(36.1, 93.0) at the end of each rule, the support and confidence is given</p>
<p>Each IP address will be allowed to run 5 datasets per day.<br />
Good luck, happy mining.<br />
<a href="http://apriori.sematopia.com"> http://apriori.sematopia.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/04/apriori-online/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Thesis Design Project: Robot Java Code</title>
		<link>http://www.sematopia.com/2006/04/thesis-design-project-robot-java-code/</link>
		<comments>http://www.sematopia.com/2006/04/thesis-design-project-robot-java-code/#comments</comments>
		<pubDate>Tue, 04 Apr 2006 05:19:46 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=69</guid>
		<description><![CDATA[One of my main jobs when working on this project, was to write the code which would control the Robot.
The code is written in Java as our Robot&#8217;s OS was leJOS.
Features of the code include:

A single control loop (as opposed to multiple threads and listeners)
A great &#8217;stay straight&#8217; algorithm which keeps the robot centered in [...]]]></description>
			<content:encoded><![CDATA[<p>One of my main jobs when working on this project, was to write the code which would control the Robot.<br />
The code is written in Java as our Robot&#8217;s OS was <a href="http://lejos.sourceforge.net/">leJOS</a>.</p>
<p>Features of the code include:</p>
<ul>
<li>A single control loop (as opposed to multiple threads and listeners)</li>
<li>A great &#8217;stay straight&#8217; algorithm which keeps the robot centered in the network, through 2 light sensors</li>
<li>Transmission to and from the host component for tasks and logging information</li>
<li>A task driven control structure</li>
</ul>
<p>You can download the <a href="http://www.sematopia.com/upload/final_rcx.java">code here</a>.  To learn more about our final product <a href="http://www.sematopia.com/?p=65">go here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/04/thesis-design-project-robot-java-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis Design Project: Robot Pictures</title>
		<link>http://www.sematopia.com/2006/03/thesis-design-project-robot-pictures/</link>
		<comments>http://www.sematopia.com/2006/03/thesis-design-project-robot-pictures/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 05:56:38 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Coffee]]></category>
		<category><![CDATA[McMaster]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=68</guid>
		<description><![CDATA[A colleague and I took a few final photos of our robot today.
You can read more about our final product here.
Update: Proof of Concept 3 pictures can be seen here.
Update: Proof of Concept 2 pictures can be seen here.
Update: Read about the final product here.
Update: Videos of the robot can be seen here.

Robot Pic1 &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>A colleague and I took a few final photos of our robot today.<br />
You can read more about our <a href="http://www.sematopia.com/?p=65">final product here</a>.</p>
<p><strong>Update</strong>: Proof of Concept 3 pictures can be <a href="http://www.sematopia.com/?p=58">seen here</a>.<br />
<strong>Update:</strong> Proof of Concept 2 pictures can be <a href="http://www.sematopia.com/?p=41">seen here</a>.<br />
<strong>Update:</strong> Read about the final product <a href="http://www.sematopia.com/?p=65">here</a>.<br />
<strong>Update:</strong> Videos of the robot can be seen <a href="http://www.sematopia.com/?p=108">here</a>.</p>
<p><img src="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_1_show.jpg" /></p>
<p><a href="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_1.jpg">Robot Pic1</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_2.jpg">Robot Pic2</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_3.jpg">Robot Pic3</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_4.jpg">Robot Pic4</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/rcx_robot_5.jpg">Robot Pic5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/03/thesis-design-project-robot-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thesis Design Project: Done</title>
		<link>http://www.sematopia.com/2006/03/thesis-design-project-done/</link>
		<comments>http://www.sematopia.com/2006/03/thesis-design-project-done/#comments</comments>
		<pubDate>Thu, 23 Mar 2006 03:56:48 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Coffee]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[McMaster]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=65</guid>
		<description><![CDATA[This past Sunday was the final competition to the IBM judges for my team&#8217;s thesis design project.  The project consisted of making an autonomous robot (out of Lego) that would go into a network, and rescue hallow eggs.
There were 2 parts to the project.  The first is the graphical user interface, which uses [...]]]></description>
			<content:encoded><![CDATA[<p>This past Sunday was the final competition to the IBM judges for my team&#8217;s thesis design project.  The project consisted of making an autonomous robot (out of Lego) that would go into a network, and rescue hallow eggs.</p>
<p>There were 2 parts to the project.  The first is the graphical user interface, which uses a map of the network to determine execution paths, trasmit/receive with the robot, etc.  The second part is designing the actual robot.  Both components had a lot of effort put into them, and collectively we are very proud of the final product.</p>
<p>Our company name was MBI (MicroBot Initiative) and the product name was nexSAR (Next Generation Search and Rescue).  Highlights of the finished product?</p>
<ul>
<li>Capable of rescuing 3 eggs in under 25 seconds (using the network provided).</li>
<li>Custom designed &#8217;stay straight&#8217; algorithm, which polls light sensors to remain centered in the hallway.</li>
<li>Upon exiting the network, the robot uploads its log, and the GUI creates a VRML (3D) log re-enactment.  This is complete with victim voices, which get louder as the robot nears.</li>
<li>Ubuntu Live CD.  Just put the CD in the CD drive, reboot, and all the software you need is ready to go.  We have a live CD for both PowerPC and for Intel.</li>
<li>USB Rescue Key.  Capable of booting to DSL (Damn Small Linux) straight from a USB drive.  This also has all the software pre-loaded and ready to go.</li>
<li>Complete GUI with map editor and path generation.</li>
</ul>
<p>Here are the <a href="http://www.sematopia.com/upload/nexSAR.ppt">slides</a> that we used in our final presentation.<br />
The slides use 3 videos of the Robot in action &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/video_1.dv">Video1</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/video_2.dv">Video2</a> &#8211; <a href="http://www.sematopia.com/wp-content/uploads/thesis/video_3.MOV">Video3</a> &#8211; (sorry 2 of the videos are large ~50mb).</p>
<p><strong>Update: </strong>Final photos of the Robot (taken March 28/06) can be <a href="http://www.sematopia.com/?p=68">seen here</a>.<br />
<strong>Update:</strong> The Robot Java code can be <a href="http://www.sematopia.com/?p=69">downloaded here</a> (April 4/06).<br />
<strong>Update: </strong>The videos above have been uploaded to Google Video, you can see them <a href="http://www.sematopia.com/?p=108">here</a> (July 2/06).</p>
<p>Here is a screen shot of the GUI:</p>
<p><img src="http://www.sematopia.com/wp-content/uploads/thesis/gui.jpg" /></p>
<p>Here is a screen shot of the VRML log re-enactment:</p>
<p><img src="http://www.sematopia.com/wp-content/uploads/thesis/vrml_log.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/03/thesis-design-project-done/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://www.sematopia.com/wp-content/uploads/thesis/video_2.dv" length="63360000" type="video/dv" />
<enclosure url="http://www.sematopia.com/wp-content/uploads/thesis/video_1.dv" length="57360000" type="video/dv" />
<enclosure url="http://www.sematopia.com/wp-content/uploads/thesis/video_3.MOV" length="2148100" type="video/quicktime" />
		</item>
		<item>
		<title>How to: Apache logging using name-based virtual hosts</title>
		<link>http://www.sematopia.com/2006/02/how-to-apache-logging-using-name-based-virtual-hosts/</link>
		<comments>http://www.sematopia.com/2006/02/how-to-apache-logging-using-name-based-virtual-hosts/#comments</comments>
		<pubDate>Sun, 26 Feb 2006 05:25:50 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=62</guid>
		<description><![CDATA[I spent a bit of time today getting logging to work correctly on my server. The server is using name-based virtual hosts, so getting logging set up was going to take an extra step. The first thing was to add another LogFormat line in the apache2.conf file which would use the comonvhost option.

Code:


LogFormat “%v %h [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a bit of time today getting logging to work correctly on my server. The server is using name-based virtual hosts, so getting logging set up was going to take an extra step. The first thing was to add another LogFormat line in the apache2.conf file which would use the comonvhost option.</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>LogFormat “%v %h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”" comonvhost
LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”" combined
LogFormat “%h %l %u %t \”%r\” %>s %b” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent</pre>
</div>
<p></code></div>
</div>
<p>Adding this LogFormat line, lets Apache distinguish between the various virtual hosts when logging. To learn more about what the options mean (i.e. %u, etc.) you can look here. Each virtual host was given its own log file, so in the VirtualHost directive, the following line was added using CustomLog:</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>ServerName www.sematopia.com
DocumentRoot /var/www/sematopia.com
ServerAlias sematopia.com *.sematopia.com sematopia.net *.sematopia.net
CustomLog /var/log/apache2/sematopia/access.log comonvhost</pre>
</div>
<p></code></div>
</div>
<p>Then for all other VirtualHost directives, a similar line was added. Once that’s done, delete or move the old logs in /var/log/apache2. Then run:</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>apache2 –k restart</pre>
</div>
<p></code></div>
</div>
<p>to restart Apache. Remember, any time you delete your log files or change your apache2.conf file restart apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/02/how-to-apache-logging-using-name-based-virtual-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML Mail &#8211; Batch sending and easy logging</title>
		<link>http://www.sematopia.com/2006/02/xml-mail-batch-sending-and-easy-logging/</link>
		<comments>http://www.sematopia.com/2006/02/xml-mail-batch-sending-and-easy-logging/#comments</comments>
		<pubDate>Fri, 10 Feb 2006 00:53:43 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=60</guid>
		<description><![CDATA[I ended up purchasing a relay service from Nettica.com, so this batch emailing idea is not going to be of much use to me. In any case, I think its a pretty good way to control emails. If your site sends many emails per day, then a batch email setup might be a good option.
Using [...]]]></description>
			<content:encoded><![CDATA[<p>I ended up purchasing a relay service from Nettica.com, so this <a title="XML Batch Email" href="http://www.sematopia.com/?p=52">batch emailing idea</a> is not going to be of much use to me. In any case, I think its a pretty good way to control emails. If your site sends many emails per day, then a batch email setup might be a good option.</p>
<p>Using a batch emailing method, first off, allows for an inherent logging ability built into the process. Every time the application wants to send an email, it would write the email (XML) to send.xml. Periodically, from an internal or external server, the send.xml file is processed, and then automatically backed up. This can be extended to eventually gzip the XML files, etc.</p>
<p>Secondly, if your site sends many emails, you may not want to consume resources (in real-time) sending them on demand. Instead, sending all emails every say 5 minutes, could possibly improve server performance.</p>
<p>A typical example code would be:</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>$mailObj = new xmlMail();
$mailObj->getHandle();
$mailObj->writeEmail($to,$cc,$bcc,$from,$from,$subject,$body);
$mailObj->closeHandle();</pre>
</div>
<p></code></div>
</div>
<p>See the <a title="Batch XML Mail" href="http://www.sematopia.com/wp-content/uploads/2006/02/xmlMail.php.txt">PHP Class here</a> for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/02/xml-mail-batch-sending-and-easy-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Project: POC 3</title>
		<link>http://www.sematopia.com/2006/02/design-project-poc-3/</link>
		<comments>http://www.sematopia.com/2006/02/design-project-poc-3/#comments</comments>
		<pubDate>Wed, 08 Feb 2006 06:10:29 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[McMaster]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=58</guid>
		<description><![CDATA[We&#8217;ve come a long way from the last design of our robot.  We have a bunch of ideas on the go, and I have some algorithms in the works about keeping the robot centered in the hallway network.  We have our third proof of concept Friday.  For this, we have to upload [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">We&#8217;ve come a long way from the last design of our robot.  We have a bunch of ideas on the go, and I have some algorithms in the works about keeping the robot centered in the hallway network.  We have our third proof of concept Friday.  For this, we have to upload a map, make a turn, rescue an egg and exit successfully.  Here are some pics of our current design (taken on from my cell phone, so not great resolution).</p>
<p><img id="image57" alt="poc3_3.jpeg" src="http://www.sematopia.com/wp-content/uploads/2006/02/poc3_3.jpeg" /></p>
<p><img id="image56" alt="poc3_2.jpeg" src="http://www.sematopia.com/wp-content/uploads/2006/02/poc3_2.jpeg" /></p>
<p><img id="image55" alt="poc3_1.jpeg" src="http://www.sematopia.com/wp-content/uploads/2006/02/poc3_1.jpeg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/02/design-project-poc-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to: Easily parse XML with PHP</title>
		<link>http://www.sematopia.com/2006/01/how-to-easily-parse-xml-with-php/</link>
		<comments>http://www.sematopia.com/2006/01/how-to-easily-parse-xml-with-php/#comments</comments>
		<pubDate>Mon, 30 Jan 2006 06:19:48 +0000</pubDate>
		<dc:creator>George A. Papayiannis</dc:creator>
				<category><![CDATA[PHP/MySQL]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.sematopia.com/?p=54</guid>
		<description><![CDATA[There are so many packages and scripts online to help a person parse XML.  Unless your parsing some insanely complex files, there is no need.  Its as easy as this:]]></description>
			<content:encoded><![CDATA[<p>There are so many packages and scripts online to help a person parse XML.  Unless your parsing some insanely complex files, there is no need.  Its as easy as this:</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code>
<div class='pre_container'>
<pre>$batch = new DOMDocument();
$batch->load($this->webPath);
$emails = $batch->getElementsByTagName("email");
foreach( $emails as $email ) {
  $to = $email->getElementsByTagName("to")->item(0)->nodeValue;
  $cc = $email->getElementsByTagName("cc")->item(0)->nodeValue;
  $bcc = $email->getElementsByTagName("bcc")->item(0)->nodeValue;
  $from = $email->getElementsByTagName("from")->item(0)->nodeValue;
  $subject = $email->getElementsByTagName("subject")->item(0)->nodeValue;
  $body = $email->getElementsByTagName("body")->item(0)->nodeValue;
}</pre>
</div>
<p></code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sematopia.com/2006/01/how-to-easily-parse-xml-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
