<?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></title>
	<atom:link href="http://www.fresh79.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fresh79.com</link>
	<description>Freelance Web Developer</description>
	<lastBuildDate>Mon, 23 Apr 2012 12:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress Summary Loop with String Replace</title>
		<link>http://www.fresh79.com/wordpress-summary-loop-with-string-replace</link>
		<comments>http://www.fresh79.com/wordpress-summary-loop-with-string-replace#comments</comments>
		<pubDate>Thu, 08 Dec 2011 13:37:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fresh79.com/?p=132</guid>
		<description><![CDATA[A handy little loop to show a short summary and replace]]></description>
			<content:encoded><![CDATA[<p>A handy little loop to show a short summary and replace<br />
<code><br />
<?php<br />
	// find out your post permalink<br />
	$perma_link = get_permalink( $post->ID );<br />
	// save original post content to variable<br />
	$content = get_the_content();<br />
	// prevent tags strip | it's a bug in WordPress!<br />
	$content = apply_filters( 'the_content', $content );<br />
	$content = str_replace( ']]&gt;', ']]&gt;', $content );<br />
	// throw out trimmed: content to process, read more tag, post permalink, words length<br />
	echo trim_the_content( $content, ' ', $perma_link, 8 );<br />
?><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fresh79.com/wordpress-summary-loop-with-string-replace/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Sticky Post Loop</title>
		<link>http://www.fresh79.com/wordpress-sticky-post-loop</link>
		<comments>http://www.fresh79.com/wordpress-sticky-post-loop#comments</comments>
		<pubDate>Fri, 02 Dec 2011 13:40:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fresh79.com/?p=70</guid>
		<description><![CDATA[By default WordPress places the posts that are sticky before any other posts. But what if you want to run<a href="http://www.fresh79.com/wordpress-sticky-post-loop">(more...)</a>]]></description>
			<content:encoded><![CDATA[<p>By default WordPress places the posts that are sticky before any other posts. But what if you want to run a query to show only the sticky&#8217;s? perhaps alongside another loop or on a custom page template?<br />
That&#8217;s where this nice little loop can help,  It outputs the last 15 sticky&#8217;s into a 250px box using H5 text.</p>
<pre>&lt;!-- start sticky --&gt;
&lt;div style="float:left;width:250px;"&gt;
&lt;h4 class="widgettitle"&gt;The Sticky Posts&lt;/h4&gt;
&lt;?php
$sticky = get_option( 'sticky_posts' ); // Get all sticky posts
rsort( $sticky ); // Sort the stickies, latest first
$sticky = array_slice( $sticky, 0, 15 ); // Number of stickies to show
query_posts( array( 'post__in' =&gt; $sticky, 'caller_get_posts' =&gt; 15 ) ); // The query

if (have_posts() ) { while ( have_posts() ) : the_post(); ?&gt;
    &lt;h5 class="smalllist"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h5&gt;

&lt;?php endwhile;?&gt;
&lt;?php } else { echo ""; }?&gt;
&lt;/div&gt;
&lt;!-- end sticky --&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.fresh79.com/wordpress-sticky-post-loop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using your visitors geo location to display a result</title>
		<link>http://www.fresh79.com/the-standard-lorem-ipsum-passage-used-since-the-1500s</link>
		<comments>http://www.fresh79.com/the-standard-lorem-ipsum-passage-used-since-the-1500s#comments</comments>
		<pubDate>Thu, 21 Oct 2010 11:45:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.fresh79.com/?p=11</guid>
		<description><![CDATA[Have you ever wondered how to determine the location of your visitors via a webpage or browser? This bit of<a href="http://www.fresh79.com/the-standard-lorem-ipsum-passage-used-since-the-1500s">(more...)</a>]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how to determine the location of your visitors via a webpage or browser?<br />
This bit of code will look at a users IP address and range and output the information.<br />
Usefull for making your site feel tailored to local business needs, even if you are not based in the area.<br />
copy and paste the code below, note the part <strong>Search Engine Specialists</strong><br />
change this to required message, so if you lived in Doncaster, it would read &#8211; <strong>&#8220;Search Engine Specialists Doncaster&#8221;</strong>.</p>
<p>Enjoy!</p>
<div class='code_parent'>
<div class='code_title'>Code:</div>
<div class='code_child'><code></p>
<div class='pre_container'>
<pre>&#60;script type="text/javascript">// &#60;![CDATA[
  if (typeof(google.loader.ClientLocation.address.city) != null) {
     document.write("Search Engine Specialists "
	 + google.loader.ClientLocation.address.city + ", "
	 + google.loader.ClientLocation.address.region);
  }
// ]]&gt;&#60;/script></pre>
</div>
<p></code></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.fresh79.com/the-standard-lorem-ipsum-passage-used-since-the-1500s/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.fresh79.com/hello-world</link>
		<comments>http://www.fresh79.com/hello-world#comments</comments>
		<pubDate>Wed, 20 Oct 2010 22:58:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fresh79.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fresh79.com/hello-world/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

