<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Jacob Allred</title>
	
	<link>http://www.jacoballred.com</link>
	<description />
	<lastBuildDate>Sun, 13 May 2012 01:55:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/JacobAllred" /><feedburner:info uri="jacoballred" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>33.968011</geo:lat><geo:long>-80.938441</geo:long><feedburner:emailServiceId>JacobAllred</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Persistent navigation menu using jQuery and CSS</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/JdJysr47HM0/</link>
		<comments>http://www.jacoballred.com/web-dev/persistent-navigation-menu-using-jquery-and-css/#comments</comments>
		<pubDate>Sun, 13 May 2012 01:55:49 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1232</guid>
		<description>Persistent navigation menus are awesome. I&amp;#8217;ve seen them in action on a few websites, like the LDS scripture site and LMT&amp;#8217;s website. Not sure what I&amp;#8217;m talking about? Go to one of those sites and scroll down. See how the navigation menu pops out and follows you? The code to make this work is ridiculously [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Persistent navigation menus are awesome. I&#8217;ve seen them in action on a few websites, like the <a href="http://www.lds.org/scriptures/bofm?lang=eng">LDS scripture site</a> and <a href="http://www.lmtmag.com/">LMT&#8217;s website</a>. Not sure what I&#8217;m talking about? Go to one of those sites and scroll down. See how the navigation menu pops out and follows you?</p>
<p>The code to make this work is ridiculously simple. Addy Osmani has been kind enough to <a href="http://addyosmani.com/blog/rocketbar/">package it up</a> and release it under a GPL license. As an added bonus, the code includes some nice CSS buttons that you can use anywhere.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/my-sites/unserializer-improved/" rel="bookmark" class="crp_title">unserializer: improved</a></li><li><a href="http://www.jacoballred.com/web-dev/cheap-easy-to-customize-pbx/" rel="bookmark" class="crp_title">Cheap, easy to customize PBX</a></li><li><a href="http://www.jacoballred.com/my-sites/pic-code-site/" rel="bookmark" class="crp_title">PIC Code Site</a></li><li><a href="http://www.jacoballred.com/reviews/my-first-ipod-touch/" rel="bookmark" class="crp_title">My first iPod Touch</a></li><li><a href="http://www.jacoballred.com/programming/yo-ide-is-so-old/" rel="bookmark" class="crp_title">Yo IDE is so old that when asked for its version number it gives a Roman numeral</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=JdJysr47HM0:kudQEu41r2k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=JdJysr47HM0:kudQEu41r2k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=JdJysr47HM0:kudQEu41r2k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=JdJysr47HM0:kudQEu41r2k:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=JdJysr47HM0:kudQEu41r2k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=JdJysr47HM0:kudQEu41r2k:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/JdJysr47HM0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/web-dev/persistent-navigation-menu-using-jquery-and-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/web-dev/persistent-navigation-menu-using-jquery-and-css/</feedburner:origLink></item>
		<item>
		<title>How many support reps does it take to fix my voicemail?</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/FZU4pJ2JO8w/</link>
		<comments>http://www.jacoballred.com/rants/how-many-support-reps-does-it-take-to-fix-m-voicemail/#comments</comments>
		<pubDate>Fri, 04 May 2012 14:59:02 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1229</guid>
		<description>Apparently it takes 4 support reps to fix my voicemail. My old phone (Samsung Intercept) has had the bad habit of randomly calling the wrong people or sending SMS messages to the wrong people. Very annoying to click on the button to call my wife only to have it call a guy from church. The [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Apparently it takes 4 support reps to fix my voicemail.</p>
<p>My old phone (Samsung Intercept) has had the bad habit of randomly calling the wrong people or sending SMS messages to the wrong people. Very annoying to click on the button to call my wife only to have it call a guy from church. The past week or two it has also started randomly rebooting, and sometimes is so slow that I can&#8217;t get it to answer a call before it goes to voicemail. Ugh.</p>
<p>So Becca agreed to let me buy an unlocked Galaxy Nexus. This phone uses different cell technology than my old phone, so I had to switch carriers. After looking around a bit, I decided to go with Straight Talk on their $45/month unlimited everything plan. The internet is crazy fast and I no longer have to watch my minutes. Yay!</p>
<p>Almost everything went more smoothly than I could have hoped. My number ported just a few hours after I put in the request and I was off and running on the new network. Except for my voicemail. My phone has had this insistent &#8221;you have a voicemail&#8221; message. When I call my voicemail, it says my mailbox is invalid. Ugh.</p>
<p>I tried to solve the issue on my own but without success. Basically Straight Talk&#8217;s idea of online help is &#8220;call our support number&#8221;. So I gave up and called.</p>
<p>And wanted to shoot myself. These reps have absolutely no idea what they are talking about. I had to put my cell on speakerphone and play the voicemail &#8220;invalid mailbox&#8221; message for them to get them to believe me that the problem was on their end. After being transferred multiple times and placed on hold for eternity, I was told to keep my phone turned off while they &#8220;updated my phone&#8217;s features&#8221; (what the heck does that even mean, and why would it matter if my phone was off for this alleged update?). At one point they even had me try changing my voicemail number to my own phone number and, surprise surprise, it made it so I got a busy signal when trying to call voicemail.</p>
<p>I eventually just gave up fighting it when they told me to take the battery out of my phone while they worked on my account. Unless spy movies are right and the government is tracking our phones even when they are turned off, I don&#8217;t see how taking the battery out could have any effect whatsoever on my voicemail. Actually, even if spy movies <em>are</em> right I don&#8217;t see how taking my battery out is going to make any difference.</p>
<p>Finally, 45 minutes and 42 seconds later, I have voicemail access. In hindsight this was a complete waste of time considering how much I abhor voicemail.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/web-dev/cheap-easy-to-customize-pbx/" rel="bookmark" class="crp_title">Cheap, easy to customize PBX</a></li><li><a href="http://www.jacoballred.com/linux/how-to-get-your-msl-number-on-android/" rel="bookmark" class="crp_title">How to get your MSL number on Android</a></li><li><a href="http://www.jacoballred.com/random/android-notifier/" rel="bookmark" class="crp_title">Android Notifier</a></li><li><a href="http://www.jacoballred.com/random/making-my-android-faster/" rel="bookmark" class="crp_title">Making my Android faster</a></li><li><a href="http://www.jacoballred.com/diy/phone-charger-caddy-thing/" rel="bookmark" class="crp_title">Phone charger caddy thing</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=FZU4pJ2JO8w:PHJm6mogu-c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=FZU4pJ2JO8w:PHJm6mogu-c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=FZU4pJ2JO8w:PHJm6mogu-c:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=FZU4pJ2JO8w:PHJm6mogu-c:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=FZU4pJ2JO8w:PHJm6mogu-c:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=FZU4pJ2JO8w:PHJm6mogu-c:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/FZU4pJ2JO8w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/rants/how-many-support-reps-does-it-take-to-fix-m-voicemail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/rants/how-many-support-reps-does-it-take-to-fix-m-voicemail/</feedburner:origLink></item>
		<item>
		<title>Borrowing Kindle books for free</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/QIjABPWJv7c/</link>
		<comments>http://www.jacoballred.com/free-stuff/borrowing-kindle-books-for-free/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 21:12:18 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Free Stuff]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1217</guid>
		<description>Everyone with a Kindle is probably aware of the ability to borrow a book for free every month if you have a Prime membership, but there are other ways to borrow books, too. Borrow from your local library. Many local libraries now offer the ability to borrow Kindle books for free. Sadly, the company that manages [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Everyone with a Kindle is probably aware of the ability to borrow a book for free every month if you have a Prime membership, but there are other ways to borrow books, too.</p>
<p><strong>Borrow from your local library.</strong> Many local libraries now offer the ability to borrow Kindle books for free. Sadly, the company that manages most of these programs (OverDrive) doesn&#8217;t provide all libraries with the same selection. For example, my local library only has a few hundreds ebooks (maybe 300 total) and many aren&#8217;t in Kindle format. They do have some popular books though, like the Twilight series, so it is worth checking with your library before purchasing an ebook or trying to borrow it from somewhere else.</p>
<p><strong>Borrow from BookLending.com.</strong> Many publishers allow you to lend your own ebooks at least once to anyone you want. <a href="http://www.booklending.com/">BookLending.com</a> helps you find people that want to borrow the books you have, and helps you find people that are willing to lend the books you want. I haven&#8217;t been using it long but I&#8217;ve already saved a few dollars by borrowing a book I&#8217;ve been wanting to read instead of buying it.</p>
<p>The big trick to BookLending.com is to take advantage of the free ebook offers that are frequently offered on <a href="http://www.amazon.com">Amazon.com</a>. I have literally hundreds of dollars of Kindle books that I didn&#8217;t have to pay for. Many of these are books that I&#8217;m not particularly interested in, but I &#8220;bought&#8221; because: 1) they were free, 2) they were highly rated, and 3) once they are no longer free I can lend them on BookLending.com. If you don&#8217;t know where to find free Kindle books, check out <a href="http://www.pixelofink.com">Pixel of Ink</a>.</p>
<p>Do you know any other ways to get free Kindle books? Please let me know! I&#8217;m a book addict.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/diy/read-adobe-digital-editions-ebooks-on-your-kindle/" rel="bookmark" class="crp_title">Read Adobe Digital Editions ebooks on your Kindle</a></li><li><a href="http://www.jacoballred.com/my-sites/i-am-reading-lots-of-stuff/" rel="bookmark" class="crp_title">I Am Reading: Lots of stuff!</a></li><li><a href="http://www.jacoballred.com/goals/awkward-turtles-finally-in-print-and-3-copies-sold/" rel="bookmark" class="crp_title">Awkward Turtles finally in print &#8212; and 3 copies sold!</a></li><li><a href="http://www.jacoballred.com/reviews/review-anathem/" rel="bookmark" class="crp_title">Review: Anathem</a></li><li><a href="http://www.jacoballred.com/my-sites/svg-barcode-generator/" rel="bookmark" class="crp_title">SVG Barcode Generator</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=QIjABPWJv7c:Flk1Ek69hp4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=QIjABPWJv7c:Flk1Ek69hp4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=QIjABPWJv7c:Flk1Ek69hp4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=QIjABPWJv7c:Flk1Ek69hp4:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=QIjABPWJv7c:Flk1Ek69hp4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=QIjABPWJv7c:Flk1Ek69hp4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/QIjABPWJv7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/free-stuff/borrowing-kindle-books-for-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/free-stuff/borrowing-kindle-books-for-free/</feedburner:origLink></item>
		<item>
		<title>Trading money for time</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/TBYvAMHM9Xs/</link>
		<comments>http://www.jacoballred.com/money/trading-money-for-time/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 19:40:09 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Money]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1206</guid>
		<description>A common phrase used by advocates of passive income is &amp;#8220;trading time for money&amp;#8221;. This generally refers to working for an hourly wage or a salary. The company you work for has something you want: money. You have something they want: your time. So you trade. You give them your time, they give you their [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>A common phrase used by advocates of passive income is &#8220;trading time for money&#8221;. This generally refers to working for an hourly wage or a salary. The company you work for has something you want: money. You have something they want: your time. So you trade. You give them your time, they give you their money. Sounds like a fair trade, no?</p>
<p>But sometimes you end up on the other side of the equation: you have enough money but what you really want is time. This is where I find myself. My business is earning enough money to pay the bills and put food on the table, but I&#8217;d still like more time to spend with my family.</p>
<p>Luckily, I found a few great opportunities to trade my money for time:</p>
<p><strong>Tax preparation. </strong>My taxes are a bit complicated. I have two W-2&#8242;s, a handful of 1099-MISC/-DIV/-B/-INT/-G, and a 1098-T. I have business income and expenses. I have a handful of charitable gifts, a new daughter, quarterly payments, and education expenses. I really didn&#8217;t want to do my taxes on my own. I spent a few minutes calling around and found a great guy that has prepared my tax return for just a few hundred dollars. Totally worth it.</p>
<p><strong>Maid service.</strong> I feel like I keep a fairly clean house, but I&#8217;m sure our maid service wouldn&#8217;t agree. We just started with <a href="http://www.maids.com/">The Maids</a> and they had a team of four professionals spend four hours getting my tiny apartment to an acceptable level of cleanliness. They mop, scrub, vacuum, dust, and more for a very affordable rate. I&#8217;ve got hours and hours of my life back, my apartment is more comfortable to live in, and I&#8217;m not worried about my baby crawling on our kitchen floor anymore. Totally worth it.</p>
<p><strong>Living close to work.</strong> When I lived in Virginia I had a 1+ hour commute to and from work. It was awful. When we moved to Connecticut we made a conscious decision to live close to where Becca would be going to school (I was telecommuting). It cost us more (a lot more) than living just a few more minutes outside of town, but we feel it is totally worth it. She saves 10-30 minutes a day in travel time. That is as much as 10 hours a month of her life that she isn&#8217;t stuck traveling to or from school.</p>
<p><strong>Community supported agriculture. </strong>We are in the process of trying to join a CSA. Basically, we pay up front for a share of the harvest from a local farm. Each week the farm bundles up some fruits and veggies and delivers them to a central location near our house, and we drive by and pick it up. We save time by getting a wide variety of ultra fresh food each week. We don&#8217;t have to drive store to store trying to find decent produce, or waste time selecting produce. If we get in the CSA we selected, our pickup is only about 2 miles from our house, which is about as close as our nearest grocery store. We are pretty sure this will be worth the expense.</p>
<p><strong>Amazon Prime membership.</strong> I buy <em>a lot</em> of stuff on <a href="http://www.amazon.com">Amazon</a>, even if it costs a pinch more than a competitor. A Prime membership makes it even better. If I need a stapler, I go on Amazon and BAM! It shows up in a day or two. If I order early in the day then my stuff almost always arrives the next day. We do this for tons of stuff: diapers, dish washer detergent, crayons, envelopes, screws/nails, toilet paper, kitchen pans/gadgets, and anything else we want fairly quickly. Sometimes stuff is cheaper than Walmart, sometimes it isn&#8217;t. Either way, we&#8217;ve found the Prime membership to be worth every penny.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/free-stuff/a-local-vacation/" rel="bookmark" class="crp_title">A Local Vacation</a></li><li><a href="http://www.jacoballred.com/random/crazy-busy-and-random-stuff/" rel="bookmark" class="crp_title">Crazy busy and random stuff</a></li><li><a href="http://www.jacoballred.com/money/4-birds-with-1-stone/" rel="bookmark" class="crp_title">4 birds with 1 stone</a></li><li><a href="http://www.jacoballred.com/random/the-smallest-excuses/" rel="bookmark" class="crp_title">The Smallest Excuses</a></li><li><a href="http://www.jacoballred.com/free-stuff/borrowing-kindle-books-for-free/" rel="bookmark" class="crp_title">Borrowing Kindle books for free</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=TBYvAMHM9Xs:RJDr4I6NzuE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=TBYvAMHM9Xs:RJDr4I6NzuE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=TBYvAMHM9Xs:RJDr4I6NzuE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=TBYvAMHM9Xs:RJDr4I6NzuE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=TBYvAMHM9Xs:RJDr4I6NzuE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=TBYvAMHM9Xs:RJDr4I6NzuE:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/TBYvAMHM9Xs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/money/trading-money-for-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/money/trading-money-for-time/</feedburner:origLink></item>
		<item>
		<title>Read Adobe Digital Editions ebooks on your Kindle</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/nnIzicO7spk/</link>
		<comments>http://www.jacoballred.com/diy/read-adobe-digital-editions-ebooks-on-your-kindle/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 20:47:35 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1204</guid>
		<description>I don&amp;#8217;t have a real Kindle, but I do like the Kindle app on my wife&amp;#8217;s iPad, my iPod Touch, my computer, my phone, etc. Recently there was an awesome deal to get The Hunger Games trilogy for only $3.06 total: The Hunger Games for $0.83 with promo code HUNGERGAMESDEAL Catching Fire for $1.16 with [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I don&#8217;t have a real Kindle, but I do like the Kindle app on my wife&#8217;s iPad, my iPod Touch, my computer, my phone, etc. Recently there was an awesome deal to get The Hunger Games trilogy for only $3.06 total:</p>
<ol>
<li><a href="http://www.kobobooks.com/ebook/The-Hunger-Games/book-P1LL_ig-6EaXOOmziOG0Jw/page1.html">The Hunger Games</a> for $0.83 with promo code <strong>HUNGERGAMESDEAL</strong></li>
<li><a href="http://www.kobobooks.com/ebook/Catching-Fire-The-Second-Book/book-a28ziBbw9E-Gn_08pD957w/page1.html">Catching Fire</a> for $1.16 with promo code <strong>HUNGERGAMESDEAL2</strong></li>
<li><a href="http://www.kobobooks.com/ebook/Mockingjay-The-Final-Book-The/book-GSy8FJYCRESPSz_vDMOHLg/page1.html">Mockingjay</a> for $1.07 with promo code <strong>HUNGERGAMESDEAL3</strong></li>
</ol>
<p>The deal may still be valid, not sure. Feel free to give it a shot.</p>
<p>The problem was the ebooks were only available in Adobe Digital Editions format. Adobe has some fine software, but I&#8217;d rather read it on a Kindle. So I searched Google and found how to remove the DRM, convert to Kindle format, and load the book into my Kindle software.</p>
<p>First, you need to make sure you have <a href="http://www.adobe.com/products/digitaleditions/#fp">Adobe Digital Editions</a> installed on your computer. It is free and takes about 2 minutes to install.</p>
<p>Next, load your purchased books into Adobe Digital Editions. For me, this was as easy as clicking the &#8220;download&#8221; button at the site that I purchased the books from. The books were downloaded and opened in Adobe Digital Editions automatically for me.</p>
<p>Adobe ebooks use DRM to keep you from doing what you want with the book that you paid for. Lame. Use this awesome <a href="http://epubee.com/">free DRM removal tool</a> to strip the DRM out. That page has clear instructions on how to use the application.</p>
<p>The last step is to install <a href="http://calibre-ebook.com/download_windows">Calibre</a>. When you set it up, be sure to tell it you have a Kindle. It lets you set up a Kindle email address (view your Amazon account or your Kindle software if you aren&#8217;t sure what your Kindle email address is).  Once Calibre is installed, it is pretty easy to add your books, right click on a book, then go to <em>Connect/share -&gt;Email to xxxxx@Kindle.com</em>. Calibre will convert your ebook then email it to Amazon.</p>
<p>Once Amazon gets the book, it will make it available to your devices. This can take 5-15 minutes, so be patient.</p>
<p>It may sound complicated at first, but really the whole process takes maybe 5 minutes. Anyways, the process worked great for me. I finished reading The Hunger Games yesterday, and my wife isn&#8217;t far behind. I&#8217;m waiting for her to finish the first book before I move on to the second. Hopefully she hurries because I&#8217;m dying to know what happens next!</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/free-stuff/borrowing-kindle-books-for-free/" rel="bookmark" class="crp_title">Borrowing Kindle books for free</a></li><li><a href="http://www.jacoballred.com/goals/awkward-turtles-finally-in-print-and-3-copies-sold/" rel="bookmark" class="crp_title">Awkward Turtles finally in print &#8212; and 3 copies sold!</a></li><li><a href="http://www.jacoballred.com/my-sites/i-am-reading-lots-of-stuff/" rel="bookmark" class="crp_title">I Am Reading: Lots of stuff!</a></li><li><a href="http://www.jacoballred.com/web-dev/seed-the-clipboard-using-flash-10-and-zero-clipboard/" rel="bookmark" class="crp_title">Seed the clipboard using Flash 10 and Zero Clipboard</a></li><li><a href="http://www.jacoballred.com/my-sites/accessing-the-android-market-in-the-emulator/" rel="bookmark" class="crp_title">Accessing the Android Market in the Emulator</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=nnIzicO7spk:9sCFSs4PdGs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=nnIzicO7spk:9sCFSs4PdGs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=nnIzicO7spk:9sCFSs4PdGs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=nnIzicO7spk:9sCFSs4PdGs:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=nnIzicO7spk:9sCFSs4PdGs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=nnIzicO7spk:9sCFSs4PdGs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/nnIzicO7spk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/diy/read-adobe-digital-editions-ebooks-on-your-kindle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/diy/read-adobe-digital-editions-ebooks-on-your-kindle/</feedburner:origLink></item>
		<item>
		<title>Embroidery for fun and profit</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/jfNmeF1eLfQ/</link>
		<comments>http://www.jacoballred.com/diy/embroidery-for-fun-and-profit/#comments</comments>
		<pubDate>Mon, 26 Mar 2012 18:45:32 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1192</guid>
		<description>My wife has an embroidery machine. She has had it since way before we knew each other, but I&amp;#8217;ve never seen it used. We hauled it from Virginia to Connecticut, and promptly placed it on a shelf. The poor thing hasn&amp;#8217;t seen any use. Luckily for the embroidery machine, our scout troop is making t-shirts [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.jacoballred.com/wp-content/uploads/2012/03/embroidered.jpg"><img class="alignright size-medium wp-image-1194" title="Embroidered logo" src="http://www.jacoballred.com/wp-content/uploads/2012/03/embroidered-300x291.jpg" alt="" width="300" height="291" /></a>My wife has an embroidery machine. She has had it since way before we knew each other, but I&#8217;ve never seen it used. We hauled it from Virginia to Connecticut, and promptly placed it on a shelf. The poor thing hasn&#8217;t seen any use.</p>
<p>Luckily for the embroidery machine, our scout troop is making t-shirts and I offered to embroider them, if they want me to. For example, I could put their names or troop number or BSA logo on their shirts for them. We&#8217;ll be coming up with the design for the shirts pretty soon at a troop meeting and I wanted to bring a sample with me so they would know what was possible. This meant we had to get the machine working.</p>
<p>The first problem is that the software portion of the machine only runs on 32-bit Windows, so I had to dust off my wife&#8217;s obsolete and ancient ThinkPad, load Windows 2000 Professional, and try to get the dang USB attachment to work. Took hours but I finally got it working. The set up lets me move designs from the computer to a proprietary storage card which is then inserted into the embroidery machine.</p>
<p>Next, we had to figure out how to set up the mechanical part of the machine. It took some practice and some manual reading but we finally got it working. We created a sample that said &#8220;TROOP 515&#8243;. It looks really good!</p>
<p>Today I spent some time trying to figure out how to make my own designs. It took some trial and much error, but finally it worked. I converted my <a href="http://www.corbanworks.com">company logo</a> to an embroidery design file, loaded it unto the card, and hit the go button. It took about 40 minutes but finally I was left with a rather large (about 4 inches) embroidered logo on a scrap of old t-shirt. Not very handy, but fun to know that the machine can do something so large and have it come out so nice looking.</p>
<div id="attachment_1197" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.jacoballred.com/wp-content/uploads/2012/03/D7K_6486.jpg"><img class="size-medium wp-image-1197" title="Embroidery in progress" src="http://www.jacoballred.com/wp-content/uploads/2012/03/D7K_6486-300x243.jpg" alt="" width="300" height="243" /></a><p class="wp-caption-text">Embroidery machine at work on my logo</p></div>
<p>Anyways, we have some Winnie the Pooh designs that we want to put on some onesies for Anna. I tried a few minutes ago but failed miserably, so I&#8217;ll have to wait until Becca gets home. She is really much better at this stuff than I am.</p>
<p>I&#8217;m still trying to think what else we can do with this machine. Maybe custom &#8220;Team Allred&#8221; shirts for game night? Even fancier stay-at-home-dad <a title="My first stay-at-home-dad merit badge" href="http://www.jacoballred.com/random/my-first-stay-at-home-dad-merit-badge/">merit badges</a>? I&#8217;m open to suggestions!</p>
<p><strong>UPDATE:</strong> Forgot to put anything about the profit part. I am, of course, thinking of numerous websites I can make that are embroidery related, and a bunch of things I can easily make that I could sell on Etsy.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/random/my-first-stay-at-home-dad-merit-badge/" rel="bookmark" class="crp_title">My first stay-at-home-dad merit badge</a></li><li><a href="http://www.jacoballred.com/free-stuff/firefox-4-beta-team/" rel="bookmark" class="crp_title">Firefox 4 Beta Team</a></li><li><a href="http://www.jacoballred.com/diy/i-love-my-kreg-jig/" rel="bookmark" class="crp_title">I love my Kreg Jig</a></li><li><a href="http://www.jacoballred.com/my-sites/new-corban-works-website/" rel="bookmark" class="crp_title">New Corban Works website</a></li><li><a href="http://www.jacoballred.com/diy/phone-charger-caddy-thing/" rel="bookmark" class="crp_title">Phone charger caddy thing</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=jfNmeF1eLfQ:YBEDnxq4_gs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=jfNmeF1eLfQ:YBEDnxq4_gs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=jfNmeF1eLfQ:YBEDnxq4_gs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=jfNmeF1eLfQ:YBEDnxq4_gs:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=jfNmeF1eLfQ:YBEDnxq4_gs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=jfNmeF1eLfQ:YBEDnxq4_gs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/jfNmeF1eLfQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/diy/embroidery-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/diy/embroidery-for-fun-and-profit/</feedburner:origLink></item>
		<item>
		<title>My first stay-at-home-dad merit badge</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/6cNobUfqDuQ/</link>
		<comments>http://www.jacoballred.com/random/my-first-stay-at-home-dad-merit-badge/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 14:23:56 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1181</guid>
		<description>A few months ago my wife made me stay-at-home-dad merit badges to encourage me to do the things she wants me to do. Well, they are for things I&amp;#8217;d like me to do, too. The badge is a little rough but keep in mind that it only took her 2 minutes to make. Personally, I [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.jacoballred.com/wp-content/uploads/2012/03/merit-badge.jpg"><img class="alignright size-thumbnail wp-image-1183" title="Merit Badge" src="http://www.jacoballred.com/wp-content/uploads/2012/03/merit-badge-150x150.jpg" alt="" width="150" height="150" /></a>A few months ago my wife made me stay-at-home-dad merit badges to encourage me to do the things she wants me to do. Well, they are for things I&#8217;d like me to do, too. The badge is a little rough but keep in mind that it only took her 2 minutes to make. Personally, I think it is awesome.</p>
<p>I&#8217;ve finally put forth the effort to earn one. I&#8217;ve earned the &#8220;take your baby for a walk 5 days in a row&#8221; badge. We&#8217;ve walked 8.52 miles together this week, not counting the numerous miles hauling the baby around stores and church.</p>
<p>I&#8217;ve been using the <a href="http://www.endomondo.com">Endomondo Pro</a> app to track my walks. It was on sale for $0.10 back in December. I&#8217;d never paid for an app before but for 10 cents I couldn&#8217;t resist. Realistically the free version does everything a normal person would want though, so I&#8217;d highly recommend checking it out.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/diy/embroidery-for-fun-and-profit/" rel="bookmark" class="crp_title">Embroidery for fun and profit</a></li><li><a href="http://www.jacoballred.com/diy/i-love-my-kreg-jig/" rel="bookmark" class="crp_title">I love my Kreg Jig</a></li><li><a href="http://www.jacoballred.com/comics/perceptions/" rel="bookmark" class="crp_title">Perceptions</a></li><li><a href="http://www.jacoballred.com/random/painting-pictures/" rel="bookmark" class="crp_title">Painting Pictures</a></li><li><a href="http://www.jacoballred.com/random/day-1-june-3-2006-tired-after-service/" rel="bookmark" class="crp_title">Day #1 &#8211; June 3, 2006 &#8211; Tired After Service</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=6cNobUfqDuQ:wc2uzmzLxcw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=6cNobUfqDuQ:wc2uzmzLxcw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=6cNobUfqDuQ:wc2uzmzLxcw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=6cNobUfqDuQ:wc2uzmzLxcw:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=6cNobUfqDuQ:wc2uzmzLxcw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=6cNobUfqDuQ:wc2uzmzLxcw:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/6cNobUfqDuQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/random/my-first-stay-at-home-dad-merit-badge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/random/my-first-stay-at-home-dad-merit-badge/</feedburner:origLink></item>
		<item>
		<title>Fake Money Generator</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/uZQiTbmWdsQ/</link>
		<comments>http://www.jacoballred.com/my-sites/fake-money-generator/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 20:49:34 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[My Sites]]></category>
		<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1176</guid>
		<description>I bought FakeMoneyGenerator.com on Saturday and was so excited about the project that I&amp;#8217;ve practically finished it. There are a few things I&amp;#8217;d like to improve, but the basic functionality is fully functional. So what does it do? Well, first you pick a currency. For example, you could pick a $50 bill, or a 10 [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.jacoballred.com/wp-content/uploads/2012/03/fakemoneygenerator.png"><img class="alignright size-medium wp-image-1177" title="Me on the money" src="http://www.jacoballred.com/wp-content/uploads/2012/03/fakemoneygenerator-300x151.png" alt="" width="300" height="151" /></a>I bought <a href="http://www.fakemoneygenerator.com">FakeMoneyGenerator.com</a> on Saturday and was so excited about the project that I&#8217;ve practically finished it. There are a few things I&#8217;d like to improve, but the basic functionality is fully functional.</p>
<p>So what does it do? Well, first you pick a currency. For example, you could pick a $50 bill, or a 10 franc bill. There are 30 options, so you are bound to find one you like.</p>
<p>Next, you log in using Facebook. This gives the site access to photos that you are tagged in, and lets you pick one. If your face is tagged properly, then it automatically puts your face in the hole on the money.</p>
<p>Last, you can move your picture around, make it bigger or smaller, rotate it, whatever. You can get it exactly where you want it. Once you like it, you can download the picture to your computer.</p>
<p>The site was a ton of fun to make. I had to do some research into counterfeiting to make sure I was following the law, and ended up having to delete a few of the images I had planned on using.</p>
<p>The site uses <em>canvas</em> to handle the image compositing, moving, rotating, etc. This is the first time I&#8217;ve done anything using <em>canvas</em>, and had to fight some browser quirks to get it to work. It should work perfectly in Chrome, Firefox, and IE9, but I had to disable a few features in IE7/IE8. I really don&#8217;t care about IE6, but it probably doesn&#8217;t work at all in it.</p>
<p>To make sure the visitor gets a high quality image, the download functionality is entirely in PHP. The position of your Facebook photo is passed to PHP, and the script places it on the money then spits out a high quality PNG. This eliminates any browser compatibility issues with saving from a <em>canvas</em>, and ensures the image quality wasn&#8217;t reduced due to poor browser scaling.</p>
<p>My lovely wife, <a href="http://www.awkwardsheturtle.com/">Becca</a>, made the arrows and rotate icons for me.</p>
<p>It still needs some work. There are a few UX issues I want to fix, such as remembering where in the Facebook photo scroller the user is when they go to a new page, and making it easier/faster to scroll through photos. But, as you can see by the photo on this post, it works! Yay!</p>
<p>&nbsp;</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/my-sites/save-money-and-make-your-site-faster-using-a-cdn/" rel="bookmark" class="crp_title">Save money AND make your site faster using a CDN</a></li><li><a href="http://www.jacoballred.com/my-sites/a-new-homepage-for-my-baby-girl/" rel="bookmark" class="crp_title">A new homepage for my baby girl</a></li><li><a href="http://www.jacoballred.com/random/painting-pictures/" rel="bookmark" class="crp_title">Painting Pictures</a></li><li><a href="http://www.jacoballred.com/random/day-4-june-6-2006-hurry-take-the-picture/" rel="bookmark" class="crp_title">Day #4 &#8211; June 6, 2006 &#8211; HURRY! TAKE THE PICTURE!</a></li><li><a href="http://www.jacoballred.com/diy/i-love-my-kreg-jig/" rel="bookmark" class="crp_title">I love my Kreg Jig</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=uZQiTbmWdsQ:vXPxAue6G9Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=uZQiTbmWdsQ:vXPxAue6G9Q:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=uZQiTbmWdsQ:vXPxAue6G9Q:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=uZQiTbmWdsQ:vXPxAue6G9Q:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=uZQiTbmWdsQ:vXPxAue6G9Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=uZQiTbmWdsQ:vXPxAue6G9Q:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/uZQiTbmWdsQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/my-sites/fake-money-generator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/my-sites/fake-money-generator/</feedburner:origLink></item>
		<item>
		<title>A new homepage for my baby girl</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/hLWBMpjLLOA/</link>
		<comments>http://www.jacoballred.com/my-sites/a-new-homepage-for-my-baby-girl/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 13:57:18 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[My Sites]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1173</guid>
		<description>I&amp;#8217;m one of those weird techie dads that thinks everyone in the family should have their own domain name, so I bought a domain for my daughter shortly before she was born. I&amp;#8217;ve struggled to know what to put on it. I don&amp;#8217;t really want yet another blog to maintain (I barely maintain the ones [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I&#8217;m one of those weird techie dads that thinks everyone in the family should have their own domain name, so I bought a domain for my daughter shortly before she was born.</p>
<p>I&#8217;ve struggled to know what to put on it. I don&#8217;t really want yet another blog to maintain (I barely maintain the ones I already have) and she isn&#8217;t old enough to have created any content of her own. A picture gallery doesn&#8217;t seem useful when it is so much easier to just use Facebook for sharing photos. So what to do?</p>
<p>Last night I had a great idea: a personal landing page. A simple page that says who she is, has a photo of her, and links to a few sites that are likely to provide some interesting reading to family and friends. So this morning I whipped up something that I think turned out pretty dang cute. Check it out at <a href="http://www.annaallred.net">AnnaAllred.net</a> (the .com was already taken).</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/my-sites/fake-money-generator/" rel="bookmark" class="crp_title">Fake Money Generator</a></li><li><a href="http://www.jacoballred.com/my-sites/what-is-my-ip/" rel="bookmark" class="crp_title">What is my IP?</a></li><li><a href="http://www.jacoballred.com/random/day-9-june-11-2006-gumballs/" rel="bookmark" class="crp_title">Day #9 &#8211; June 11, 2006 &#8211; Gumballs</a></li><li><a href="http://www.jacoballred.com/my-sites/why-godaddy-lost-my-business/" rel="bookmark" class="crp_title">Why GoDaddy lost my business</a></li><li><a href="http://www.jacoballred.com/random/day-4-june-6-2006-hurry-take-the-picture/" rel="bookmark" class="crp_title">Day #4 &#8211; June 6, 2006 &#8211; HURRY! TAKE THE PICTURE!</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=hLWBMpjLLOA:IYgRbej0iBU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=hLWBMpjLLOA:IYgRbej0iBU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=hLWBMpjLLOA:IYgRbej0iBU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=hLWBMpjLLOA:IYgRbej0iBU:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=hLWBMpjLLOA:IYgRbej0iBU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=hLWBMpjLLOA:IYgRbej0iBU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/hLWBMpjLLOA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/my-sites/a-new-homepage-for-my-baby-girl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/my-sites/a-new-homepage-for-my-baby-girl/</feedburner:origLink></item>
		<item>
		<title>Convert a PHP object into an array</title>
		<link>http://feedproxy.google.com/~r/JacobAllred/~3/Xvpm0C0bI-Q/</link>
		<comments>http://www.jacoballred.com/web-dev/convert-a-php-object-into-an-array/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 12:00:58 +0000</pubDate>
		<dc:creator>Jacob Allred</dc:creator>
				<category><![CDATA[Web Dev]]></category>

		<guid isPermaLink="false">http://www.jacoballred.com/?p=1149</guid>
		<description>SOAP loves to throw objects of objects of objects back at you when you make a call. There isn&amp;#8217;t anything terribly wrong with that, but it makes it a bit hard to loop through the object&amp;#8217;s properties using a foreach loop. get_object_vars can convert an object to an array, but leaves any objects contained within [...]</description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>SOAP loves to throw objects of objects of objects back at you when you make a call. There isn&#8217;t anything terribly wrong with that, but it makes it a bit hard to loop through the object&#8217;s properties using a <em>foreach</em> loop. <em>get_object_vars</em> can convert an object to an array, but leaves any objects contained within the object as objects, which makes it sort of pointless by itself. So here is a function that converts ALL of the objects in an object to arrays.</p>
<pre class="brush: php; title: ; notranslate">function conv_obj($Data){
	if(!is_object($Data) &amp;&amp; !is_array($Data)) return $Data;

	if(is_object($Data)) $Data = get_object_vars($Data);

	return array_map('conv_obj', $Data);
}</pre>
<p>First, we pass the object into the function. If the object isn&#8217;t actually an object or an array, then we return it as-is.</p>
<p>If it is an object, then we use <em>get_object_vars</em> to convert the object&#8217;s properties into an array.</p>
<p>Last, we use <em>array_map</em> to put all of the elements of <em>$Data</em> (the passed in object/array) through the same <em>conv_obj </em>function that we are already using so that all of the elements in the entire object/array are converted into arrays.</p>
<p>Nifty, eh?</p>
<p>PS- I didn&#8217;t write this code, which should be obvious by the lack of curly braces in the <em>if</em> statements.</p>
<h2>For use in a class</h2>
<pre class="brush: php; title: ; notranslate">function ConvertObjectToArray($Data){
	if(!is_object($Data) &amp;&amp; !is_array($Data)){
		return $Data;
	}

	if(is_object($Data)){
		$Data = get_object_vars($Data);
	}

	return array_map(array($this,'ConvertObjectToArray'), $Data);
}</pre>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.jacoballred.com/my-sites/unserializer/" rel="bookmark" class="crp_title">Unserializer</a></li><li><a href="http://www.jacoballred.com/free-stuff/new-aba-number-search-site/" rel="bookmark" class="crp_title">New ABA number search site</a></li><li><a href="http://www.jacoballred.com/goals/updated-cost-of-food-page/" rel="bookmark" class="crp_title">Updated Cost of Food Page</a></li><li><a href="http://www.jacoballred.com/random/steganography/" rel="bookmark" class="crp_title">Steganography</a></li><li><a href="http://www.jacoballred.com/web-dev/making-a-theater-showtime-listings-website/" rel="bookmark" class="crp_title">Making a Theater Showtime Listings Website</a></li></ul></div><!-- google_ad_section_end --><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/JacobAllred?a=Xvpm0C0bI-Q:YdxYsSdWwKY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=Xvpm0C0bI-Q:YdxYsSdWwKY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=Xvpm0C0bI-Q:YdxYsSdWwKY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=Xvpm0C0bI-Q:YdxYsSdWwKY:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/JacobAllred?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/JacobAllred?a=Xvpm0C0bI-Q:YdxYsSdWwKY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/JacobAllred?i=Xvpm0C0bI-Q:YdxYsSdWwKY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/JacobAllred/~4/Xvpm0C0bI-Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jacoballred.com/web-dev/convert-a-php-object-into-an-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jacoballred.com/web-dev/convert-a-php-object-into-an-array/</feedburner:origLink></item>
	</channel>
</rss>

