<?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>geedew :: Web Design, Programming, Professionalism &#187; Misc</title>
	<atom:link href="http://www.geedew.com/category/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geedew.com</link>
	<description>Web Design, Web Programming, Programming on Linux, CSS, JavaScript, PHP, HTML5</description>
	<lastBuildDate>Thu, 22 Jul 2010 16:26:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>The new Digg, V4: Quick Review</title>
		<link>http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/</link>
		<comments>http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 03:21:12 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.geedew.com/?p=237</guid>
		<description><![CDATA[I&#8217;m a reader of Digg.com. What can I say? I like to hear the quirky stories sometimes and when I come across something intelligent, it makes me feel more like I&#8217;m learning. So when the new Digg was dropped into Beta testing, you bet that I was all over that. See some screen-shots after the [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>I&#8217;m a reader of Digg.com.  What can I say? I like to hear the quirky stories sometimes and when I come across something intelligent, it makes me feel more like I&#8217;m learning.  So when the new Digg was dropped into Beta testing, you bet that I was all over that.  See some screen-shots after the jump.<span id="more-237"></span></p>
<p><b>Logging In</b><br />
<hr />
The new Digg can be viewed by going to <a href="http://new.digg.com">http://new.digg.com</a> which drops you into a pretty nice looking log in screen.<br />

<a href='http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/login/' title='Login Compared to the Old Digg'><img width="75" height="75" src="http://cdn.geedew.com/wp-content/uploads/2010/07/Login-75x75.png" class="attachment-thumbnail" alt="New login on the left, Old Digg on the right." title="Login Compared to the Old Digg" /></a>
<a href='http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/connections/' title='Connections'><img width="75" height="75" src="http://cdn.geedew.com/wp-content/uploads/2010/07/Connections-75x75.png" class="attachment-thumbnail" alt="This shows the Digg setup page for connections" title="Connections" /></a>
<a href='http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/loadmorebug/' title='LoadMoreBug'><img width="75" height="75" src="http://cdn.geedew.com/wp-content/uploads/2010/07/LoadMoreBug-75x75.png" class="attachment-thumbnail" alt="Bug that shows up when loading too many" title="LoadMoreBug" /></a>
<a href='http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/digg4home/' title='Digg4Home'><img width="75" height="75" src="http://cdn.geedew.com/wp-content/uploads/2010/07/Digg4Home-75x75.png" class="attachment-thumbnail" alt="Current versus New Digg" title="Digg4Home" /></a>
</p>
<p><b>Connecting</b><br />
<hr />
The first time you log in, it has a really easy to follow setup that asks some basic questions for you to connect to other social sites.  I connected them all; Twitter,Google and Facebook. </p>
<p>Apparently not a single friend of mine is currently using Digg V4, no surprise there!</p>
<p><b>Usage</b><br />
<hr />
Digg is setting itself up in a very good way.  They are re-inventing themselves with this idea.  Before, you could only get Diggs via categories like Top Ten, Technology, etc. or you could find users and view the Diggs that they Dugg.  But now, it is being setup so that you control your Digg feed, according to those users that you Digg.  In which you can then Digg items up.  So from now on Digg will be able to suggest to you, only the items that you really would like to see (mrbabyman all the way!).</p>
<p><b>Bugs</b><br />
<hr />
I did however encounter a bug, to which I filed a report.  If you try to load more items than there are currently in the system, you get an error stating that there are no more items, but the loading never quits and still shows up as a click-able link.  So there are still some kinks to work out, but I for one think this is a great way to stay ahead of the rest!</p>
<p>&#8211; Update &#8211;<br />
Another bug was discovered. When clicking to add a link to your account (like adding my website to mine), if you press <enter> after typing in your web address, the form does not submit.  Instead the page refreshes and you lose your previous entry you typed in.  The only way to submit the form it to actually click the button.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2010/07/20/the-new-digg-v4-quick-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost Answer and How it Happened.</title>
		<link>http://www.geedew.com/2010/05/23/lost-answer-and-how-it-happened/</link>
		<comments>http://www.geedew.com/2010/05/23/lost-answer-and-how-it-happened/#comments</comments>
		<pubDate>Mon, 24 May 2010 03:59:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.geedew.com/2010/05/23/lost-answer-and-how-it-happened/</guid>
		<description><![CDATA[First, no they did not die in the plane crash. You can cue that into the statement by Hurley at the end, something to Ben of you were a great number two, etc. They lived, the island WAS just what Jacob said it was, it mattered. It was the &#8216;plug&#8217; in &#8216;hell&#8217; and if the [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>First, no they did not die in the plane crash.  You can cue that into the statement by Hurley at the end, something to Ben of you were a great number two, etc.  They lived, the island WAS just what Jacob said it was, it mattered.  It was the &#8216;plug&#8217; in &#8216;hell&#8217; and if the light were removed, the &#8216;plug&#8217; would come unstuck and the real world would cease to exist.  However, they each had such a profound effect on each other on the island, they waited for each other in their &#8216;flash sideways&#8217; world, which was just an imagination of reality until they moved on.  Kate, Sawyer, and the rest on the plane did get off the island and lead their new lives.  Sure there are questions&#8230; like Aaron&#8230; never &#8216;born&#8217;.  Walt, who is so special, and has no father or mother now.  The list could go on. But, I think it somewhat makes more sense now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2010/05/23/lost-answer-and-how-it-happened/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usability and a Simple JavaScript hovering menu</title>
		<link>http://www.geedew.com/2009/12/05/usability-and-a-simple-javascript-hovering-menu/</link>
		<comments>http://www.geedew.com/2009/12/05/usability-and-a-simple-javascript-hovering-menu/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 02:20:11 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://geedew.com/blog/?p=53</guid>
		<description><![CDATA[Many web developers ask &#8216;what is usability?&#8217;.  This is one of those topics that I can explain, but it may be easier to demonstrate. My this experiences have led to some principles; one of them is that if I&#8217;m going to build it, it must be usable.   Unfortunately, many sites that I like, that tout [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>Many web developers ask &#8216;what is usability?&#8217;.  This is one of those topics that I can explain, but it may be easier to demonstrate. My this experiences have led to some principles; one of them is that if I&#8217;m going to build it, it must be usable.   Unfortunately, many sites that I like, that tout usability, screw up one important concept that annoys me greatly.</p>
<p>I ask myself, &#8220;when using a menu, why do I have to drag my mouse from one button to the next, and fear losing the menu if I cross it&#8217;s border anywhere?&#8221;  Some menus are just annoying because they disappear mid mouse move, some are extremely hard to use because of several layers of menus, some I have resorted to using `tabs` to get to the correct menu item.  It&#8217;s unfortunate that people can&#8217;t get this right.<br />
<span id="more-53"></span><br />
I have a simple fix that hopefully sharing it will help others.  It&#8217;s basically a menu that buffers the time you are hovering, that way if you mistakenly move your mouse into the wrong area, you have a brief period of time to correct yourself.</p>
<h2>Start with the HTML code:</h2>
<pre class="brush: xml;">
&lt;ul id=&quot;menu&quot;&gt;
	&lt;li class=&quot;nav&quot;&gt;&lt;a&gt;&lt;span&gt;ONE&lt;/span&gt;&lt;/a&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;one&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;two&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;three&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;four&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a&gt;&lt;span&gt;TWO&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;nav&quot;&gt;&lt;a&gt;&lt;span&gt;THREE&lt;/span&gt;&lt;/a&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;one&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;two&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;three&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;four&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li class=&quot;nav&quot;&gt;&lt;a&gt;&lt;span&gt;FOUR&lt;/span&gt;&lt;/a&gt;
	&lt;ul&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;one&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;two&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;three&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a&gt;&lt;span&gt;four&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>The menu is a simple list within a list.  There are essentially only four main list items; ONE, TWO, THREE and FOUR.  Each of this list items has their own list of list items generically named one, two, three and four.  I personally stick with lists as my menu&#8217;s of choice because they degrade gracefully in case of CSS/JavaScript issues.</p>
<p>This list by itself isn&#8217;t much, in fact it&#8217;s not even a menu. CSS will be needed to really make it work correctly.</p>
<pre class="brush: css;">

#menu li {
	list-style:none;
	float:right; /* Makes IE 6,7,8 act like FF */
	position: relative;}
#menu li a {
	display:block;
	width: 160px;
	height:35px;
	margin-top: 5px;}
#menu li a span{
	padding-left:10px;
	line-height:2.8em;
	color: #000000;
	font-weight:700;}
#menu li a:hover {
	font-weight:bold;}

#menu li ul li a:hover span{ color: #222222; }

	#menu li ul {
		margin:0px;
		position:absolute;
		left: 160px;
		top:-90px;}
	#menu li ul li {
		padding:0px;
		border:0px;
		border-collapse:collapse;
		margin:0px;
		height:34px;}
	#menu li ul li a{ margin:0px;padding:0px;border:0px;}
	#menu li ul li a span{
		display:block;
		padding-top:7px;
		font-weight:100;
		line-height:1em;
		font-size: 83%;}
</pre>
<p>This is some simple CSS that will make the UL/LI lists to really act like lists.  Now the only issue is that you need it to act like a list. So the final piece of code to this puzzle is to add some JavaScript.  I am using the jQuery library as my choice for creating this script, so it&#8217;s necessary to have that package (1.3+) installed for this to work. You can drop this script into the footer element inside of &#8216;script&#8217; tags so it will run.  It will run automatically on page load.</p>
<pre class="brush: jscript;">
$(document).ready(function() {
	/* Setup the Menu */
	$(&quot;#menu &gt; li &gt; ul&quot;).hide();

	$(&quot;#menu li.nav&quot;).hover(
		/* on mouseover */
		function(e) {
			hoverMenu = this;
			if(this == closingMenu) {
				clearTimeout(closeMenu);
				clearTimeout(openMenu);
				$(this).find(&quot;ul:first&quot;).show(&quot;fast&quot;);
			} else {
				var newMenuOpen = function() {
					$(hoverMenu).siblings(&quot;.nav&quot;).find(&quot;ul:first&quot;).hide();
					$(hoverMenu).find(&quot;ul:first&quot;).show(&quot;fast&quot;);
				}
				openMenu = setTimeout(newMenuOpen, 500);
			}

		},
		/* on mouseout */
		function(e) {
			closingMenu = this;
			var closeMenu = function() {
				$(closingMenu).find(&quot;ul:first&quot;).fadeOut(&quot;fast&quot;);
			}
			closeMenu = setTimeout(closeMenu, 500);
		}
	);
});
</pre>
<p> The final product is quite a nice and simple dynamic menu that adds just the right touch of usability.  Now, typically, I would never say that a menu with sub menus popping up everywhere is something of a usability menu system, it&#8217;s not.  But sometimes, a nice menu like this is needed, especially if there is a lot of information and &#8216;drill downs&#8217; that need to be accessed quickly.  In any case, you can see my <a href="http://www.geedew.com/projects/easyMenu/index.html">demo</a> here.  Leave some comments if you have any questions, and enjoy! You can also see a fully implemented version at <a href="http://x-sqared.com">Xcessorries Squared.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2009/12/05/usability-and-a-simple-javascript-hovering-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slowly and surely</title>
		<link>http://www.geedew.com/2009/07/11/slowly-and-surely/</link>
		<comments>http://www.geedew.com/2009/07/11/slowly-and-surely/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 05:32:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[geedew]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[upgrading]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://www.geedew.com/2009/07/11/slowly-and-surely/</guid>
		<description><![CDATA[I&#8217;m slowly but surely getting this site up and running to where I want it to be. Please leave feedback if you are having any issues with it. I may be having an announcement soon about a new JavaScript Framework I&#8217;m working on that relies on other open sourced tools like jQuery. Also, quite a [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>I&#8217;m slowly but surely getting this site up and running to where I want it to be.  Please leave feedback if you are having any issues with it.  I may be having an announcement soon about a new JavaScript Framework I&#8217;m working on that relies on other open sourced tools like jQuery.  Also, quite a few other things in the works, like a usable hovering menu that I made.  In any case, enjoy the site as I construct it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2009/07/11/slowly-and-surely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing jSuite!</title>
		<link>http://www.geedew.com/2009/01/18/announcing-jsuite/</link>
		<comments>http://www.geedew.com/2009/01/18/announcing-jsuite/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 18:39:29 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://geedew.com/blog?p=28</guid>
		<description><![CDATA[Ok, so over the past few months I have been working on a nice little package that I am calling jSuite.  jSuite is a JavaScript library that utilizes much of the the jQuery UI platform.  But it takes it one step further.  It is also using some YUI CSS files for resetting, fonts, etc.  Not [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>Ok, so over the past few months I have been working on a nice little package that I am calling jSuite.  jSuite is a JavaScript library that utilizes much of the the jQuery UI platform.  But it takes it one step further.  It is also using some YUI CSS files for resetting, fonts, etc.  Not just that it drops in the 960.css grid for the overall layout of the page.  And to make matters better, it has a PNG fix built in for IE 6.  And if you think that is just too much&#8230; it also has a built in debugger that uses firebug.  But wait, it has a standalone firebug installation that allows it to work on IE6 and IE7!  So you can use the debugger like you would in firebug to see the console, but in IE.  There is much to do with it, but it&#8217;s pretty stable.  I don&#8217;t have all of my notes ready for the site and documentation, but for early grabs check here&#8230;</p>
<p>http://wiki.github.com/geedew/jsuite</p>
<p>The code is all up and should be working&#8230; there is a test.html that I am turning into a full working demo.  Much work is still in the works with it, and I have to upgrade to jQuery 1.3 now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2009/01/18/announcing-jsuite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bamboo Gone Wild: TiddlyWiki Theme</title>
		<link>http://www.geedew.com/2009/01/08/bamboo-gone-wild-tiddlywiki-theme/</link>
		<comments>http://www.geedew.com/2009/01/08/bamboo-gone-wild-tiddlywiki-theme/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 06:30:10 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://geedew.com/?p=27</guid>
		<description><![CDATA[I wanted to post this for others, since I really liked making it for my personal use. I am sure many others will like it too! Of course you can Download it here!]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>I wanted to post this for others, since I really liked making it for my personal use. I am sure many others will like it too!</p>
<p><img style="border: 5px solid black; margin-top: 20px; margin-bottom: 20px;" src="http://www.geedew.com/blog/Screenshot.png" alt="A nice Screenshot of a Tiddly Wiki Theme called Bamboo Gone Wild" width="600" height="480" /></p>
<p>Of course you can Download it <a title="Bamboo Gone Wild" href="http://www.geedew.com/blog/tiddly/bamboowild.html" target="_blank">here</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2009/01/08/bamboo-gone-wild-tiddlywiki-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspiring the Future: a look on Life as we will know it.</title>
		<link>http://www.geedew.com/2008/06/27/inspiring-the-future/</link>
		<comments>http://www.geedew.com/2008/06/27/inspiring-the-future/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 13:10:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">http://geedew.com/?p=20</guid>
		<description><![CDATA[After reading up on the latest news with water vapor being found in on mars (NYTIMES), I began to see a future grow literally from the soils of the martian surface.  Interesting enough, if, and when asparagus begins to grow on the red planet, life will grow here on Earth in a much more dramatic way.  Think [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p>After reading up on the latest news with water vapor being found in on mars (<a href="http://www.nytimes.com/2008/06/27/science/space/27MARS.html?_r=1&amp;oref=slogin">NYTIMES</a>), I began to see a future grow literally from the soils of the martian surface.  Interesting enough, if, and when asparagus begins to grow on the red planet, life will grow here on Earth in a much more dramatic way.  Think about the past, as all our secrets tends to point to the past.  Man&#8217;s achievement can be signified with simple advances in the time it takes to get from Point A to Point B.  At some point, we crawl. Then we Walk.  Then we Run.  Ride. Float. Drive. Fly. Orbit. Where does it end?  Well, an astute person would say that is impossible to know, but we can judge one thing.  The next step in this chain is sub-solar system traveling from one planet to the next.  All starting from one lonely planet in the deserts of the abyss.  </p>
<p>Imagine if you could, a plant growing some many million miles away.  Soon, it will be two plants. Four, 20, etc.  Soon there will be a forest.  Which will then provide oxygen, and air as we know it.  By now we would have started sending teams of scientists away for years to do their work.  Radio&#8217;s and Satellites will begin to appear on the surface.  Children of our Kids will watch the first families begin to leave Earth on SpaceShip101-&#8217;The Ark&#8217;.  After a few generations, the first child will be born on Mars.  Later, a School.  The children will be instant celebrities, yet human&#8230; and martian.  50 years later, there will be thousands living in the soils of our newest Planet.   A government will appear, whose will it be?  Peace on Earth?  Eventually, Martians will have their own governments, maybe they will revolt? But following our steps, in just a handful of generations, chances are we will see our next step in going from Point A to Point B to get much faster, and distance much smaller.  Those partaking in the journey more than once will begin to get a better understanding on distances, and they will adapt to think of the traveling as &#8216;nothing really&#8217;.  Putting platforms into orbit around the two planets will set up &#8216;OrbitWays&#8217; for less expensive, more convenient, and possibly faster travel.  Eventually Point A to Point B will become fast, in relative terms, one Earth week?  All starting at one lonely robot, planting one lonely asparagus on one desolate place.  We live in exciting times, the future is upon us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2008/06/27/inspiring-the-future/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Converting PDF to Word and HTML</title>
		<link>http://www.geedew.com/2007/12/23/how-to-converting-pdf-to-word-and-html/</link>
		<comments>http://www.geedew.com/2007/12/23/how-to-converting-pdf-to-word-and-html/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 08:36:38 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft Office]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[PDF]]></category>

		<guid isPermaLink="false">http://geedew.com/wp-content/uploads/2007/12/23/how-to-converting-pdf-to-word-and-html/</guid>
		<description><![CDATA[Sites need to be able to interact in one single, universal space. -Tim Berners-Lee I started this little project because I have a client whom needs to get his 24 page PDF online. The problem is that a 24 page PDF with all the bells and whistles ends up being over 5mb in size. This [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p align="center"><span style="size: 12px; font-weight: 400; color: #000000; font-family: calibri,veranda">Sites need to be able to interact in one single, universal space.</span></p>
<p align="right"><span style="size: 14px; font-weight: bold; color: #000000; font-family: calibri,veranda">-Tim Berners-Lee</span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda">I started this little project because I have a client whom needs to get his 24 page PDF online.  The problem is that a 24 page PDF with all the bells and whistles</span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda">ends up being over 5mb in size.  This causes issues for people running sub-cable internet connections, as the loading time becomes horrendous.  So to solve the problem, I am going to run the PDF as a download by choice and have all the links point to the HTML(Hyper-Text Markup Language: what webpages are written in) converted page when they click on what page they want to see.  This does however cause problems if something is updated on the PDF, the HTML is not dynamic or binded to the PDF so and update will p align=&#8221;left&#8221;&gt;     <span style="size: 12px; color: #000000; font-family: calibri,veranda">have to occur in both places.  The only way around that is to have the HTML being the origionating source and have the &#8216;download as pdf&#8217; link be  a call to a server side script that packages the HTML as a PDF. That however is too much for what this client needs and the issues with the updating will have to be taken in stride. </span></span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"> </span></p>
<blockquote>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong>Tools Needed</strong>:<br />
RTF or DOC reader (I prefer OpenOffice2.2) that can convert to HTML<br />
A Program designed to convert PDF to DOC format (I used Able2dDoc, licensed)</span></p>
</blockquote>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda">Unfortunately, In my case, the PDF contained a large amount of tables that were made up by images after conversion. Because of this, I had to handle things a little bit different, in which I will explain later.</span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"><br />
<strong>First things first, lets convert to HTML</strong></span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"> Using the software I used, Able2Doc, if you load up the PDF you can simply convert the file to a DOC format.  Notice, not many converters will go straight from PDF to DOC or RTF formats. Once you are able to convert the PDF to DOC or RTF, you can then open up that file into Microsoft Office or Open Office.  Both have the ability to Open up these files and then Export them as HTML.</span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong>Microsoft Offices&#8217; way of doing things</strong></span></p>
<p style="text-align: left;"><span style="size: 12px; color: #000000; font-family: calibri,veranda">Office is really simple. Take the document you are in and go to File-&gt;Save As-&gt;Other</span></p>
<p>
<span style="size: 12px; color: #000000; font-family: calibri,veranda"> </span><a title="PDF to HTML Save as" href="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-word-saveas.png"><img style="border: 1px solid black;" src="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-word-saveas.png" alt="PDF to HTML Save as" width="500" height="300" /></a><br />
</p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"> Then after that you can go click and change the type to an HTML Document&#8230; put in the name and your done!</span></p>
<p></p>
<p align="left"><a title="PDF to HTML Save as HTML" href="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-word-saveas-html.png"><img style="border: 1px solid black;" src="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-word-saveas-html.png" alt="PDF to HTML Save as HTML" width="500" height="300" /></a></p>
<p></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong>Open Offices&#8217; way of doing things<br />
</strong>In Open Office, it is actually easier! Just have your document open and then go to File -&gt;Save As and you can then select the HTML from the drop down list.  No extra step as there is in Word.</span></p>
<p align="left"> </p>
<p align="left"> </p>
<p align="left"><a title="PDF to HTML OO" href="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-oo2-saveas-html.png"><img style="border: 1px solid black;" src="http://geedew.com/blog/wp-content/uploads/2007/12/pdftohtml-oo2-saveas-html.png" alt="PDF to HTML OO" width="500" height="300" /></a></p>
<p></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda"><br />
<strong>When things get messy&#8230;<br />
</strong>You have to start to get creative. I know, it stinks, when things just don&#8217;t go your way.  I mentioned earlier that I my specific issue just could not be settled by this process only because the images in the PDF were making up the tables and the text did not stick inside the image/tables when changed to HTML.  I ended having to go with a slightly altered reality, but the end result to the user is near the same.</span></p>
<p align="left"><span style="size: 12px; color: #000000; font-family: calibri,veranda">The idea that I had was to split the PDF into images. This was actually really easy to do.  I swapped over to linux for this part (Ubuntu Gutsy).  The PDF Reader program has the ability to output to JPG for your PDF&#8217;s.  This came in very handy, I simply outputted the PDF I was using, 28 pages of it, as JPG&#8217;s and then used to Javascript to make a nice little  setup for Checking out the picutres.</span></p>
<blockquote>
<h5><span style="font-family: calibri; ">Javascript Code In the &lt;body&gt; tags :</span><br />
<span style="color: #888888;"><span style="font-weight: normal;">&lt;script&gt; function PageQuery(q) {if(q.length &gt; 1) this.q = q.substring(1, q.length);else this.q = null;<br />
this.keyValuePairs = new Array();<br />
if(q) {<br />
for(var i=0; i &lt; this.q.split(&#8220;&amp;&#8221;).length; i++) {<br />
this.keyValuePairs[i] = this.q.split(&#8220;&amp;&#8221;)[i];<br />
}<br />
}<br />
this.getKeyValuePairs = function() { return this.keyValuePairs; }<br />
this.getValue = function(s) {<br />
for(var j=0; j &lt; this.keyValuePairs.length; j++) {<br />
if(this.keyValuePairs[j].split(&#8220;=&#8221;)[0] == s)<br />
return this.keyValuePairs[j].split(&#8220;=&#8221;)[1];<br />
}<br />
return false;<br />
}<br />
this.getParameters = function() {<br />
var a = new Array(this.getLength());<br />
for(var j=0; j &lt; this.keyValuePairs.length; j++) {<br />
a[j] = this.keyValuePairs[j].split(&#8220;=&#8221;)[0];<br />
}<br />
return a;<br />
}<br />
this.getLength = function() { return this.keyValuePairs.length; }<br />
}<br />
function queryString(key){<br />
var page = new PageQuery(window.location.search);<br />
return unescape(page.getValue(key));<br />
}<br />
function displayItem(key){<br />
if(queryString(key)==&#8217;false&#8217;)<br />
{<br />
return &#8217;1&#8242;;<br />
}else{<br />
return queryString(key);<br />
}<br />
}<br />
&lt;/script&gt;</span></span></h5>
</blockquote>
<p><script type="text/javascript"><!--
 function PageQuery(q) {if(q.length > 1) this.q = q.substring(1, q.length);else this.q = null;
this.keyValuePairs = new Array();
if(q) {
for(var i=0; i < this.q.split("&#038;").length; i++) {
this.keyValuePairs[i] = this.q.split("&#038;")[i];
}
}
this.getKeyValuePairs = function() { return this.keyValuePairs; }
this.getValue = function(s) {
for(var j=0; j < this.keyValuePairs.length; j++) {
if(this.keyValuePairs[j].split("=")[0] == s)
return this.keyValuePairs[j].split("=")[1];
}
return false;
}
this.getParameters = function() {
var a = new Array(this.getLength());
for(var j=0; j < this.keyValuePairs.length; j++) {
a[j] = this.keyValuePairs[j].split("=")[0];
}
return a;
}
this.getLength = function() { return this.keyValuePairs.length; }
}
function queryString(key){
var page = new PageQuery(window.location.search);
return unescape(page.getValue(key));
}
function displayItem(key){
if(queryString(key)=='false')
{
return '1';
}else{
return queryString(key);
}
}
// --></script></p>
<p><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong>What else?<br />
</strong></span></p>
<p><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong> </strong>Once this code is in place, you can see what it is trying to do.  You are basically parsing a query address URL and looking for the specific information showing on whatever variable you pass in.  This is giving your JavaScript the ability to know what a variable is from a JavaScript /PHP equivalent to the Get variables.</span><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong><br />
</strong></span></p>
<p><span style="size: 12px; color: #000000; font-family: calibri,veranda"><strong> </strong>Now you need the code that will change values of a select box, so the complete picture will come into view.</span></p>
<p><!--</p-->
<p><span style="size: 12px; color: #000000; font-family: calibri,veranda">The idea that I had was to split the PDF into images. This was actually really easy to do. I swapped over to Linux for this part (Ubuntu Gutsy). The PDF Reader program has the ability to output to JPG for your PDF&#8217;s. This came in very handy, I simply outputted the PDF I was using, 28 pages of it, as JPG&#8217;s and then used to JavaScript to make a nice little setup for Checking out the pictures.</span></p>
<blockquote>
<h5><span style="font-weight: normal;"><span style="color: #888888;">&lt;</span></span><span style="font-weight: normal;"><span style="color: #888888;">SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> function loadPage(value) {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">if(value == &#8220;&#8221;) {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;mainimage&#8217;).src=&#8221;img/ProductCatalog/Page1.jpg&#8221;;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> } else {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;mainimage&#8217;).src=&#8221;img/ProductCatalog/Page&#8221; + displayItem(&#8216;p&#8217;) +&#8221;.jpg&#8221;;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> function changeImage()<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">{<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;mainimage&#8217;).src = document.getElementById(&#8216;list&#8217;).options[document.getElementById('list').selectedIndex].value;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">function prevImage()<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> if(document.getElementById(&#8216;list&#8217;).selectedIndex == 0)<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;list&#8217;).selectedIndex = document.getElementById(&#8216;list&#8217;).options.length-1;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> else<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;list&#8217;).selectedIndex&#8211;;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> changeImage();<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">function nextImage()<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> if(document.getElementById(&#8216;list&#8217;).selectedIndex == document.getElementById(&#8216;list&#8217;).options.length-1)<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;list&#8217;).selectedIndex = 0;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> else<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> {<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> document.getElementById(&#8216;list&#8217;).selectedIndex++;<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> }<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;"> changeImage();<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">}<br />
</span></span></h5>
<h5><span style="font-weight: normal;"><span style="color: #888888;">&lt;/script&gt;</span></span></h5>
</blockquote>
<p><span style="font-family: calibri;">That was pretty much what the JavaScript needed, and then I could handle everything else from HTML which made things much easier.  All that is said and done, any Q&#8217;s just ask.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2007/12/23/how-to-converting-pdf-to-word-and-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction: From Me</title>
		<link>http://www.geedew.com/2007/12/11/introduction-from-me/</link>
		<comments>http://www.geedew.com/2007/12/11/introduction-from-me/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 03:44:19 +0000</pubDate>
		<dc:creator>Drew</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[introduction]]></category>
		<category><![CDATA[knowledge]]></category>

		<guid isPermaLink="false">http://geedew.com/wp-content/uploads/2007/12/11/introduction-from-me/</guid>
		<description><![CDATA[I do not fear computers. I fear the lack of them - Isaac Asimov I&#8217;m a computer guy.  I grew up thinking they were cool, and now I have come to appreciate them more, because they are a source of income now.  I do web design, development, server stuff, troubleshooting things, etc.  Because of this, [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=b02858dd9961de60a8a7d0f9efe9c758&amp;default=http://use.perl.org/images/pix.gif' alt='No Gravatar' width=20 height=20/><p align="center"><span align="center" style="display: block; font-weight: 400; font-size: 14px">I do not fear computers. I fear the lack of them</span></p>
<p align="right"><span align="right" style="display: block; font-weight: 900; font-size: 12px">- Isaac Asimov</span></p>
<p align="left">I&#8217;m a computer guy.  I grew up thinking they were cool, and now I have come to appreciate them more, because they are a source of income now.  I do web design, development, server stuff, troubleshooting things, etc.  Because of this, I run into a lot of problems that have to be solved.  But, more often then not, I find that I have to solve them on my own, without GOOG&#8217;s help.  So I have decided to turn to the internet, to pass on my information as I get it.  Hopefully it will help out more out there&#8230; and they can in turn help me with issues I may have.</p>
<p align="left">Enjoy</p>
<p align="left">Drew</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geedew.com/2007/12/11/introduction-from-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
