
<?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>jtGraphic.net &#187; Tutorials</title>
	<atom:link href="http://jtgraphic.net/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://jtgraphic.net</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 01:15:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to Build Content for a New Blog</title>
		<link>http://jtgraphic.net/build-content-blog/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=build-content-blog</link>
		<comments>http://jtgraphic.net/build-content-blog/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 15:29:27 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[building content]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=595</guid>
		<description><![CDATA[<p>Tweet Building content for a new blog can be extremely formulaic.  I find it&#8217;s actually easiest to get the first ten to fifteen articles built before writing starts to get more challenging.  That&#8217;s because after you write the first set &#8230; <a href="http://jtgraphic.net/build-content-blog/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/build-content-blog/">How to Build Content for a New Blog</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fbuild-content-blog%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/build-content-blog/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/build-content-blog/"  data-text="How to Build Content for a New Blog" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/build-content-blog/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/build-content-blog/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Building content for a new blog can be extremely formulaic.  I find it&#8217;s actually easiest to get the first ten to fifteen articles built before writing starts to get more challenging.  That&#8217;s because after you write the first set of articles, you need to start getting creative.  I&#8217;m going to give you a blueprint for building those initial articles and we&#8217;ll cover on-going content in a later post.</p>
<h3>Creating the Initial Content</h3>
<p>This really depends a lot on your niche, but I&#8217;ll try to give you the building blocks for building that initial push towards bringing your blog online.  The core step to launching your blog is building the initial content.  I say &#8216;building&#8217; instead of writing, because this is extremely formulaic in nature.  The goal is to create ten articles to cover your first month of content release, so you don&#8217;t want to throw all of your knowledge into one article.  Always hold back a little bit of information to give them later.  That will keep them coming back AND give you material for later.  Also make sure your posts are not more than 700 words.  People tend to get bored if they&#8217;re much longer than that.  If you have a post that is over that, consider breaking it into multiple postings.</p>
<p><span id="more-595"></span></p>
<p>There are a few different types of niche.  Most notably, those types are: products and services, skills, ideas and opinions, or some combination of those.  For instance, some niche ideas that fit those categories are: left handed golf clubs (product), building a tree house (skill), or Buddhism (idea/opinion).</p>
<ul>
<li>Article 1: Introduce the niche in it&#8217;s most basic form.  This is a building block post.  It brings everyone to the same level, and be linked back to for reference if questions come up about what you&#8217;re talking about.  You can also use this post to create an outline of your next nine posts.</li>
<li>Article 2: Showcase the different brands of the product / sides of the argument or idea / how different skills can be approached.  Basically this is a breakdown of the different factions of a niche.  Many products have different sub-products/brands/etc.  Many skills have different ways of approaching a problem, and many ideas or opinions have multiple sides.</li>
<li>Article 3: Talk about yourself.  Explain why you&#8217;re an authority on the niche.  Give quotes from other authorities on the niche.  Don&#8217;t skimp on the social proof and details.</li>
<li>Article 4 &#8211; 7: Give a tutorials on &#8216;how to&#8217; do something relevant to your niche.  This could be something like: &#8216;How to line up for a left handed golf swing&#8217;, &#8216;do simple double column accounting&#8217;, or &#8216;raise money for your next political campaign&#8217;.  These &#8216;How to&#8217; articles are the core of your posts and will keep people interested and coming back to your blog.  In a specific niche &#8211; say &#8216;Left Handed Golfing&#8217;, three &#8216;how to&#8217; posts might be: &#8216;How to select your first set of clubs&#8217;, &#8216;Lining up your first drive&#8217;, and &#8216;chipping with accuracy&#8217;.</li>
<li>Article 8: Do another &#8211; more detailed post about yourself.  Case studies work great.  If you&#8217;re doing a case study, pick a specific event which proved your authority in this niche.  When you give specific details, be sure to reference the most impressive connections to other authorities in your niche, so your audience relates you to them.</li>
<li>Article 9: Do a top X list post.  This could be: &#8216;Top 13 golf club brands&#8217;, &#8216;Top 7 accounting packages&#8217;, &#8216;Top 11 reasons to us a mac over a pc&#8217;, or &#8216;top 3 video games of the year&#8217;.  Notice I didn&#8217;t use &#8216;top ten&#8217;.  That&#8217;s because that is over used.  People are drawn to other numbers than ten, because top ten posts have been over done.</li>
<li>Article 10: Do a review post, reviewing the key points of your previous nine posts.  Write a paragraph on each post, giving additional insight to what you originally said, while linking back to other relevant articles.</li>
</ul>
<p>Once you have your articles written, you can launch them in one of two ways.  You can do a retroactive launch where you set their &#8216;Publish date&#8217; to dates in the past, or do an active launch where you set them to dates in the future.</p>
<p>Retroactive launches make your blog seem like it&#8217;s been around longer, building trust, but require that you do this initial process twice, because you&#8217;ll immediately need to pump out new content to keep people interested.  If you have the extra time, this builds trust faster, and will lead to a faster influx of returning visitors.</p>
<p>If you actively post your information, your blog will be almost empty when you first start, not giving people much information to go on.  This doesn&#8217;t build trust, but takes about half as much work.  By the time you&#8217;ve reached the end of your article pool, people would have been along for the ride for almost a month by now.  This means that your work to traffic ratio will be much higher.</p>
<p>I prefer the first method of producing twice as many articles and retroactively posting, while scheduling the other half to release slowly over the next four weeks.  What do you think the best method to building that first wave of content for your blog is?</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fbuild-content-blog%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/build-content-blog/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/build-content-blog/"  data-text="How to Build Content for a New Blog" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/build-content-blog/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/build-content-blog/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/build-content-blog/">How to Build Content for a New Blog</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/build-content-blog/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Series: 7 Weeks to a Successful Blog: Week 1</title>
		<link>http://jtgraphic.net/series-52-weeks-successful-blog-week-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=series-52-weeks-successful-blog-week-1</link>
		<comments>http://jtgraphic.net/series-52-weeks-successful-blog-week-1/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 12:00:20 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Insights]]></category>
		<category><![CDATA[Learn]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[7 Weeks to a Successful Blog]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Series]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=806</guid>
		<description><![CDATA[<p>Tweet I&#8217;m starting a new blog series called 52 Weeks to Success.  It&#8217;s going to be about starting a blog and building it up, start to success (notice I didn&#8217;t say finish).  It will make decent money online and detail &#8230; <a href="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/">Series: 7 Weeks to a Successful Blog: Week 1</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fseries-52-weeks-successful-blog-week-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"  data-text="Series: 7 Weeks to a Successful Blog: Week 1" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I&#8217;m starting a new blog series called 52 Weeks to Success.  It&#8217;s going to be about starting a blog and building it up, start to success (notice I didn&#8217;t say finish).  It will make decent money online and detail every part of the process from conception to execution to making money.  Without further adieu:</p>
<h2>Commitment</h2>
<p>Time: 7-10 Hours; Cost: $11</p>
<h2>Research a Niche</h2>
<p>I&#8217;ve been losing weight for about 3 months now and I&#8217;m down about 25 pounds.  I&#8217;d like to lose about 30 more, so I&#8217;m going to focus on health and fitness as my niche I think.  Notice I said I think, because I haven&#8217;t done any research yet.  I&#8217;m not a fitness expert, nor am I particularly fit.  I do know from hearsay that gaming, fitness, dating, and finance are great niches to work in, but they&#8217;re extremely competitive.</p>
<p>Since I know I want to do something in Fitness, I&#8217;m going to pull up <a href="http://www.jtgraphic.net/g/GoDaddy" target="_blank">GoDaddy.com</a> and <a href="https://adwords.google.com/select/KeywordToolExternal" target="_blank">Google External Keyword Tool</a>.  I&#8217;ll start with the keyword tool and check for phrases that are in my niche.  I like phrases have a lot of words and a lot of searches.  3 words and over 5,000 searches usually means it should be easy to reach number one.  On GoDaddy, I&#8217;ll try domains that match the keywords that show up in the External Keyword Tool. It&#8217;s absolutely important that you know what keywords you want to rank for, because if you don&#8217;t you might be wandering a bit.  This allows you to focus.  I found that this is ultimately what lead to my success in building websites.</p>
<p>After an hour or so of playing with variations on diet, health, fitness, exercise, and blog, I ultimately chose &#8220;core fitness blog&#8221; as my keyword of choice.  It has 27,000 searches and is extremely competitive, but I&#8217;m ambitious.  This may blow up in my face later, but we&#8217;ll see what happens.</p>
<h2>Get a Domain Name and Set Up Hosting</h2>
<p>Now that I&#8217;ve selected a niche and some keywords, I need to buy a domain.  I just happened to find the perfect one that includes both of my keywords and another fairly relevant keyword.  I registered the domain and proceeded to set up my hosting.</p>
<p>If you have questions about how to set up a domain or hosting, just shoot me an email or leave a comment.  I can help you with that.</p>
<p>Install WordPress on the website and stick with the generic template.  Design doesn&#8217;t matter right now.  What you need is content.</p>
<h2>Start Writing Content</h2>
<p>Write 10 articles, spending about 30 minutes each on the articles.  Don&#8217;t go straight from one article to the other either.  Take 5 minutes or a day in between to take a break.  Have some food, surf the net, work, sleep, play Tetris, or do something else that gets your mind off of writing.  If you don&#8217;t do that, you&#8217;ll burn out.  Remember: this is supposed to take about a week.  Once all of your articles are written, go back and read them all out loud.  I don&#8217;t care if it&#8217;s awkward.  Also: if you can have someone else read them &#8211; do that too.</p>
<p>Once you have all of your articles written, load them into WordPress and date all of them 15 or so days apart going back in time.  If you need help doing that, just let me know.  The reason you do this is to give your blog some long term relevancy right now.  People tend to trust a blog that has been around for a while and has multiple posts.</p>
<h2>Get the Word Out</h2>
<p>Any time you&#8217;re not working on the things mentioned above, you need to be discussing your niche with like minded people.  I&#8217;ll be detailing specific effective ways to get the word out in later posts, but in general, just get a conversation going.  Use social media like forums and other blogs to drive peoples&#8217; interest in your direction.  You could easily spend 40 hours a week on this specific part of development.</p>
<h2>Concluding Week 1</h2>
<p>You should have more than enough work with these tasks.  Always remember that if you have extra time, you can move on to next week if it&#8217;s out already, or you can fill your time with spreading the word.  Everything listed in this post should take about 7-10 hours (less getting the word out) to do and cost $11.  You can use this method to build 4 blogs simultaneously as your full time job, or one blog after work.  Tell me how your first week went in the comments below.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fseries-52-weeks-successful-blog-week-1%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"  data-text="Series: 7 Weeks to a Successful Blog: Week 1" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/series-52-weeks-successful-blog-week-1/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/series-52-weeks-successful-blog-week-1/">Series: 7 Weeks to a Successful Blog: Week 1</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/series-52-weeks-successful-blog-week-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blogging Tip: Picking a Niche in Narrative</title>
		<link>http://jtgraphic.net/blogging-tip-picking-niche-narrative/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blogging-tip-picking-niche-narrative</link>
		<comments>http://jtgraphic.net/blogging-tip-picking-niche-narrative/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:00:41 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bob]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[fred]]></category>
		<category><![CDATA[Golf]]></category>
		<category><![CDATA[narrative]]></category>
		<category><![CDATA[niche]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=581</guid>
		<description><![CDATA[<p>Tweet Bob: What should I blog about?  I want to make money off of my advice. Fred: I don&#8217;t know, but what do you like? Bob: I like playing golf. Fred: Are you any good? Bob: No.  I just started &#8230; <a href="http://jtgraphic.net/blogging-tip-picking-niche-narrative/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/blogging-tip-picking-niche-narrative/">Blogging Tip: Picking a Niche in Narrative</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fblogging-tip-picking-niche-narrative%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/blogging-tip-picking-niche-narrative/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/blogging-tip-picking-niche-narrative/"  data-text="Blogging Tip: Picking a Niche in Narrative" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/blogging-tip-picking-niche-narrative/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/blogging-tip-picking-niche-narrative/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><span style="color: #800000">Bob: What should I blog about?  I want to make money off of my advice.</span></p>
<p><span style="color: #000080">Fred: I don&#8217;t know, but what do you like?</span></p>
<p><span style="color: #800000">Bob: I like playing golf.</span></p>
<p><span style="color: #000080">Fred: Are you any good?</span></p>
<p><span style="color: #800000">Bob: No.  I just started about 3 months ago.  My handicap is 38.</span></p>
<p><span style="color: #000080">Fred: You shouldn&#8217;t blog about golf advice. Are you good at anything?</span></p>
<p><span style="color: #800000">Bob: I&#8217;m a wizard at Excel.</span></p>
<p><span style="color: #000080">Fred: Do you like it?</span></p>
<p><span style="color: #800000">Bob: Kind of, but only when I have a challenging problem.</span></p>
<p><span style="color: #000080">Fred: Why not do a blog about challenging excel problems?  You could also start a blog &#8211; more like a journal of learning to golf better.  I suspect the Excel blog will attract more people.</span></p>
<p><span style="color: #800000">Bob: Two different blogs?</span></p>
<p><span style="color: #000080">Fred: Yeah, I think that&#8217;s a great idea.  The point is: don&#8217;t do what you love, do what you like and are knowledgable about.  People out there are looking for GOOD information, so make sure you give it to them.</span></p>
<p><span style="color: #800000">Bob: How do I make money off of it?</span></p>
<p><span style="color: #000080">Fred: Wait until a few hundred people actually care about you and then come see me.</span></p>
<p><span style="color: #800000">Bob: How will I know they care?</span></p>
<p><span style="color: #000080">Fred: You&#8217;ll know.</span></p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fblogging-tip-picking-niche-narrative%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/blogging-tip-picking-niche-narrative/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/blogging-tip-picking-niche-narrative/"  data-text="Blogging Tip: Picking a Niche in Narrative" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/blogging-tip-picking-niche-narrative/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/blogging-tip-picking-niche-narrative/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/blogging-tip-picking-niche-narrative/">Blogging Tip: Picking a Niche in Narrative</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/blogging-tip-picking-niche-narrative/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Paginating in MSSQL</title>
		<link>http://jtgraphic.net/tidbit-tuesday-paginating-mssql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tidbit-tuesday-paginating-mssql</link>
		<comments>http://jtgraphic.net/tidbit-tuesday-paginating-mssql/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 04:25:41 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[Tidbit Tuesday]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=547</guid>
		<description><![CDATA[<p>Tweet I don&#8217;t really work with MSSQL very much and was wondering how to do pagination similar to doing it in MySQL with the LIMIT command.  It&#8217;s MUCH harder in MSSQL, but here is how you do it: SELECT * &#8230; <a href="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/">Paginating in MSSQL</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-paginating-mssql%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"  data-text="Paginating in MSSQL" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I don&#8217;t really work with MSSQL very much and was wondering how to do pagination similar to doing it in MySQL with the LIMIT command.  It&#8217;s MUCH harder in MSSQL, but here is how you do it:</p>
<pre>SELECT * FROM
 (SELECT TOP [size_of_record_set] * FROM
 (SELECT TOP [end_record] * FROM [table] ORDER BY [field] ASC) AS tbl1 ORDER BY [field] DESC
 ) AS tbl2</pre>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-paginating-mssql%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"  data-text="Paginating in MSSQL" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-paginating-mssql/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-paginating-mssql/">Paginating in MSSQL</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/tidbit-tuesday-paginating-mssql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scheduling Posts in WordPress 2.9.x</title>
		<link>http://jtgraphic.net/scheduling-posts-wordpress-29x/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=scheduling-posts-wordpress-29x</link>
		<comments>http://jtgraphic.net/scheduling-posts-wordpress-29x/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 17:00:26 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[past]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[Vacation]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=564</guid>
		<description><![CDATA[<p>Tweet The easiest way to release content on your blog is to write it all at once and slow release it over time.  This also works really well when you&#8217;re on vacation or otherwise indisposed. Write your post like you &#8230; <a href="http://jtgraphic.net/scheduling-posts-wordpress-29x/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/scheduling-posts-wordpress-29x/">Scheduling Posts in WordPress 2.9.x</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fscheduling-posts-wordpress-29x%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/scheduling-posts-wordpress-29x/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/scheduling-posts-wordpress-29x/"  data-text="Scheduling Posts in WordPress 2.9.x" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/scheduling-posts-wordpress-29x/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/scheduling-posts-wordpress-29x/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>The easiest way to release content on your blog is to write it all at once and slow release it over time.  This also works really well when you&#8217;re on vacation or otherwise indisposed.</p>
<ol>
<li>Write your post like you normally would, but hitting the &#8220;New Post&#8221; button in the top right corner of your dashboard.</li>
<li>Look on the right side of your post window and you should see some publish options.  Click &#8220;Edit&#8221; where it says Publish immediately.</li>
<li>The window should expand and look something like the image to the right.</li>
<li>Set your date and hit &#8220;OK&#8221; and it will release in the future.</li>
</ol>
<p>If you use this on all of your posts, you can dedicate specific large amounts of time to setting up your posts for the week or month.  This way you can have periods of inactivity on your blog and still be releasing content.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fscheduling-posts-wordpress-29x%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/scheduling-posts-wordpress-29x/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/scheduling-posts-wordpress-29x/"  data-text="Scheduling Posts in WordPress 2.9.x" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/scheduling-posts-wordpress-29x/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/scheduling-posts-wordpress-29x/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/scheduling-posts-wordpress-29x/">Scheduling Posts in WordPress 2.9.x</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/scheduling-posts-wordpress-29x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Great Chicken Wings</title>
		<link>http://jtgraphic.net/making-great-chicken-wings/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=making-great-chicken-wings</link>
		<comments>http://jtgraphic.net/making-great-chicken-wings/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:06:15 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=503</guid>
		<description><![CDATA[<p>Tweet A follower of mine made this great video.  Unfortunately I didn&#8217;t get it up here before the Superbowl, but I still think it&#8217;s great Tweet</p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/making-great-chicken-wings/">Making Great Chicken Wings</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fmaking-great-chicken-wings%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/making-great-chicken-wings/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/making-great-chicken-wings/"  data-text="Making Great Chicken Wings" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/making-great-chicken-wings/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/making-great-chicken-wings/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>A follower of mine made this great video.  Unfortunately I didn&#8217;t get it up here before the Superbowl, but I still think it&#8217;s great <img src='http://jtgraphic.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center">
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Fmaking-great-chicken-wings%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/making-great-chicken-wings/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/making-great-chicken-wings/"  data-text="Making Great Chicken Wings" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/making-great-chicken-wings/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/making-great-chicken-wings/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/making-great-chicken-wings/">Making Great Chicken Wings</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/making-great-chicken-wings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Twitter API</title>
		<link>http://jtgraphic.net/twitter-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-api</link>
		<comments>http://jtgraphic.net/twitter-api/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 06:15:06 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Insights]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[curl_close]]></category>
		<category><![CDATA[curl_exec]]></category>
		<category><![CDATA[curl_init]]></category>
		<category><![CDATA[curl_setopt]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tidbit Tuesday]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=493</guid>
		<description><![CDATA[<p>Tweet I&#8217;ve been messing with the Twitter API for the first time in the last few hours, and I&#8217;ve learned a TON.  I know &#8211; I&#8217;m jumping on the bandwagon late, but oh well.  I managed to create a script &#8230; <a href="http://jtgraphic.net/twitter-api/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/twitter-api/">The Twitter API</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftwitter-api%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/twitter-api/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/twitter-api/"  data-text="The Twitter API" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/twitter-api/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/twitter-api/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>I&#8217;ve been messing with the Twitter API for the first time in the last few hours, and I&#8217;ve learned a TON.  I know &#8211; I&#8217;m jumping on the bandwagon late, but oh well.  I managed to create a script to retweet &#8220;stuff&#8221; based on the search functionality and I made a script to automatically follow people that post specific things.  I also managed to get my account suspended in like 2 hours due to suspicious activity &#8211; whoops.  I guess you live, you learn.  Basically everything for status updates and following uses CURL, which looks a little something like this:</p>
<pre>&lt;?php
 $username = "&lt;username&gt;";
 $password = "&lt;password&gt;"; t t
 $message = "&lt;message content&gt;";
 $url = '&lt;API URL&gt;';
 $curl_handle = curl_init();
 curl_setopt($curl_handle, CURLOPT_URL, "$url");
 curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
 curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
 curl_setopt($curl_handle, CURLOPT_POST, 1);
 curl_setopt($curl_handle, CURLOPT_POSTFIELDS, "status=$message");
 curl_setopt($curl_handle, CURLOPT_USERPWD, "$username:$password");
 $buffer = curl_exec($curl_handle);
 curl_close($curl_handle);
?&gt;
</pre>
<p>If you&#8217;re looking for more info on how to use twitter, check out this <a href="http://80c59e-ex0t7s56uh6dma2cr3p.hop.clickbank.net/" target="_blank">eSeries</a>.  It&#8217;s a good resource.</p>
<p>So, have questions?  Let me know.  I&#8217;m hoping to do a twitter series soon!</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftwitter-api%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/twitter-api/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/twitter-api/"  data-text="The Twitter API" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/twitter-api/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/twitter-api/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/twitter-api/">The Twitter API</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/twitter-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Tidbit Tuesday on PHP: Simple MySQL Database Insert Function</title>
		<link>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tidbit-tuesday-php-simple-mysql-database-insert-function</link>
		<comments>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 19:03:49 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[Tidbit Tuesday]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=460</guid>
		<description><![CDATA[<p>Tweet This builds on a function I did last week: db_query(). You can send any array straight to a MySQL database and it&#8217;ll even check to make sure the column actually exists.  Oh, and it returns the id of the &#8230; <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/">Tidbit Tuesday on PHP: Simple MySQL Database Insert Function</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-simple-mysql-database-insert-function%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"  data-text="Tidbit Tuesday on PHP: Simple MySQL Database Insert Function" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>This builds on a function I did last week: <a href="http://www.jtgraphic.net/2009/11/tidbit-tuesday-php-simple-mysql-database-query-function/" target="_blank">db_query()</a>.  You can send any array straight to a MySQL database and it&#8217;ll even check to make sure the column actually exists.  Oh, and it returns the id of the record you just added in case you needed it.</p>
<pre>&lt;?php
   function db_array_insert($cfg_array, $table, $array) {
      require_once("dbQuery.function");

      $sql = "show columns from ".$table
      $tableArray = db_query($cfg_array, $sql);
      $inputString = "";

      foreach($tableArray as $key =&gt; $value) {
         if (array_key_exists($value[0], $array) &amp;&amp; $value[0])
            $inputString .= "'".addslashes($array[$value[0]])."', ";
         else
            $inputString .= "'', ";
      }

      $inputString = substr($inputString, 0, -2);
      $sql = "insert into $table values(".$inputString.")"
      db_query($cfg_array, $sql);

      return mysql_insert_id();
   }

   $insert_array = array(
      "column_1" =&gt; "something_1",
      "column_2" =&gt; "something_2"
   );

   $cfg_array = array(
      "db_loc" =&gt; 'www.databaselocation.com',
      "db_user" =&gt; 'some user'
      "db_pass" =&gt; 'some password'
      "db_name" =&gt; 'database_name_here'
   );

   db_array_insert($cfg_array, "some_table", $insert_array); //and use it.
?&gt;
</pre>
<p>So what do you think?  Having a problem?  Just let me know in the comments.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-simple-mysql-database-insert-function%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"  data-text="Tidbit Tuesday on PHP: Simple MySQL Database Insert Function" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/">Tidbit Tuesday on PHP: Simple MySQL Database Insert Function</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-insert-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tidbit Tuesday on PHP: Simple MySQL Database Query Function</title>
		<link>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tidbit-tuesday-php-simple-mysql-database-query-function</link>
		<comments>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 17:28:20 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[db_query]]></category>
		<category><![CDATA[die]]></category>
		<category><![CDATA[foreach]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql_connect]]></category>
		<category><![CDATA[mysql_error]]></category>
		<category><![CDATA[mysql_query]]></category>
		<category><![CDATA[mysql_select_db]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[Tidbit Tuesday]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=452</guid>
		<description><![CDATA[<p>Tweet It&#8217;s always great to create functions for those things you do a lot.  Probably the single most common function I execute is database calls. Here is a simple script for hitting up your MySQL database with a query: &#60;?php &#8230; <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/">Tidbit Tuesday on PHP: Simple MySQL Database Query Function</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-simple-mysql-database-query-function%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"  data-text="Tidbit Tuesday on PHP: Simple MySQL Database Query Function" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>It&#8217;s always great to create functions for those things you do a lot.  Probably the single most common function I execute is database calls.</p>
<p>Here is a simple script for hitting up your MySQL database with a query:</p>
<pre>
&lt;?php
   if(!function_exists(dbQuery)) {
      function db_query($cfg_array, $query) {
         $connection =
            mysql_connect(
               $cfg_array['db_loc'],$cfg_array['db_user'],$cfg_array['db_pass']
            ) or die(mysql_error());

         mysql_select_db($cfg_array['db_name'],$connection)
            or die(mysql_error()." &gt;&gt; ".$query);
         $result = mysql_query($query,$connection)
            or die (mysql_error()." &gt;&gt; ".$query);
         $i = 0;

         if($result != 1) {
            while ($data_array = mysql_fetch_array($result)) {
               foreach($data_array as $key =&gt; $value) {
                  $tableArray[$i][$key] = stripslashes($data_array[$key]);
               }

               $i++;
            }

            return $tableArray;
         }
      }
   }
?&gt;
</pre>
<p>You should be able to just copy and paste this as a function and call it in one of two ways:</p>
<pre>
$cfg_array = array(
   "db_loc" =&gt; 'www.databaselocation.com',
   "db_user" =&gt; 'some user'
   "db_pass" =&gt; 'some password'
   "db_name" =&gt; 'database_name_here'
);

$query = "SELECT * FROM 'table' WHERE some_column = 'something'";

db_query($cfg_array, $query); // This will return an array with the table in it.

$query = "UPDATE/DELETE/ETC * FROM 'table' WHERE some_column = 'something'";

db_query($cfg_array, $query); // This will return return an empty array, but still works.
</pre>
<p>I use this function in EVERYTHING.  I also have some other functions that use this as its base.  Someday I&#8217;ll turn it into a class.</p>
<p>So, what do you think?</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-simple-mysql-database-query-function%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"  data-text="Tidbit Tuesday on PHP: Simple MySQL Database Query Function" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/">Tidbit Tuesday on PHP: Simple MySQL Database Query Function</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/tidbit-tuesday-php-simple-mysql-database-query-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tidbit Tuesday on PHP: Holiday Notices for Business Sites</title>
		<link>http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tidbit-tuesday-php-holiday-notices-business-sites</link>
		<comments>http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 20:47:48 +0000</pubDate>
		<dc:creator>jt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Custom Functions]]></category>
		<category><![CDATA[if]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[strtotime]]></category>
		<category><![CDATA[Tidbit Tuesday]]></category>

		<guid isPermaLink="false">http://www.jtgraphic.net/?p=343</guid>
		<description><![CDATA[<p>Tweet This is a handy script for managing an out of office message on your website.  I find this very useful on business websites when you&#8217;re tired of making that one little change to let people know when the office &#8230; <a href="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/">Continue reading <span class="meta-nav">&#8594;</span></a></p><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/">Tidbit Tuesday on PHP: Holiday Notices for Business Sites</a></p>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-holiday-notices-business-sites%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"  data-text="Tidbit Tuesday on PHP: Holiday Notices for Business Sites" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>This is a handy script for managing an out of office message on your website.  I find this very useful on business websites when you&#8217;re tired of making that one little change to let people know when the office will be shut down.  With about 15 minutes of extra work, you only need to do it once a year.</p>
<p>Let&#8217;s say for instance we&#8217;re doing all of the major U.S. Holidays in 2010, observing weekend Holidays with a day off on either side of the weekend.  This means first we need to determine what those dates are.  I just happen to have looked up the six most common, listed below:</p>
<ul>
<li>New Year&#8217;s Eve &#8211; January 1st</li>
<li>Memorial Day &#8211; May 31st</li>
<li>Independence Day &#8211; July 5th (July 4th is Sunday)</li>
<li>Labor Day &#8211; September 6th</li>
<li>Thanksgiving &#8211; November 25th and 26th</li>
<li>Christmas &#8211; December 24th (December 25th is a Saturday)</li>
</ul>
<p>Now that we know our dates, we can build them into an array:</p>
<pre>$date_array = array(
   "New Yearís Eve" =&gt;
      array("leaving" =&gt; "2010-12-31", "returning" =&gt; "2011-01-03"),
   "Memorial Day" =&gt;
      array("leaving" =&gt; "2010-05-31", "returning" =&gt; "2010-06-01"),
   "Independence Day" =&gt; // July 4th is a Sunday
      array("leaving" =&gt; "2010-07-05", "returning" =&gt; "2010-07-06"),
   "Labor Day" =&gt;
      array("leaving" =&gt; "2010-09-06", "returning" =&gt; "2010-09-07"),
   "Thanksgiving" =&gt;
      array("leaving" =&gt; "2010-11-025", "returning" =&gt; "2010-11-029"),
   "Christmas" =&gt; // December 25th is a Saturday
      array("leaving" =&gt; "2010-12-24", "returning" =&gt; "2010-12-27"),
 );</pre>
<p>The date array can easily be stored in a database or be made up of more complicated functions that would calculate the holidays across multiple years with some basic logic.  Maybe we&#8217;ll cover the latter part in another post some day.</p>
<p>Now we need to build the function itself.  This function will be run every time the page loads.  You can even include the function in a separate file to be included on multiple pages:</p>
<pre>function holiday_message($date, $date_array) {
   $date = strtotime($date); // Reformat the date so we can do math on it.
   foreach($date_array as $key =&gt; $value) {
      $leaving = strtotime($value['leaving']);
      $returning = strtotime($value['returning']);
      $early_warning = $leaving - 86400 * 7;
      // If the date is between (7 days before) leaving and returning
         if($date &gt; $early_warning &amp;&amp; $date &lt; $returning) {
            echo
               "We will be observing ".$key." from ".date("Y-m-d", $leaving).
               " until ". date("Y-m-d", $returning).".
               When we return we will be more than happy to assist you.";
         }
   }
}</pre>
<p>Now we just need to execute this function anywhere on the page:</p>
<pre>holiday_message(date("Y-m-d H:i:s"),$date_array);</pre>
<p>This code can be customized in numerous different ways, so the the message is more formal, or works for your specific situation.  You can also change the way days are stored or calculated, like the example above.  This is a core to get you started.  Where can you go from here?</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fjtgraphic.net%2Ftidbit-tuesday-php-holiday-notices-business-sites%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"  data-text="Tidbit Tuesday on PHP: Holiday Notices for Business Sites" data-count="horizontal" data-via="jtgraphic">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Originally posted on jtGraphic.net: <a href="http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/">Tidbit Tuesday on PHP: Holiday Notices for Business Sites</a></p>]]></content:encoded>
			<wfw:commentRss>http://jtgraphic.net/tidbit-tuesday-php-holiday-notices-business-sites/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

