<?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>Joe Strusz &#187; Hints</title>
	<atom:link href="http://www.joestrusz.com/main/categories/hints/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joestrusz.com/main</link>
	<description>Bringing High Tech to the Low Tech World.</description>
	<lastBuildDate>Thu, 27 May 2010 00:43:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Extract Image From WordPress Post</title>
		<link>http://www.joestrusz.com/main/2010/04/28/test-2/</link>
		<comments>http://www.joestrusz.com/main/2010/04/28/test-2/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 05:21:17 +0000</pubDate>
		<dc:creator>joe.strusz</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hints]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.joestrusz.com/main/2010/04/28/test-2/</guid>
		<description><![CDATA[This will extract an image from a wordpress post. You can use it in the loop with get_content() or get_excerpt(). There are a hundred other different uses for something like this as well. Good snippet to have. // Pull first image thumbnail from post if none exist, default to a category image. // // Required: [...]]]></description>
			<content:encoded><![CDATA[<p>This will extract an image from a wordpress post.  You can use it in the loop with get_content() or get_excerpt().  There are a hundred other different uses for something like this as well.  Good snippet to have.</p>
<pre class="brush:php">
// Pull first image thumbnail from post if none exist, default to a category image.
//
// Required:
$pattern = '/&lt;img[^&gt;]+src[\\s=\'"]';
$pattern .= '+([^"\'&gt;\\s]+)/is';
// Optional:
$style = "height:50px;width:60px;margin-top:15px;";
$defaultImgURL = "http://www.yoursite.com/image/url.png";
$imgAlt = "Alt Text Here";
$imgID = "";
$imgName = "";
// If we have an Image ...
if(preg_match($pattern,get_the_content(),$match)) {
	echo "&lt;img alt=\"\" style=\"" . $style . "\" src=\"" . $match[1] . "\" /&gt;";
// If there is no img Tag ...
} else {
	echo "&lt;img alt=\"\" style=\"" . $style . "\" src=\"". $defaultImgURL  ."\" /&gt;";
}
// Thats it!</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.joestrusz.com/main/2010/04/28/test-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change iPhone Carrier Name</title>
		<link>http://www.joestrusz.com/main/2010/03/03/change-iphone-carrier-name/</link>
		<comments>http://www.joestrusz.com/main/2010/03/03/change-iphone-carrier-name/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 22:23:04 +0000</pubDate>
		<dc:creator>joe.strusz</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[cellular]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[unlock]]></category>

		<guid isPermaLink="false">http://www.joestrusz.com/main/?p=789</guid>
		<description><![CDATA[First off, this hint will only work on iPhones that have been &#8220;jailbroken&#8221;. For more information on &#8220;jailbreaking&#8221; your iPhone, please visit the unofficial iPhone Dev Team&#8217;s Blog. Check out &#8220;MakeItMine&#8221; app under Cydia. This application is a must for tweakers, as it changes your carrier name. Once the app is installed, and you have [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-791" style="float: left;" src="http://www.joestrusz.com/main/wp-content/uploads/2010/03/MakeItMineSSedit1-208x300.png" alt="" /></p>
<p>First off, this hint will only work on iPhones that have been &#8220;jailbroken&#8221;.  For more information on &#8220;jailbreaking&#8221; your iPhone, please visit the unofficial <a href="http://blog.iphone-dev.org/">iPhone Dev Team&#8217;s Blog</a>.</p>
<p>Check out &#8220;MakeItMine&#8221; app under Cydia.  This application is a must for tweakers, as it changes your  carrier name.  Once the app is installed, and you have made the change,  you can remove the app, and your custom setting remains.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joestrusz.com/main/2010/03/03/change-iphone-carrier-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tab to Drop Down Field in Leopard</title>
		<link>http://www.joestrusz.com/main/2009/05/06/tab-to-drop-down-field-in-leopard/</link>
		<comments>http://www.joestrusz.com/main/2009/05/06/tab-to-drop-down-field-in-leopard/#comments</comments>
		<pubDate>Thu, 07 May 2009 01:10:11 +0000</pubDate>
		<dc:creator>joe.strusz</dc:creator>
				<category><![CDATA[Hints]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[tab]]></category>

		<guid isPermaLink="false">http://www.joestrusz.com/main/?p=698</guid>
		<description><![CDATA[For some reason I couldn&#8217;t tab to drop down fields within Firefox. The problem was also present in most other 3rd party applications. For whatever reason, there is actually a Keyboard &#038; Mouse Preference option that enables this:]]></description>
			<content:encoded><![CDATA[<p>For some reason I couldn&#8217;t tab to drop down fields within Firefox.  The problem was also present in most other 3rd party applications.</p>
<p>For whatever reason, there is actually a Keyboard &#038; Mouse Preference option that enables this:</p>
<p><img src="http://www.joestrusz.com/main/wp-content/uploads/2009/05/picture-1.png" alt="Picture 1.png" border="0" width="70%" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.joestrusz.com/main/2009/05/06/tab-to-drop-down-field-in-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
