<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Roger Stringer</title>
	
	<link>http://www.rogerstringer.com</link>
	<description>Web Developer, Web Designer, Chef, Music Lover, Blogger, Family man From British Columbia</description>
	<lastBuildDate>Wed, 18 Aug 2010 06:22:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/RogerStringer" /><feedburner:info uri="rogerstringer" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>RogerStringer</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Some updates</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/ZjRVTlzooW0/</link>
		<comments>http://www.rogerstringer.com/2010/08/08/updates-4/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 02:32:58 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=857</guid>
		<description><![CDATA[It&#8217;s been a busy summer, so I realize posts haven&#8217;t been happening much lately. I&#8217;m working on a lot of changes for this site, which will be happening shortly, as well as a few announcements related to some new projects I&#8217;m involved in, so stay tuned. On another note, wordcamp Kelowna is shaping up nicely [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes for everyone at <a href="http://www.foodizu.com" target="_blank">Foodizu.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a busy summer, so I realize posts haven&#8217;t been happening much lately.</p>
<p>I&#8217;m working on a lot of changes for this site, which will be happening shortly, as well as a few announcements related to some new projects I&#8217;m involved in, so stay tuned.</p>
<p>On another note, wordcamp Kelowna is shaping up nicely for September 11th, just a little more than a month away, and I&#8217;ll be saying more about that on here too as the time approaches.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Form Creation and Data Management made easy with <a href="http://www.dbstract.com" target="_blank">DBStract.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=ZjRVTlzooW0:8SgzXD2L31k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=ZjRVTlzooW0:8SgzXD2L31k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=ZjRVTlzooW0:8SgzXD2L31k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=ZjRVTlzooW0:8SgzXD2L31k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=ZjRVTlzooW0:8SgzXD2L31k:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/ZjRVTlzooW0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/08/08/updates-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/08/08/updates-4/</feedburner:origLink></item>
		<item>
		<title>Quick Function: Get a post’s slug in WordPress</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/S3u_sv8uLxg/</link>
		<comments>http://www.rogerstringer.com/2010/06/02/quick-function-get-a-posts-slug-in-wordpress/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 16:50:37 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/2010/06/02/quick-function-get-a-posts-slug-in-wordpress/</guid>
		<description><![CDATA[Here&#8217;s another little function that tends to come in handy. Recently, on a project I did for a client, they had a sidebar where they wanted to display pages that were children of a main page. I whipped up this function to get the ID of a page&#8217;s slug and then perform a query: function [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes, videos and reviews at <a href="http://www.foodjumper.com" target="_blank">FoodJumper.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another little function that tends to come in handy. Recently, on a project I did for a client, they had a sidebar where they wanted to display pages that were children of a main page. I whipped up this function to get the ID of a page&#8217;s slug and then perform a query:</p>
<pre><code>
function get_ID_by_slug($page_slug) {
&nbsp;&nbsp;&nbsp;$page = get_page_by_path($page_slug);
&nbsp;&nbsp;&nbsp;if ($page) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return $page-&gt;ID;
&nbsp;&nbsp;&nbsp;} else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return null;
&nbsp;&nbsp;&nbsp;}
}
</code></pre>
<p>So for example, you could then do a query like this in your sidebar:</p>
<pre><code>
$querystr = &quot;SELECT wposts.* FROM $wpdb-&gt;posts wposts WHERE wposts.post_parent = '&quot;.get_ID_by_slug(&quot;white-papers&quot;).&quot;' AND wposts.post_status = 'publish' AND wposts.post_type = 'page'&quot;;
</code></pre>
<p>And you would get all pages that are children of &#8220;white-papers&#8221;, it&#8217;s basic I know, but it works, and has a few other uses than just where I used it.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes, videos and reviews at <a href="http://www.foodjumper.com" target="_blank">FoodJumper.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=S3u_sv8uLxg:afJSGXtTKVo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=S3u_sv8uLxg:afJSGXtTKVo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=S3u_sv8uLxg:afJSGXtTKVo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=S3u_sv8uLxg:afJSGXtTKVo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=S3u_sv8uLxg:afJSGXtTKVo:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/S3u_sv8uLxg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/06/02/quick-function-get-a-posts-slug-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/06/02/quick-function-get-a-posts-slug-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Quick Function: Check for parent category in wordpress</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/MpsUdu9EAWg/</link>
		<comments>http://www.rogerstringer.com/2010/05/17/quick-function-check-parent-category-wordpress/#comments</comments>
		<pubDate>Mon, 17 May 2010 15:18:23 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=834</guid>
		<description><![CDATA[When I was working on foodjumper, there were times when I wanted to check the parent category, for example, if you&#8217;re in the Dinner category or viewing a post in that category, I want to display the proper layout for posts in the Recipes category. One function that works, is to do a check like [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Get the latest web development news at <a href="http://thedevscene.com" target="_blank">The Dev Scene</a>!</div>]]></description>
			<content:encoded><![CDATA[<p>When I was working on foodjumper, there were times when I wanted to check the parent category, for example, if you&#8217;re in the <em>Dinner</em> category or viewing a post in that category, I want to display the proper layout for posts in the <em>Recipes</em> category.</p>
<p>One function that works, is to do a check like this:</p>
<pre><code>
function parent_category( $cats, $_post = null ){
     if( is_string($cats) )&nbsp;&nbsp;&nbsp;$cats = get_cat_ID($cats);
     foreach ( (array) $cats as $cat ) {
          $descendants = get_term_children( (int) $cat, 'category');
          if ( $descendants &amp;&amp; in_category( $descendants, $_id ) ) return true;
     }
     return false;
}
</code></pre>
<p>WordPress published a similar function on their site, but it used the actual category ID in the function. I found it easier to let you enter the slug instead.</p>
<p>Now, when you want to check if a post is in a category that is a child, you can do a check like this:</p>
<pre><code>
&lt;?php
if(in_category('recipes') || parent_category('recipes') ):
     // display this post as a recipe
else:
     // display this post as a normal post
endif;
?&gt;
</code></pre>
<p>This can be adapted to almost any type of similar treatment, I just used recipes above as an example since it&#8217;s where I just used this function.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Form Creation and Data Management made easy with <a href="http://www.dbstract.com" target="_blank">DBStract.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=MpsUdu9EAWg:aO6tDh06UR4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=MpsUdu9EAWg:aO6tDh06UR4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=MpsUdu9EAWg:aO6tDh06UR4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=MpsUdu9EAWg:aO6tDh06UR4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=MpsUdu9EAWg:aO6tDh06UR4:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/MpsUdu9EAWg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/05/17/quick-function-check-parent-category-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/05/17/quick-function-check-parent-category-wordpress/</feedburner:origLink></item>
		<item>
		<title>Foodjumper.com, new foodie blog</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/N8qSxdjIFdw/</link>
		<comments>http://www.rogerstringer.com/2010/05/15/foodjumpercom-foodie-blog/#comments</comments>
		<pubDate>Sat, 15 May 2010 18:29:43 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/2010/05/15/foodjumpercom-foodie-blog/</guid>
		<description><![CDATA[Today, I&#8217;m pleased to announce the launch of FoodJumper.com. FoodJumper.com is the end result of a month of planning, before even starting down the road of adding recipes and posts. To put it simply, it&#8217;s a foodie blog, similar to foodizu.com, but different in that, this one is just me and also contains posts and [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes for everyone at <a href="http://www.foodizu.com" target="_blank">Foodizu.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;m pleased to announce the launch of <a href="http://www.foodjumper.com" target="_new">FoodJumper.com</a>.</p>
<p>FoodJumper.com is the end result of a month of planning, before even starting down the road of adding recipes and posts.</p>
<p>To put it simply, it&#8217;s a foodie blog, similar to <a href="http://foodizu.com" target="_new">foodizu.com</a>, but different in that, this one is just me and also contains posts and videos, etc, whereas foodizu is a community of people adding recipes.</p>
<p>Why make another foodie site? Well, to put it simply, because I love food, so why not?</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Get the latest web development news at <a href="http://thedevscene.com" target="_blank">The Dev Scene</a>!</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=N8qSxdjIFdw:qqT6qJSeCv8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=N8qSxdjIFdw:qqT6qJSeCv8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=N8qSxdjIFdw:qqT6qJSeCv8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=N8qSxdjIFdw:qqT6qJSeCv8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=N8qSxdjIFdw:qqT6qJSeCv8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/N8qSxdjIFdw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/05/15/foodjumpercom-foodie-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/05/15/foodjumpercom-foodie-blog/</feedburner:origLink></item>
		<item>
		<title>Quick Function: iPad Detection</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/tnqlTY1VdAk/</link>
		<comments>http://www.rogerstringer.com/2010/04/28/ipad-detection/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 16:13:37 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/2010/04/28/ipad-detection/</guid>
		<description><![CDATA[Of course, the iPad is a pretty large screen and a fully capable browser, so most websites don’t need to have iPad specific versions of them. But if you need to, you can detect for it with .htaccess RewriteCond %{HTTP_USER_AGENT} ^.*iPad.*$ RewriteRule ^(.*)$ http://ipad.yourdomain.com [R=301] This will redirect iPad users to a URL you specify. [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes, videos and reviews at <a href="http://www.foodjumper.com" target="_blank">FoodJumper.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>Of course, the iPad is a pretty large screen and a fully capable browser, so most websites don’t need to have iPad specific versions of them. But if you need to, you can detect for it with .htaccess</p>
<pre><code>
RewriteCond %{HTTP_USER_AGENT} ^.*iPad.*$
RewriteRule ^(.*)$ http://ipad.yourdomain.com [R=301]
</code></pre>
<p>This will redirect iPad users to a URL you specify.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Get the latest web development news at <a href="http://thedevscene.com" target="_blank">The Dev Scene</a>!</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=tnqlTY1VdAk:D4-MHxRIgnI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=tnqlTY1VdAk:D4-MHxRIgnI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=tnqlTY1VdAk:D4-MHxRIgnI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=tnqlTY1VdAk:D4-MHxRIgnI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=tnqlTY1VdAk:D4-MHxRIgnI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/tnqlTY1VdAk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/04/28/ipad-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/04/28/ipad-detection/</feedburner:origLink></item>
		<item>
		<title>Mentionedme.com: Website in 1 hour</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/VyCmfJqN8m4/</link>
		<comments>http://www.rogerstringer.com/2010/04/22/mentionedmecom-website-1-hour/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 17:52:12 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=807</guid>
		<description><![CDATA[MentionedMe.com was another website I recently built with the idea of providing a very quick solution. I wanted to offer a site that would text you if you got a new mention on twitter, pretty simple process, and one that has uses for people monitoring their username mentions. I decided to once again use the [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Get the latest web development news at <a href="http://thedevscene.com" target="_blank">The Dev Scene</a>!</div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mentionedme.com">MentionedMe.com</a> was another website I recently built with the idea of providing a very quick solution.</p>
<p>I wanted to offer a site that would text you if you got a new mention on twitter, pretty simple process, and one that has uses for people monitoring their username mentions.</p>
<p>I decided to once again use the SMS API form <a href="http://twilio.com" target="_new">twilio.com</a> as a starting point since I&#8217;ve been using it quite a lot in recent projects, and then used YQL to perform twitter searches on usernames that are added.</p>
<p>The end result is that every 15 minutes, it does a check, and if there is a recent mention of your name, then you get sent text message saying &#8220;<em>you have [insert number here] new mentions for @[insert your name here]</em>&#8220;.</p>
<p>I used the YUI framework to quickly throw together the site design, and it&#8217;s been working well.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Get the latest web development news at <a href="http://thedevscene.com" target="_blank">The Dev Scene</a>!</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=VyCmfJqN8m4:Ho1LKZJIclI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=VyCmfJqN8m4:Ho1LKZJIclI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=VyCmfJqN8m4:Ho1LKZJIclI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=VyCmfJqN8m4:Ho1LKZJIclI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=VyCmfJqN8m4:Ho1LKZJIclI:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/VyCmfJqN8m4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/04/22/mentionedmecom-website-1-hour/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/04/22/mentionedmecom-website-1-hour/</feedburner:origLink></item>
		<item>
		<title>webworkerdaily.com: Your e-Book Resource Guide</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/8TUonAhuJJ8/</link>
		<comments>http://www.rogerstringer.com/2010/03/25/ebook-resource-guide/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:31:19 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=803</guid>
		<description><![CDATA[Despite all of the attention they have gotten recently, there isn’t a universal e-book format, and we must contend with the many different types of e-books that are available. Here’s a rundown of the ebook formats that are available today and how to use them all. Get the latest web development news at The Dev [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes for everyone at <a href="http://www.foodizu.com" target="_blank">Foodizu.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>Despite all of the attention they have gotten recently, there isn’t a universal e-book format, and we must contend with the many different types of e-books that are available. Here’s a rundown of the ebook formats that are available today and how to use them all.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Form Creation and Data Management made easy with <a href="http://www.dbstract.com" target="_blank">DBStract.com</a></div><p><a href="http://www.rogerstringer.com/2010/03/25/ebook-resource-guide/" title="webworkerdaily.com: Your e-Book Resource Guide">&#8734;</a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=8TUonAhuJJ8:Ou85yhtAI2U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=8TUonAhuJJ8:Ou85yhtAI2U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=8TUonAhuJJ8:Ou85yhtAI2U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=8TUonAhuJJ8:Ou85yhtAI2U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=8TUonAhuJJ8:Ou85yhtAI2U:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/8TUonAhuJJ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/03/25/ebook-resource-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://webworkerdaily.com/2010/03/24/your-e-book-resource-guide/</feedburner:origLink></item>
		<item>
		<title>Quick Function: Inserting ads into your RSS feeds in WordPress</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/udUI2ZBPxlM/</link>
		<comments>http://www.rogerstringer.com/2010/03/12/quick-function-inserting-ads-rss-feeds-wordpress/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 03:15:33 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=791</guid>
		<description><![CDATA[On my main wordpress site (this one your reading now), I like to display a single line below each RSS feed item that tells people quickly about some of my other sites. The ad appears like this: The code for it is pretty straight forward, and can also be used to display a copyright message [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes, videos and reviews at <a href="http://www.foodjumper.com" target="_blank">FoodJumper.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>On my main wordpress site (this one your reading now), I like to display a single line below each RSS feed item that tells people quickly about some of my other sites. </p>
<p>The ad appears like this:</p>
<p><img src="http://www.rogerstringer.com/wp-content/themes/aperturious/timthumb/timthumb.php?src=/wp-content/uploads/2010/03/adpic.png&w=520&zc=1" /></p>
<p>The code for it is pretty straight forward, and can also be used to display a copyright message linking to your site, or anything along those lines. Place the following code in your theme&#8217;s functions.php file:</p>
<pre><code>
function insertAds($content) {
  if(is_feed()) {
    srand((float) microtime() * 10000000);
    $banners = array();
    $banners[] = 'Banner number 1. &lt;a href=&quot;http://www.somerandomsite/&quot; target=&quot;_blank&quot;&gt;Some more banner text&lt;/a&gt;';
    $banners[] = 'Banner number 2. &lt;a href=&quot;http://www.somerandomsite/&quot; target=&quot;_blank&quot;&gt;Some more banner text&lt;/a&gt;';
    $banners[] = 'Banner number 3. &lt;a href=&quot;http://www.somerandomsite/&quot; target=&quot;_blank&quot;&gt;Some more banner text&lt;/a&gt;';
    $banners[] = 'Banner number 4. &lt;a href=&quot;http://www.somerandomsite/&quot; target=&quot;_blank&quot;&gt;Some more banner text&lt;/a&gt;';
    $rn = array_rand($banners);
    $content = $content.'
&lt;hr /&gt;'.$banners[$rn];
  }
  return $content;
}
add_filter('the_excerpt_rss', 'insertAds');
add_filter('the_content', 'insertAds');
</code></pre>
<p>You could also replace this with banner images. Anyway, what this does is randomly select which text to display on your rss feed items. So for each article, you could have a different ad appearing.</p>
<p>If you wanted to use this to display only one message  (like a copyright), you&#8217;d use this version:</p>
<pre><code>
function insertMsg($content) {
  if(is_feed()) {
    $banner = 'You are reading my blog. &lt;a href=&quot;http://www.linktoblog/&quot; target=&quot;_blank&quot;&gt;Name of your blog&lt;/a&gt;';
    $content = $content.'
&lt;hr /&gt;'.$banner;
  }
  return $content;
}
add_filter('the_excerpt_rss', 'insertMsg');
add_filter('the_content', 'insertMsg');
</code></pre>
<p>That&#8217;s it, like I said, it&#8217;s a quick function, but it serves it&#8217;s purpose.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes, videos and reviews at <a href="http://www.foodjumper.com" target="_blank">FoodJumper.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=udUI2ZBPxlM:eCezgfAH6v8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=udUI2ZBPxlM:eCezgfAH6v8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=udUI2ZBPxlM:eCezgfAH6v8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=udUI2ZBPxlM:eCezgfAH6v8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=udUI2ZBPxlM:eCezgfAH6v8:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/udUI2ZBPxlM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/03/12/quick-function-inserting-ads-rss-feeds-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/03/12/quick-function-inserting-ads-rss-feeds-wordpress/</feedburner:origLink></item>
		<item>
		<title>SMS Notifications: A feature returns to DBStract</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/4Ouuq_99je8/</link>
		<comments>http://www.rogerstringer.com/2010/03/11/sms-notifications-feature-returns-dbstract/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 17:18:55 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=782</guid>
		<description><![CDATA[For some of you who may remember, there was a feature a few years ago on DBStract that let people receive notifications on their cell phones when new entries were made to their tables. The method used was one where you entered your phone number, and provider and it would send you an SMS-email message. [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Form Creation and Data Management made easy with <a href="http://www.dbstract.com" target="_blank">DBStract.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>For some of you who may remember, there was a feature a few years ago on <a href="http://www.dbstract.com" target="_new">DBStract</a> that let people receive notifications on their cell phones when new entries were made to their tables.</p>
<p>The method used was one where you entered your phone number, and provider and it would send you an SMS-email message. It worked but it wasn&#8217;t a method I was happy with, and eventually removed it.</p>
<p>Thanks to <a href="http://www.twilio.com" target="_new">Twilio.com</a> and their SMS gateway, we&#8217;ve now integrated a new solution to receiving SMS notifications. </p>
<p>When you create or edit a table, you now have the option to select to received text messages when someone fills out a form on your site (or where ever you&#8217;ve placed a form).</p>
<p><img title="smsnotify" src="http://www.rogerstringer.com/wp-content/themes/aperturious/timthumb/timthumb.php?src=/wp-content/uploads/2010/03/smsnotify.png&w=520&zc=1" alt=""  style="width:520px;" /></p>
<p>This works well for people on the go who still want to get notified when someone fills out a form, either for a support request, article submission, events, you name it.</p>
<p>This is also the first of several new updates DBStract will be receiving in the new little while, which I&#8217;m pretty happy about.</p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Form Creation and Data Management made easy with <a href="http://www.dbstract.com" target="_blank">DBStract.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=4Ouuq_99je8:GSbOE-gVbrE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=4Ouuq_99je8:GSbOE-gVbrE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=4Ouuq_99je8:GSbOE-gVbrE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=4Ouuq_99je8:GSbOE-gVbrE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=4Ouuq_99je8:GSbOE-gVbrE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/4Ouuq_99je8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/03/11/sms-notifications-feature-returns-dbstract/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/03/11/sms-notifications-feature-returns-dbstract/</feedburner:origLink></item>
		<item>
		<title>W3Reminder.com: website in 2 days</title>
		<link>http://feedproxy.google.com/~r/RogerStringer/~3/sIF1U3ME_Zs/</link>
		<comments>http://www.rogerstringer.com/2010/02/18/w3remindercom-website-2-days/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 07:03:11 +0000</pubDate>
		<dc:creator>Roger Stringer</dc:creator>
				<category><![CDATA[Posts]]></category>

		<guid isPermaLink="false">http://www.rogerstringer.com/?p=774</guid>
		<description><![CDATA[This week, as part of the twilio.com SMS contest, I decided to quickly whip up a reminder service that would send your phone a text when you told it to. Even without the contest, I would have done it anyway, but it just provided a good incentive to do it now. Once you sign up, [...]<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes for everyone at <a href="http://www.foodizu.com" target="_blank">Foodizu.com</a></div>]]></description>
			<content:encoded><![CDATA[<p>This week, as part of the <a href="http://twilio.com">twilio.com</a> SMS contest, I decided to quickly whip up a <a href="http://www.w3reminder.com">reminder service</a> that would send your phone a text when you told it to.</p>
<p>Even without the contest, I would have done it anyway, but it just provided a good incentive to do it now.</p>
<p>Once you sign up, you have two ways of setting reminders, either from your account, or from your phone by sending a text message in the appropriate format.</p>
<p>There&#8217;s still a little work to do, but it&#8217;s been sending me proper reminders for a couple days so that works for me <img src='http://www.rogerstringer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<hr /><div style="border: 1px solid #005E8C; margin: 15px 0pt; padding: 10px;">Tasty recipes for everyone at <a href="http://www.foodizu.com" target="_blank">Foodizu.com</a></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/RogerStringer?a=sIF1U3ME_Zs:8-tAXdWD3-c:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/RogerStringer?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=sIF1U3ME_Zs:8-tAXdWD3-c:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=sIF1U3ME_Zs:8-tAXdWD3-c:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/RogerStringer?a=sIF1U3ME_Zs:8-tAXdWD3-c:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/RogerStringer?i=sIF1U3ME_Zs:8-tAXdWD3-c:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/RogerStringer/~4/sIF1U3ME_Zs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.rogerstringer.com/2010/02/18/w3remindercom-website-2-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.rogerstringer.com/2010/02/18/w3remindercom-website-2-days/</feedburner:origLink></item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
