<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
>

<channel>
	<title>MasonWorld Late Night Internet Marketing &#187; php code</title>
	<atom:link href="http://www.masonworld.com/tag/php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.masonworld.com</link>
	<description>The MasonWorld Late Night Internet Marketing Blog and Podcast -- Building Successful Internet Businesses One Night At A Time.  Host:  Mark Mason.</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:31: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>
<!-- podcast_generator="Blubrry PowerPress/2.0.4" -->
	<itunes:summary>The MasonWorld Late Night Internet Marketing Blog and Podcast -- Building Successful Internet Businesses One Night At A Time.  Host:  Mark Mason.</itunes:summary>
	<itunes:author>MasonWorld Late Night Internet Marketing</itunes:author>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.masonworld.com/wordpress/wp-content/plugins/powerpress/itunes_default.jpg" />
	<itunes:subtitle>The MasonWorld Late Night Internet Marketing Blog and Podcast -- Building Successful Internet Businesses One Night At A Time.  Host:  Mark Mason.</itunes:subtitle>
	<image>
		<title>MasonWorld Late Night Internet Marketing &#187; php code</title>
		<url>http://www.masonworld.com/wordpress/wp-content/plugins/powerpress/rss_default.jpg</url>
		<link>http://www.masonworld.com</link>
	</image>
		<item>
		<title>Using Opt-Ins to Increase List Subscriptions</title>
		<link>http://www.masonworld.com/internet-marketing/using-opt-ins-to-increase-list-subscriptions/</link>
		<comments>http://www.masonworld.com/internet-marketing/using-opt-ins-to-increase-list-subscriptions/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 06:27:31 +0000</pubDate>
		<dc:creator>Mark E. Mason</dc:creator>
				<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[aweber]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google analytics code]]></category>
		<category><![CDATA[google search]]></category>
		<category><![CDATA[guru]]></category>
		<category><![CDATA[initial experiment]]></category>
		<category><![CDATA[josh spaulding]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[MasonWorld]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[popup script]]></category>
		<category><![CDATA[search yahoo search]]></category>
		<category><![CDATA[stumbleupon]]></category>

		<guid isPermaLink="false">http://www.masonworld.com/?p=787</guid>
		<description><![CDATA[I have written a lot recently about the importance of mailing lists. Last Friday, in fact, I explained about how I had been working on a lightbox solution for optins using the You Can't Block This script. The only problem is that I have been worried about bugging my normal readers and tarnishing my brand. [...]]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>I have written a lot recently about the <a title="Mailing Lists" href="http://www.masonworld.com/internet-marketing/the-importance-of-your-mailing-list/">importance of mailing lists</a>.  Last Friday, in fact, I explained about how I had been working on <a title="You Can't Block This" href="http://www.masonworld.com/free-stuff/free-unblockable-popup-software/">a lightbox solution for optins</a> using the You Can't Block This script.  The only problem is that I have been worried about bugging my normal readers and tarnishing my brand.</p>
<p>Sure enough, I got this thoughtful comment from a loyal reader (<a title="The Big Blogger" href="http://thebigblogger.net/">Alex The Big Blogger</a>):</p>
<blockquote><p>I’m not a fan of Popups, I consider them a little bit spammy, although I’ve tested them out on my own blog and I too have seen good results. I’ve made them with Aweber and set a delay to the apparence. On this way the visitor fisrt starts reading the post and then he gets the popup. Getting a popup as the first thing when i come to a site sets me up and makes me walk away.</p></blockquote>
<p>That is exactly what I am worried about -- but I like the idea of a delay.</p>
<p><span id="more-787"></span></p>
<p>Then it occurred to me that I could just put some php code around the JavaScript based on the referrer to determine if the lightbox appeared.  For my initial experiment, I am only showing the opt-in box to users from StumbleUpon, Google search, Yahoo search and MSN search.  That way, I should not be offending my regular readers.  (I know I am not the first person to have this idea, by the way).</p>
<p>In addition to that, I have the popup set to display once per browser session.  That should allow for minimum annoyance.</p>
<p>I will let you know how it goes.   I have added some Google Analytics code to the popup box html, so I should be able to get some decent stats on the performance.</p>
<p>One issue -- not all browsers are configured to report the referring website.  For our current experiment, those visitors will not see the box.  I may change this behavior later.</p>
<p>In case you are interested, here is the trivial php code to manage who sees the popup:</p>
<p><code></p>
<p><?php<br />
 $referer = strtolower($_SERVER["HTTP_REFERER"]);<br />
 if ( strstr($referer,"google")||strstr($referer,"yahoo")||<br />
      strstr($referer,".live.")||strstr($referer, "stumbleupon"))<br />
{<br />
?></p>
<p>  -- POPUP SCRIPT HERE ---</p>
<p><?php } ?></p>
<p></code></p>
<p>(Special thanks to <a title="Internet Marketing Guru Josh Spaulding" href="http://www.ez-onlinemoney.com/blog">Josh Spaulding</a> for help with troubleshooting)</p>
<p>Have a great day!<br />
Mark</p>
<div class="shr-publisher-787"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.masonworld.com/internet-marketing/using-opt-ins-to-increase-list-subscriptions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Jack of All Trades, Master of None</title>
		<link>http://www.masonworld.com/getting-organized/jack-of-all-trades-master-of-none/</link>
		<comments>http://www.masonworld.com/getting-organized/jack-of-all-trades-master-of-none/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 22:00:11 +0000</pubDate>
		<dc:creator>Mark E. Mason</dc:creator>
				<category><![CDATA[Getting Organized]]></category>
		<category><![CDATA[affiliate]]></category>
		<category><![CDATA[affiliate program]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[caroline middlebrook]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[garry conn]]></category>
		<category><![CDATA[internet marketer]]></category>
		<category><![CDATA[Internet Marketing]]></category>
		<category><![CDATA[internet projects]]></category>
		<category><![CDATA[long tail keywords]]></category>
		<category><![CDATA[Make Money Online]]></category>
		<category><![CDATA[making money on the internet]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[niche]]></category>
		<category><![CDATA[niche site]]></category>
		<category><![CDATA[part-time internet marketing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[podcasts]]></category>

		<guid isPermaLink="false">http://www.masonworld.com/getting-organized/jack-of-all-trades-master-of-none/</guid>
		<description><![CDATA[One of the biggest challenges for me personally working on Internet Marketing part time is focus. As a part time Internet Marketer, I have a very limited amount of time to spend on tasks related to my new hobby. In fact, I try not to spend more than a couple of hours a day on [...]]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One of the biggest challenges for me personally working on Internet Marketing part time is focus. As a part time Internet Marketer, I have a very limited amount of time to spend on tasks related to my new hobby. In fact, I try not to spend more than a couple of hours a day on Internet Marketing related activities. When I started out, my goal was to demonstrate that I could make some money on the Internet -- inspired by a segment I saw on the Today Show.</p>
<p>Since that time, I have started several blogs, a link directory, a couple of niche sites, some forums, switched blogging platforms, switched hosting companies, done some business/administrative tasks, read books, listened to podcasts, read and commented on blogs, studied marketing, joined countless affiliate programs, hired writers, won contests, built a mailing list, made friends, hired programmers, purchased software, written php code, changed blog themes many times, chatted on GTalk, and hung out on forums. The one thing that I have not done much of is make money. Go figure.</p>
<p>Speaking of distractions, I am writing this post on a plane bound for Hong Kong using ecto, which I mentioned earlier this week. I think this software is a keeper -- but I have not quite made up my mind.  (Too bad they don't have an affiliate program). It does have some limitations that are annoying, however, For example, you cannot add a category or contol the post slug.  My friend Garry Conn likes Blogdesk.  I need to check that out.</p>
<p>Back to my story.  Don't get me wrong. I am having a blast, and I have learned a ton. The problems are that I haven't really finished anything - and the learning is not well documented. As it happens, my wife will tell you that this "unfinished project thing" also happens around the house. Great at starting projects; less great at finishing them. So, I thought it would be interesting to list all the current projects that I have underway or in my mind and see if I could prioritize them. Once again taking a page out of Caroline Middlebrook's book, I going to create a Projects page to document all of this so I can keep it straight in my own mind.</p>
<p><span id="more-119"></span></p>
<p>Another thing that I plan to do is increase my post frequency on this blog by making sure that I document what I did that day. After all, the value that I am trying to provide is an account of my experience. I am not trying to claim that I can teach people how to make $4B on the Internet this week. I'll categorize the posts by project. So watch for the post count to go up in the coming weeks.</p>
<p>So, what are all these current projects about? I'll work on a list tonight and post it tomorrow.</p>
<p>Best regards,</p>
<p>Mark</p>
<div class="shr-publisher-119"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.masonworld.com/getting-organized/jack-of-all-trades-master-of-none/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Niche Super-Site:  Adding a PopShop</title>
		<link>http://www.masonworld.com/making-money-on-the-web/niche-super-site-adding-a-popshop/</link>
		<comments>http://www.masonworld.com/making-money-on-the-web/niche-super-site-adding-a-popshop/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 23:00:41 +0000</pubDate>
		<dc:creator>Mark E. Mason</dc:creator>
				<category><![CDATA[Web Monitization]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[affiliate]]></category>
		<category><![CDATA[affiliate network]]></category>
		<category><![CDATA[affiliate program]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[choosing niche keywords]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[elvis]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[making money]]></category>
		<category><![CDATA[MasonWorld]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[niche]]></category>
		<category><![CDATA[niche site]]></category>
		<category><![CDATA[niche store]]></category>
		<category><![CDATA[niche super-site]]></category>
		<category><![CDATA[niche web site]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[phpBay]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[PopShops]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.masonworld.com/making-money-on-the-web/niche-super-site-adding-a-popshop/</guid>
		<description><![CDATA[So far on our journey to build the Niche Super-Site we have discussed: Definition of the Niche Super-Site case study List of Niche Super-Site design goals How to select your niche Choosing your keywords Choosing a domain name Setting up your niche site Making things look nice Installing Plugins Getting listed in Google Making Money [...]]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>So far on our journey to build the Niche Super-Site we have discussed:</p>
<ul>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-site-case-study/" title="Niche Super-Site Case Study">Definition of the Niche Super-Site case study</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-begin-with-the-end-in-mind/" title="Niche Super-Site Design Goals">List of Niche Super-Site design goals</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-how-to-select-the-niche/" title="How to select your niche">How to select your niche</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-choosing-keywords/" title="Choosing niche keywords">Choosing your keywords</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-choosing-a-domain-name/" title="Choosing a domain name for your niche site">Choosing a domain name</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-getting-your-site-up/" title="Setting up your niche site">Setting up your niche site</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-making-things-look-nice/" title="Niche Super-Site Making Things Look Nice">Making things look nice</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-adding-plugins/" title="Installing WordPress Plugins">Installing Plugins</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-getting-listed-in-google/" title="Getting you rniche site listed in Google">Getting listed in Google</a></li>
<li><a href="http://www.masonworld.com/making-money-on-the-web/niche-super-site-making-money-with-phpbay/" title="Making Money with phpBay">Making Money with phpBay</a></li>
</ul>
<p>Yesterday, we talked about how you could diversify your niche income by taking advantage of the <a href="http://rover.ebay.com/rover/1/711-1751-2978-3/1?aid=2202639&amp;pid=2805997&amp;sid=niche_phpbay" onmouseout="window.status=' ';return true;" onmouseover="window.status='http://affiliates.ebay.com';return true;" target="_blank">eBay</a> affiliate sales program by taking advantage of  <a href="http://www.masonworld.com/recommends/auctions" title="phpBay Pro">phpBay Pro</a>.  Today, we'll look at our second method of nich store diversification -- <a href="http://www.popshops.com" title="PopShops">PopShops</a>.</p>
<p>PopShops provides tools for setting up an affiliate store inside your website.  PopShops claims to be the largest searchable collection of affiliate products (said to be currently over 28 million and growing).  They work with the major affiliate networks, including Commission Junction, LinkShare, ShareASale, and Performics.  With the PopShops program, you keep all of your commissions.   ProShops offers a <a href="https://www.popshops.com/signup/Basic">Free Basic account</a> where users can add affiliate products one page at a time using JavaScript.  <a href="https://www.popshops.com/signup/Pro">I use the Pro account</a> ($5/month) because that allows you to use php instead of JavaScript.  This is important because the php is SEO friendly and the JavaScript is not.  This is because with the Pro account shops, the product descriptions are actually in your page, and can be inded by Google (similar to <a href="http://www.masonworld.com/recommends/auctions" title="phpBay Pro">phpBay Pro</a>).  PopShops also offers an <a href="https://www.popshops.com/signup/Enterprise">Enterprise account</a> (at $30/month).  The latter account offers better sales tracking, supporting multiple commission junction PIDs (among other things).  If I am making so much money at some point that I am confused about where it is coming from, I plan to upgrade.  You can read more about PopShops <a href="http://www.pcworld.com/article/id,136354-c,adsvisitortracking/article.html">in PC World</a> (good description of what they do).</p>
<p>To make this work really well on our nice site, we need the PopShops plugin for WordPress.  As of this writing, it is still in Alpha release, but it works quite well for me.  Features include (<a href="http://www.popshops.com/faq/wordpress" title="PopShops WordPress Plugin">from their website</a>):<span id="more-81"></span></p>
<ul>
<li>Add products to your WP blog from any of the major affiliate networks.</li>
<li>Click the POP <img src="http://www.popshops.com/content/wp-popshops-icon.gif" style="vertical-align: middle" /> button on your WYSIWYG post editor to add affiliate product links directly into your posts.</li>
<li>Build affiliate stores for your sidebar, footer, static pages, under a post, or randomly after posts.</li>
<li>As always, <span style="font-weight: bold">keep 100% of your commissions</span></li>
</ul>
<p>So, for <a href="http://www.historyofelvis.com" title="HistoryOfElvis.com -- Keeping the King Alive">HistoryofElvis.com</a>, we want to add shops that Elvis fans will enjoy.  You can use your imagination.  For this demonstration, I have added shop pages targeted at <a href="http://www.historyofelvis.com/elvis-apparel/" title="Elvis Apparel">Elvis Apparel</a>, <a href="http://www.historyofelvis.com/elvis-auto-accessories/" title="Elvis Auto Accessories">Elvis Auto Accessories</a>, <a href="http://www.historyofelvis.com/elvis-pins/" title="Elvis Pins">Elvis Pins</a>, etc.  I also created a sample Elvis t-Shirt PopShop at the end of this post for your viewing pleasure.</p>
<p>One thing that you have to watch out for with PopShops is adding products for merchants in commission junction for which you have no relationship.  As far as I know, there is no way to tell PopShops what merchants have accepted you on Commission Junction.  So, if you accidentally add a CafePress shirt to your PopShop page and you are not a member of the CafePress affiliate program through Comission Junction, you will not get any commission for the sale of that item.</p>
<p>One great thing about PopShops is the AutoFeed feature (available on Pro and Enterprise accounts).   With AutoFeed you can automatically display additional pages of products similar to the ones you originally selected for your shop.  The technology uses the same shop keywords and merchants you originally chose to decide what items to add.  AutoFeed pages are SEO friendly when using the php code option.</p>
<p>So, that's about it for PopShops.  Man, this blogging stuff is hard work.  Phew.</p>
<p>Tomorrow we need to talk about Adsense.  That will complete our three-pronged monetization attach (Adsense, niche store and niche auction).  In the mean time, don't forget to check out the cool PopShop store below.  Neat, huh?</p>
<div class="shr-publisher-81"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.masonworld.com/making-money-on-the-web/niche-super-site-adding-a-popshop/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Niche Site Case Study</title>
		<link>http://www.masonworld.com/making-money-on-the-web/niche-site-case-study/</link>
		<comments>http://www.masonworld.com/making-money-on-the-web/niche-site-case-study/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 21:06:02 +0000</pubDate>
		<dc:creator>Mark E. Mason</dc:creator>
				<category><![CDATA[Web Monitization]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[affiliate]]></category>
		<category><![CDATA[affiliate marketing]]></category>
		<category><![CDATA[affiliate program]]></category>
		<category><![CDATA[black hat]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[caroline middlebrook]]></category>
		<category><![CDATA[clickbank]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[eBook]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[making money]]></category>
		<category><![CDATA[making money on the internet]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[MasonWorld]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[niche]]></category>
		<category><![CDATA[niche site]]></category>
		<category><![CDATA[niche store]]></category>
		<category><![CDATA[niche super-site]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[phpBay]]></category>
		<category><![CDATA[PLR]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.masonworld.com/making-money-on-the-web/niche-site-case-study/</guid>
		<description><![CDATA[It's been almost two months since I initially got the bug to "make money on the internet." At that time, I stated my goal was to work at this part time, and that I was not interested in "black hat" money-making schemes. Just before Christmas, I published my initial plan of learning what I was [...]]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p> It's been almost two months since I initially got the bug to "make money on the internet."  At that time, I stated my goal was to work at this part time, and that I was not interested in "black hat" money-making schemes.  Just before Christmas, I published my<a href="http://www.masonworld.com/making-money-on-the-web/my-plan-for-making-money-on-the-internet/" title="Initial Plan for Making Money on the Internet"> initial plan of learning what I was doing</a> by working on a few sites.  Those sites are up, and boy have I learned a lot.  Since Christmas, I have experimented with b2evolution and Joomla, and settled on WordPress as a content management system and blogging platform.  I have played with Adsense, Azoogle, Commission Junction, ClickBank and other affiliate programs.  I have written php code.  I have purchased some software (like <a href="http://www.masonworld.com/recommends/phpBay" title="phpBay affiliate link">phpBay</a> - affiliate link), and spent a lot of time reading.  Tons of time reading.</p>
<p>Like everyone else, I've read John Chow and ShoeMoney, free SEO books, four million posts at DP Forums, etc.  Right now, my favorite blog for this stuff is <a href="http://www.caroline-middlebrook.com/blog/" title="Caroline Middlebrook's blog">Caroline Middlebrook's site</a>.   I really like her style (she has been given the moniker "The Honest Blogger" by many of her loyal readers).  Caroline is basically trying to do full time what I want to do part time.  She recently released a good e-book about <a href="http://www.caroline-middlebrook.com/blog/niche-sites-wp/" title="How to Build a Niche Site with WordPress">how to build a niche site with WordPress</a>.  It's a good read, especially if you need help with the mechanics of installing WordPress and other technical details that often get left out of other eBooks.</p>
<p>Inspired by Caroline's eBook and some of her postings, I am ready to integrate all of the knowledge that I have accumulated over the last 2 months in a live day-by-day demonstration.  I have decided to build a niche site live as a case study on how to do this.  Caroline's excellent eBook discusses building a "simple" niche site that relies on Adsense.  That's an awesome place to start and perfect for the purposes of her eBook.  I will be expanding Caroline's ideas to include discussions on PLR article content, news feeds, eBay auctions, backlinks, affiliate marketing, etc.  The result will be a fully integrated niche site rich with content, ads and stuff to buy.  I'm calling it a "Niche Super-Site."  Pretty nifty, huh?</p>
<p>I'll post daily on my progress for a month or so,  and we'll track the blog stats and progress together throughout February.  I'll be accepting reader suggestions and ideas, and will grow the site live throughout the month.  Along the way, I'll be handing out the "link love" posting links to all the references that I use to get the site operational.</p>
<p><span id="more-54"></span></p>
<p>So, stay tuned.  It should be a wild ride.</p>
<p>Tomorrow, we'll tackle the topic of beginning with the end in mind, followed with a discussion about how to select a niche for our super-site.  I will announce my choice for a niche after that and we'll subsequently register a domain name.  Goal is one post/step per day (which is consistent with my part-time internet monetization strategy).</p>
<p>See you tomorrow.</p>
<p>Related posts:</p>
<p>%RELATEDPOSTS%</p>
<div class="shr-publisher-54"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.masonworld.com/making-money-on-the-web/niche-site-case-study/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Adding FeedFlare to b2evolution with Multiple Blogs</title>
		<link>http://www.masonworld.com/blogging-software/adding-feedflare-to-b2evolution-with-multiple-blogs/</link>
		<comments>http://www.masonworld.com/blogging-software/adding-feedflare-to-b2evolution-with-multiple-blogs/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 14:46:05 +0000</pubDate>
		<dc:creator>Mark E. Mason</dc:creator>
				<category><![CDATA[Blogging Software]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[eBook]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[MasonWorld]]></category>
		<category><![CDATA[money]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[subscribers]]></category>

		<guid isPermaLink="false">http://www.masonworld.com/wordpress/?p=33</guid>
		<description><![CDATA[b2evolution is a great blog tool that includes all the features of traditional blog tools, and add cool stuff like file &#38; photo management, advanced skinning, multiple blogs support, detailed user permissions and third party plug-ins! FeedFlare is a way to give subscribers to you b2evolution blog easy ways to email, tag, share, and act [...]]]></description>
			<content:encoded><![CDATA[<p></p><!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>b2evolution is a great blog tool that includes all the features of traditional blog tools, and add cool stuff like file &amp; photo management, advanced skinning, multiple blogs support, detailed user permissions and third party plug-ins!</p>
<p>FeedFlare is a way to give subscribers to you b2evolution blog easy ways to email, tag, share, and act on the content you publish. FeedFlare places a simple footer at the bottom of each content item, helping you to distribute, inform and create a community around your content.</p>
<p>So, the question is, how do you get FeedFlares to appear in your b2evo posts?  At this writing, no FeedFlare plugin is available for b2evo.  So, I document here the method that I used to hack a b2evo skin to display FeedFlares.  In my installation, I have multiple blogs running on one b2evo install.  FeedFlare code is specific to each feed (i.e. each blog), so I needed a custom solution that would change the FeedFlare code depending on what blog was being viewed.</p>
<p><!-- Adsense block #4 not displayed since it exceed the limit of 3 --></p>
<p><span id="more-33"></span></p>
<p>Note that these instructions apply to b2evo version 2.3.  Your mileage may vary with other b2evo versions.</p>
<p>At the end of this hack, you should have FeedFlare links at the bottom of your posts when your readers are looking at the full post view (the one that shows the comments and trackbacks.)  It does not modify the blog “multi-post” view.  You could extend this hack to do that easily.</p>
<p>Here are the steps:</p>
<ol>
<li><a href="http://www.feedburner.com/fb/a/home">Burn your feed</a></li>
<li>Under the Optimize tab in FeedBurner (under My Feeds, select your feed), enable the FeedFlares you desire (for example, Digg, del.ico.us, etc.</li>
<li>Find your skin files.  For this example, I am hacking the evocamp skin.</li>
<li>Make a copy your current skin directory.  Call it something that makes sense to you.  Let’s call it foo-skin.</li>
<li>Go into the foo-skin directory.  Make a copy of the single.main.php file.  Call it single.main.php.orig.  This will be a backup for you, just in case.  <img src="http://www.masonworld.com/blogs/rsc/smilies/icon_smile.gif" alt=":)" class="middle" />  Read that file.  You will see that this is php code that builds the single post page.</li>
<li>Find the code that inserts the post content.  In my file, this is clearly labeled with  <strong>—- POST CONTENT INCLUDED HERE —-</strong></li>
<li>Find the end of that code block.  In my file, this is clearly labeled.  Look for the “?&gt;” that indicates the end of the php code block.  We want are FeedFlares to appear right after the post</li>
<li>Insert the following code (below) after the end of the post content code.</li>
<li>Edit the code below to match your feeds and your blog IDs.</li>
<li>Wait for FeedBurner to resync with your feed.  This can take a while, but will go faster if you ping them.</li>
</ol>
<p>Hope this helps.  Feedback is welcome.  </p>
<p><code></p>
<p><h3 class="feedback_section">Social Bookmarks and Tags (tell people about this post)</h3>
</p>
<p><?php<br />
// code to add FeedFlares to the end of the post<br />
// works for multiple feeds (that is what the switch case is for)</p>
<p>// Find the blog ID<br />
$items_blog = $Item->get_Blog();<br />
$items_blog_ID = $items_blog->ID; </p>
<p>// Watch out for blogs without flares<br />
$do_flare = 1;</p>
<p>switch ( $items_blog_ID ):</p>
<p>  //Blog ID = 4<br />
  case 4:<br />
  $fb_src = "http://feeds.feedburner.com/~s/MasonWorldTestBlog";<br />
  break;</p>
<p>  //Blog ID = 5<br />
  case 5:<br />
  $fb_src = "http://feeds.feedburner.com/~s/FightinTexasAggieGoodBullBlog";<br />
  break;</p>
<p>  //Blog ID = 7<br />
  case 7:<br />
  $fb_src = "http://feeds.feedburner.com/~s/Masonworld";<br />
  break;</p>
<p>  //Blog ID = 8<br />
  case 8:<br />
  $fb_src = "http://feeds.feedburner.com/~s/CochlearWorld";<br />
  break;</p>
<p>  //Blog ID = 9<br />
  case 9:<br />
  $fb_src = "http://feeds.feedburner.com/~s/eBookMoneyOnline";<br />
  break;</p>
<p>  //Yikes, our blog is not set up for flares<br />
  default:<br />
  $do_flare =0;</p>
<p>endswitch;</p>
<p>if ($do_flare) {<br />
echo '<script src="'.$fb_src.'?i='.$Item->get_permanent_url().'" type="text/javascript" charset="utf-8" ></script>';<br />
};</p>
<p>// END code to add FeedFlares to the end of the post<br />
?><br />
</code></p>
<div class="shr-publisher-33"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.masonworld.com/blogging-software/adding-feedflare-to-b2evolution-with-multiple-blogs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.masonworld.com @ 2012-02-08 18:06:32 -->
