<?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>Gosdot &#187; code</title>
	<atom:link href="http://gosdot.com/unity/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://gosdot.com/unity</link>
	<description>ux, data, design</description>
	<lastBuildDate>Sat, 22 May 2010 22:17:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hacking Wordpress When You’ve Forgotten Your Password</title>
		<link>http://gosdot.com/unity/2008/12/02/hacking-wordpress-when-you%e2%80%99ve-forgotten-your-password/</link>
		<comments>http://gosdot.com/unity/2008/12/02/hacking-wordpress-when-you%e2%80%99ve-forgotten-your-password/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 11:18:17 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://gosdot.com/unity/2008/12/02/hacking-wordpress-when-you%e2%80%99ve-forgotten-your-password/</guid>
		<description><![CDATA[Do you have multiple Wordpress self-hosted blogs? If so, you&#8217;ve likely run into a scenario where you just can&#8217;t remember the password to one. With Wordpress 2.5 and beyond there&#8217;s an annoying bug that sometimes generates passwords that don&#8217;t work when you click the &#8220;Forgot Password&#8221; option. Usually that button generates a query that will [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have multiple Wordpress self-hosted blogs? If so, you&#8217;ve likely run into a scenario where you just can&#8217;t remember the password to one. With Wordpress 2.5 and beyond there&#8217;s an annoying bug that sometimes generates passwords that <strong>don&#8217;t work</strong> when you click the &#8220;Forgot Password&#8221; option. Usually that button generates a query that will send an email with a temporary password that allows you to reset your password to whatever you wish. The bug in 2.5 will still do that but when you click on the link that should allow you to reset your password, nothing happens.</p>
<p>Actually something does happen, Wordpress resets the password internally (in the MySQL database) but the link that it sent you to activate that password fails to connect with the database effectively locking you out of your blog. In this scenario, at least for me, all the potentially viable solutions lead to dead ends.</p>
<p>Although it should&#8217;ve, launching the database manager to reset the password manually didn&#8217;t work. I tried doing this in various ways including <a href="http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin">this method</a> from Codex, <a href="http://www.watchingthenet.com/webmaster-tip-recover-wordpress-password.html">this one</a> from Watching The Net and <a href="http://anirudhsanjeev.org/reset-your-local-wordpress-password-easily/">this one</a> from Thought Outflux. But none of them worked!</p>
<p>Opening up <strong>wp-config.php</strong> and trying to reset the password there didn&#8217;t work there either.</p>
<p>I was at a loss as to what to do. That is until I found the <a href="http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/">Village Idiot Emergency Password Recovery</a> software. Using it is simple:</p>
<ul>
<li>Download the script from Village Idiot WordPress Emergency Password Script.</li>
<li>Unpack the downloaded zip file.</li>
<li>Upload the file emergency.php to the root of your WordPress installation (the same directory that contains wp-config.php).</li>
<li>In your browser, open http://example.com/emergency.php.</li>
<li>As instructed, enter the administrator username (usually admin) and the new password, then click Update Options. A message is displayed noting the changed password. An email is sent to the blog administrator with the changed password information.</li>
<li>Delete emergency.php from your server when you are done. Do not leave it on your server as someone else could use it to change your password.</li>
</ul>
<p>For whatever reason this worked flawlessly where the other methods failed and I was able to regain access to my wordpress blog and set the password to something I&#8217;ll (hopefully) never forget again. I&#8217;m not ruling out operator error on the other methods but the aptly titled Village Idiot software makes the process <i>fool-proof</i>.</p>
<p><strong>Note:</strong> Keep in mind that all of these options will only work if you are the site administrator or have direct access to the server at which the blog is hosted.</p>
<p><sup>Look familiar? I originally published this article as a writer for <a href="http://www.developertutorials.com/blog/wordpress-blog/hacking-wordpress-when-youve-forgotten-your-password-177/">DeveloperTutorials</a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://gosdot.com/unity/2008/12/02/hacking-wordpress-when-you%e2%80%99ve-forgotten-your-password/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Designing the Perfect Email App</title>
		<link>http://gosdot.com/unity/2008/11/27/designing-the-perfect-email-app/</link>
		<comments>http://gosdot.com/unity/2008/11/27/designing-the-perfect-email-app/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 14:55:15 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[efail]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[gmail]]></category>

		<guid isPermaLink="false">http://gosdot.com/unity/2008/11/27/designing-the-perfect-email-app/</guid>
		<description><![CDATA[My email management, has quickly spiraled out of control. I constantly forget to reply to people, lose important emails and lose files to the sea of messages I get. Like many, I&#8217;m longing for someone to create either a desktop or web app that solves many of the issues that I&#8217;m having with Gmail and [...]]]></description>
			<content:encoded><![CDATA[<p>My email management, has quickly spiraled out of control. I constantly forget to reply to people, lose important emails and lose files to the sea of messages I get. Like many, I&#8217;m longing for someone to create either a desktop or web app that solves many of the issues that I&#8217;m having with Gmail and Thunderbird. So I created this mock-up of what I feel would be the perfect inbox.</p>
<p><strong>Problems</strong></p>
<ul>
<li><strong>Emails &#8216;below the fold&#8217;</strong> go out of sight. If I don&#8217;t remember to label them immediately when they come in, then they are often lost to my inbox forever.</li>
<li><strong>Important/urgent emails</strong> are treated just like any other email.</li>
<li><strong>Twitter</strong> has become like my second inbox, but there&#8217;s no way to integrate the two.</li>
</ul>
<p><strong>Solutions</strong></p>
<ul>
<li>A &#8216;<strong>Related Emails&#8217;</strong> module that pulls up X number of entries from my inbox and attempts to match whatever currently is being read, to things I may have missed or forgotten to reply to. My blog does this, my email should too.</li>
<li><strong>Unread reminder</strong> There should also be an area that randomly pulls unread emails and lists them. This wouldn&#8217;t be in the main window, but it&#8217;d be off to the side.</li>
<li><strong>Social Inbox</strong> For some people, I simply don&#8217;t have their email addresses but I do know them on various social networks. It&#8217;d be cool of this app could import all my contacts from all social networks it supported to allow me to communicate using whatever options are available. Of course it would also have to let us know which services are available to contact that person and give us a corresponding form for that communication (ex. If it&#8217;s Twitter 140 characters).</li>
</ul>
<p><strong>Other Features</strong></p>
<ul>
<li><strong>Trending/Analytics</strong> I&#8217;d like to see things like: How often I check my mail? Who sends me the most mail? Who sends me the least? Who gets replied to the least? How long do I allow new messages to sit before opening them etc. It would be like Google Analytics for my email.</li>
<li><strong>Granular SMS alerts</strong> for emails that have keywords either in the subject, body or sender. So if my mom emails &#8220;Need you to call right away.&#8221; I could have her email address flagged with the the keyword &#8216;call&#8217;. If those two conditions are met in the same message, I&#8217;d get an SMS alert telling me that I have an urgent email.</li>
<li><strong>Personal Assistant/Scheduler</strong> I&#8217;d also like personal assistant features that are integrated with my Calendar and ToDo list. If something like &#8220;I Want Sandy&#8221; became integrated, with a control protocol for sending queries to devices and applications, that would be ideal. Then I could do things like forward emails and appointments to my calendar and have them instantly appear.</li>
<li><strong>Logic</strong> I&#8217;d like some sort of logical filter that automatically pushes emails from people who I deem the most important to the top of the list. This is different from the Alerts feature because it would help me respond to people like clients, co-workers, and bosses with haste. This feature would learn from the Trending reports mentioned above.</li>
<li><strong>Smart Replies</strong> I&#8217;d like to be able to set up a list of conditional responses to emails. If you email between this date and this date I&#8217;ll be on vacation. If you email me between this hour and this hour I&#8217;m working. If you email me in the next ten minutes, you&#8217;ve missed me because I&#8217;m in a meeting. This would be tied to the Personal Assistant and calendar so that auto-responders automatically turn on and off without needing to think about it. However, they could be turned off temporarily or permanently by sending a message like &#8220;Auto Responder Off&#8221; via email or SMS.</li>
<li>I&#8217;d like a <strong>Mobile</strong> <strong>interface</strong> to do things quickly when I&#8217;m on the go.</li>
<li><strong>Unified Web and Desktop App</strong> Why on earth are all the desktop email applications independent products from their web counterparts? I want one unified solution. This ensures that everything thought out for the online product also fully translates to the desktop product.</li>
<li><strong>Online/Offline Sync</strong> The unification mentioned above would allow for two things, syncing and online backups of desktop drafts. If you&#8217;ve ever used Evernote for taking notes, you can kinda grasp what I&#8217;m suggesting. This would allow users to theoretically never lose drafts or contacts.</li>
<li><strong>CMS-like Settings/Plug-Ins</strong> Most people find blog engines Wordpress and MovableType pretty easy to grasp. I&#8217;d like a similar UI that allows users to customize things. I&#8217;d also like to see plug-ins for the web interface and add-ons for the desktop interface. This would allow users to tweak their inboxes however they want.</li>
<li><strong>Better RSS integration</strong> if an application like NetNewsWire had email features it&#8217;s be pretty darn close to what I&#8217;m looking for.</li>
</ul>
<p>In conclusion, the things I&#8217;m describing could be integrated into existing apps like Thunderbird, or they could be used in a completely new application. What would it look like? Click on the image to see it at Flickr with annotation&#8230;</p>
<div style="text-align: center;">
  <a href="http://www.flickr.com/photos/ww4f/3062892657/"><img src="http://farm4.static.flickr.com/3136/3062892657_71356e119e.jpg" width="500" height="302" alt="The Perfect Email App" style="border:2px #999999 solid;" /></a>
</div>
<p>I created most of it in Photoshop. Some of the apps I borrowed images from include Thunderbird for OSX, NetNewsWire for OSX and The Adobe Air app Analytics Reporting Suite. Most of the ideas I also heard on podcast from FOWA Miami &#8216;08, I just decided to make the mock up to help conceptualize it in case I decide to give a go at building it later.</p>
]]></content:encoded>
			<wfw:commentRss>http://gosdot.com/unity/2008/11/27/designing-the-perfect-email-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MagpieRSS: Truncating Titles with fetch_rss()</title>
		<link>http://gosdot.com/unity/2008/09/22/magpierss-truncating-titles-with-fetch_rss/</link>
		<comments>http://gosdot.com/unity/2008/09/22/magpierss-truncating-titles-with-fetch_rss/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 06:50:00 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[magpie]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snoopy]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://gosdot.com/unity/?p=318</guid>
		<description><![CDATA[Truncating RSS titles for the fetch_rss() option of MagpieRSS turned out to be trickier than I initially expected.  If you aren&#8217;t a hardcore php programmer and you&#8217;re just trying to fancy up your Wordpress blog, it can be a little obtuse as to how to achieve this.  After a few Google searches turned [...]]]></description>
			<content:encoded><![CDATA[<p>Truncating RSS titles for the <code>fetch_rss()</code> option of MagpieRSS turned out to be trickier than I initially expected.  If you aren&#8217;t a hardcore php programmer and you&#8217;re just trying to fancy up your Wordpress blog, it can be a little obtuse as to how to achieve this.  After a few Google searches turned up nothing I came up with this solution&#8230;</p>
<pre>
&lt;h3&gt;Title of Your RSS Feed&lt;/h3&gt;
&lt;?php
// assign the feed to a variable named 'feed'
$feed = 'http://url-of-your-rss-feed.com/feed/';
	if ($feed) {
		include_once(ABSPATH . WPINC . '/rss.php');
// define that 'feed' is also your url
$url = $feed;
$rss = fetch_rss($feed);
// string to return if feed fails
 	if ($rss == false){
$string .= "[No Feed To Retrieve]";
	return $string;
}
$maxitems = 10;
$items = array_slice($rss-&gt;items, 0, $maxitems);
	foreach ( $items as $item ) :
// define the string which is '$title'
// define the action 'substr' means sub-string or 'part of a string'
// define where the feed string starts - first letter is '0'
// define the length of the feed string - 55 characters
// define the trailing characters - "..."
$title = substr($item['title'],0,55)." ... ";
?&gt;
&lt;ul&gt;
&lt;li&gt;
// link to the rss item origin with the description as the title
&lt;a href='&lt;?php echo $item['link']; ?&gt;' title='&lt;?php echo $item['description']; ?&gt;'&gt;
// print the truncated RSS title
&lt;?php print $title; ?&gt;
&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;?php endforeach;
}
?&gt;
&lt;br /&gt;&lt;br /&gt;
</pre>
<p>This code will allow you to truncate and print the titles of an rss feed. No more worries about whether or not that aggregated feed from Twitter or another blog will break your design.</p>
]]></content:encoded>
			<wfw:commentRss>http://gosdot.com/unity/2008/09/22/magpierss-truncating-titles-with-fetch_rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspiration Round Up</title>
		<link>http://gosdot.com/unity/2008/04/09/inspiration-round-up/</link>
		<comments>http://gosdot.com/unity/2008/04/09/inspiration-round-up/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 19:34:00 +0000</pubDate>
		<dc:creator>jon</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://gosdot.com/unity/2008/04/09/inspiration-round-up/</guid>
		<description><![CDATA[Here&#8217;s a list of a few sites that have inspired me this week: 

1. Carsonified.comDesigners or Event Planners?  Who knows but everything they touch looks great.

2. Causeaffect.aigasf.orgActivism plus design, who can ask for anything more?

3. Photoshoplady.comWomen tutorial too.
 
4. Carbonmade.comWell designed, great prices, looks fantastic.

5. PSDtuts.comAnother great looking tutorial site.
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a list of a few sites that have inspired me this week: </p>
<p><img src="http://farm3.static.flickr.com/2045/2402552184_13605f7a26_m.jpg"></p>
<p>1. <a href="http://carsonified.com/" title="carsonified">Carsonified.com</a><br />Designers or Event Planners?  Who knows but everything they touch looks great.</p>
<p><img src="http://farm4.static.flickr.com/3193/2401721929_7c11810120_m.jpg"></p>
<p>2. <a href="http://causeaffect.aigasf.org/blog">Causeaffect.aigasf.org</a><br />Activism plus design, who can ask for anything more?</p>
<p><img src="http://farm3.static.flickr.com/2136/2402552444_3f54423c50_m.jpg"></p>
<p>3. <a href="http://photoshoplady.com">Photoshoplady.com</a><br />Women tutorial too.</p>
<p><img src="http://farm3.static.flickr.com/2064/2402552396_dc416a3105_m.jpg"> </p>
<p>4. <a href="http://carbonmade.com/">Carbonmade.com</a><br />Well designed, great prices, looks fantastic.</p>
<p><img src="http://farm4.static.flickr.com/3180/2401722003_480029be44_m.jpg"></p>
<p>5. <a href="http://psdtuts.com/">PSDtuts.com</a><br />Another great looking tutorial site.</p>
]]></content:encoded>
			<wfw:commentRss>http://gosdot.com/unity/2008/04/09/inspiration-round-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
