<?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>Money-Code &#187; tips</title>
	<atom:link href="http://www.money-code.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.money-code.com</link>
	<description>Coding For Online Success</description>
	<lastBuildDate>Fri, 12 Feb 2010 18:27:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Blogger Unleashed</title>
		<link>http://www.money-code.com/2009/07/blogger-unleashed/</link>
		<comments>http://www.money-code.com/2009/07/blogger-unleashed/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 17:23:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.money-code.com/?p=466</guid>
		<description><![CDATA[I&#8217;ve read alot of affiliate / internet marketing web sites over the years. Some are good, some are bad, but usually there is something useful to be found in all of them.
A friend of mine recommended that I read BloggerUnleashed.com, and holy cow.. it&#8217;s great. The amount of useful tips there is amazing. Vic is [...]


Related posts:<ol><li><a href='http://www.money-code.com/2008/07/top-affiliate-challenge-and-wealthy-affiliate-my-thoughts/' rel='bookmark' title='Permanent Link: Top Affiliate Challenge and Wealthy Affiliate &#8211; my thoughts'>Top Affiliate Challenge and Wealthy Affiliate &#8211; my thoughts</a></li>
<li><a href='http://www.money-code.com/2007/09/my-thoughts-on-the-big-3-shoemoney-problogger-and-chow/' rel='bookmark' title='Permanent Link: My thoughts on the big 3 &#8211; Shoemoney, ProBlogger and Chow'>My thoughts on the big 3 &#8211; Shoemoney, ProBlogger and Chow</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2009%2F07%2Fblogger-unleashed%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2009%2F07%2Fblogger-unleashed%2F" height="61" width="51" /></a></div><p><a href="http://bloggerunleashed.com"><img class="alignleft size-full wp-image-467" title="blogger_unleashed" src="http://www.money-code.com/wp-content/uploads/2009/07/blogger_unleashed.jpg" alt="blogger_unleashed" width="184" height="253" /></a>I&#8217;ve read alot of affiliate / internet marketing web sites over the years. Some are good, some are bad, but usually there is something useful to be found in all of them.</p>
<p>A friend of mine recommended that I read <a href="http://bloggerunleashed.com" target="_blank">BloggerUnleashed.com</a>, and holy cow.. it&#8217;s great. The amount of useful tips there is amazing. Vic is running at high level, and is very generous with his techniques and tips.</p>
<p>I would recommend reading his archive and working your way to present. He has fantastic ideas regarding SEO and getting organic traffic, and some of these techniques I&#8217;ve been using with my sites currently.</p>
<p>He is controversial, some say he gives bad advice while others say he&#8217;s the man. So far, I would say he&#8217;s providing some very interesting advice, and advice that I&#8217;m willing to try on my sites.</p>
<p>I&#8217;d love to hear your thoughts about this site.</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2008/07/top-affiliate-challenge-and-wealthy-affiliate-my-thoughts/' rel='bookmark' title='Permanent Link: Top Affiliate Challenge and Wealthy Affiliate &#8211; my thoughts'>Top Affiliate Challenge and Wealthy Affiliate &#8211; my thoughts</a></li>
<li><a href='http://www.money-code.com/2007/09/my-thoughts-on-the-big-3-shoemoney-problogger-and-chow/' rel='bookmark' title='Permanent Link: My thoughts on the big 3 &#8211; Shoemoney, ProBlogger and Chow'>My thoughts on the big 3 &#8211; Shoemoney, ProBlogger and Chow</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2009/07/blogger-unleashed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Great post on PPC at DigitalPoint</title>
		<link>http://www.money-code.com/2008/04/great-post-on-ppc-at-digitalpoint/</link>
		<comments>http://www.money-code.com/2008/04/great-post-on-ppc-at-digitalpoint/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 15:52:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[PPC]]></category>
		<category><![CDATA[digital point]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I was at DigitalPoint today, and came across a great thread "<a href="http://forums.digitalpoint.com/showthread.php?t=799915" target="_blank" rel="nofollow">Adwords and ebay?How necessary?</a>". I personally don't like to use AdWords (I prefer <a href="http://www.money-code.com/target/yahoo.php" target="_blank" rel="nofollow"><u>Yahoo's YSM</u></a>), but I wanted to get some basic tips for PPC in general... since I'm always wanting to learn how others are doing it.

Anyway, manx posted the following <a href="http://forums.digitalpoint.com/showpost.php?p=7392780&#038;postcount=2" target="_blank" rel="nofollow">post</a>, which I thought was extremely useful. I wanted to put in here, so I could easily reference it in the future... but some of you might find it useful as well. It's basic, but the basics get easily lost when you dive into PPC.

<blockquote>



Related posts:<ol><li><a href='http://www.money-code.com/2007/12/how-to-use-ppc-with-your-ebay-affiliate-store-fronts/' rel='bookmark' title='Permanent Link: How to use PPC with your eBay Affiliate store fronts'>How to use PPC with your eBay Affiliate store fronts</a></li>
<li><a href='http://www.money-code.com/2009/07/ppc-to-offers-and-leads/' rel='bookmark' title='Permanent Link: PPC to Offers and Leads'>PPC to Offers and Leads</a></li>
<li><a href='http://www.money-code.com/2009/06/simple-epn-keyword-tracker-for-ppcorganic-searches/' rel='bookmark' title='Permanent Link: Simple EPN Keyword Tracker for PPC/Organic Searches'>Simple EPN Keyword Tracker for PPC/Organic Searches</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2008%2F04%2Fgreat-post-on-ppc-at-digitalpoint%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2008%2F04%2Fgreat-post-on-ppc-at-digitalpoint%2F" height="61" width="51" /></a></div><p>I was at DigitalPoint today, and came across a great thread &#8220;<a rel="nofollow" href="http://forums.digitalpoint.com/showthread.php?t=799915" target="_blank">Adwords and ebay?How necessary?</a>&#8220;. I personally don&#8217;t like to use AdWords (I prefer <a rel="nofollow" href="http://www.money-code.com/target/yahoo.php" target="_blank"><span style="text-decoration: underline;">Yahoo&#8217;s YSM</span></a>), but I wanted to get some basic tips for PPC in general&#8230; since I&#8217;m always wanting to learn how others are doing it.</p>
<p>Anyway, manx posted the following <a rel="nofollow" href="http://forums.digitalpoint.com/showpost.php?p=7392780&amp;postcount=2" target="_blank">post</a>, which I thought was extremely useful. I wanted to put in here, so I could easily reference it in the future&#8230; but some of you might find it useful as well. It&#8217;s basic, but the basics get easily lost when you dive into PPC.</p>
<blockquote><p><em>&#8220;I have found that if you use extremely targetted keywords/keyword phrases in the ads with the destination url going to the exact product, you can make a profit with ebay &amp; adwords.</em></p>
<p><em>For example &#8212; doing a &#8220;handbags&#8221; ad or even a &#8220;designer handbags&#8221; ad has not worked for me, but if I do an ad something like this:</em></p>
<p><em>&#8220;brand name&#8221; handbag<br />
Looking for &#8220;brand name&#8221; handbags?<br />
Huge selection at bargain prices.<br />
Display URL: yourdomain.com/brand-name-handbag<br />
Dest. URL yourdomain.com/brand-name-handbag</em></p>
<p><em>Then the keywords you would use would be:<br />
brand name handbag<br />
brand name handbags<br />
Buy brand name handbags<br />
bargain brand name handbags<br />
brandnamehandbag .com</em></p>
<p><em>AND, use broad, exact and phrase</em></p>
<p><em>Or you can take it a step deeper with<br />
&#8220;brand name&#8221; red handbags</em></p>
<p><em>BUT! Before you even decide to advertise a product that is on eBay, you should also do research on whether the thing actually sells.</em></p>
<p><em>To do this, login to ebay. Go to Advanced search, Enter the Keyword in the Search box, Check the box for &#8220;completed listings only&#8221; then click search.<br />
The results will show you All the listings in the past 2 weeks (I think) that completed. The ones with $&#8217;s in Green were &#8220;won&#8221; or sold. The ones with<br />
$&#8217;s in Red were NOT sold.</em></p>
<p><em>If the product had a lot of listings, with alot of &#8220;red&#8221; dollars &#8212; it means the product hasn&#8217;t been selling well.</em></p>
<p><em>NEXT! Just because a product sells on eBay &#8212; doesn&#8217;t mean people are searching Google for it! Alot of people just go directly to eBay to buy products.</em></p>
<p><em>So, you should use Google Adwords Traffic Estimator (although it can be very inaccurate) to check and see if the keywords (products) you are targetting are actually being used in searches.</em></p>
<p><em>If the product passes the above two &#8220;tests&#8221; it is recommended you start your bids at .10 cents and go no higher than .15 or .16. If you have to bid more to get impressions/clicks &#8212; then you have a problem, because very rarely will you get an EPC (earnings per 100 clicks) from ebay higher than $20.<br />
If you bid higher, then you will just break even or lose money.</em></p>
<p><em>So, there you go &#8212; One way to make money with eBay and Adwords.</em></p>
<p><em>Hope this helps&#8221;</em></p></blockquote>
<p>With the recent change to ePN, I&#8217;d be pretty weary about jumping to PPC with eBay store fronts. I&#8217;ve been contemplating pausing my campaigns at YSM, but feel like I need the traffic to help determine if I have linkage/tracking problems at eBay. From my record month (March was a fantastic month) to a totally crappy month for April&#8230; this sucks. I&#8217;m staying optimistic, and focusing on other revenue streams (like I always preach).</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/12/how-to-use-ppc-with-your-ebay-affiliate-store-fronts/' rel='bookmark' title='Permanent Link: How to use PPC with your eBay Affiliate store fronts'>How to use PPC with your eBay Affiliate store fronts</a></li>
<li><a href='http://www.money-code.com/2009/07/ppc-to-offers-and-leads/' rel='bookmark' title='Permanent Link: PPC to Offers and Leads'>PPC to Offers and Leads</a></li>
<li><a href='http://www.money-code.com/2009/06/simple-epn-keyword-tracker-for-ppcorganic-searches/' rel='bookmark' title='Permanent Link: Simple EPN Keyword Tracker for PPC/Organic Searches'>Simple EPN Keyword Tracker for PPC/Organic Searches</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2008/04/great-post-on-ppc-at-digitalpoint/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>End the stop and go effect</title>
		<link>http://www.money-code.com/2008/02/end-the-stop-and-go-effect/</link>
		<comments>http://www.money-code.com/2008/02/end-the-stop-and-go-effect/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 05:29:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[theories]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Lately I've been talking to a good blend of internet marketing rookies as well as seasoned veterans. These discussions let me see trends, habits and thinking from various sides of affiliate marketers. One thing that I'm learning, either by talking to the vets or noticing it in my own perosnal experience, is to end the "stop and go" effect. This is the idea of building and or promoting, then stopping to see what comes from it... or taking a break. Then after you see improvement, you start up again. As a few of you might notice, is that I preach the "be productive" moto, and this can be easily applied to this. The stop and go can really slow down your rate of success, during the period of not doing anything.. or waiting, you could have pushed out more sites, or worked on traffic generation. I always see the posts on forums referring to not making money on x number of sites, and now I want to try again.


Related posts:<ol><li><a href='http://www.money-code.com/2007/12/setting-realistic-internet-marketing-goals/' rel='bookmark' title='Permanent Link: Setting realistic internet marketing goals.'>Setting realistic internet marketing goals.</a></li>
<li><a href='http://www.money-code.com/2007/12/develop-different-types-of-sites-for-greater-affiliate-returns/' rel='bookmark' title='Permanent Link: Develop different &#8220;types&#8221; of sites for greater affiliate returns'>Develop different &#8220;types&#8221; of sites for greater affiliate returns</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2008%2F02%2Fend-the-stop-and-go-effect%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2008%2F02%2Fend-the-stop-and-go-effect%2F" height="61" width="51" /></a></div><p>Lately I&#8217;ve been talking to a good blend of internet marketing rookies as well as seasoned veterans. These discussions let me see trends, habits and thinking from various sides of affiliate marketers. One thing that I&#8217;m learning, either by talking to the vets or noticing it in my own perosnal experience, is to end the &#8220;stop and go&#8221; effect. This is the idea of building and or promoting, then stopping to see what comes from it&#8230; or taking a break. Then after you see improvement, you start up again. As a few of you might notice, is that I preach the &#8220;be productive&#8221; moto, and this can be easily applied to this. The stop and go can really slow down your rate of success, during the period of not doing anything.. or waiting, you could have pushed out more sites, or worked on traffic generation. I always see the posts on forums referring to not making money on x number of sites, and now I want to try again. When I see posts like this, I&#8217;m always saying, if you continued to work on the site or created more sites, you&#8217;d be doing much better, and now you&#8217;re basically starting over again.</p>
<p>To avoid the stop and go, you need to have a plan, goal and determination. This is extremely simple. Start with a goal. As I stated earlier my goal was to create four stores a month, so this forces me to make stores at a fairly rapid rate. I want to find new niches and new techniques to get a few more commission dollars, and I don&#8217;t want to do the old &#8220;paralysis through analysis&#8221; game, so I like to create some testers and see what&#8217;s out there. Between store launches I focus on traffic generation along with PPC, again constantly staying in motion. As you look back you&#8217;ll notice a strong growh of sites and or traffic. By pushing hard, you&#8217;ll see profits increase, and your tester sites should be giving you good data on niches worth pursuing. Now, I&#8217;m including Squidoo lense creation and some new PPC campaigns either with landing pages/offers or additional tweaking of existing campaigns.</p>
<p>I know a few of you are saying, who has the time? Who has the money to create sites? Frankly, that&#8217;s BS. If you&#8217;re saying this&#8230;you are in the wrong business, and should stop immediately. I currently have my own web dev business where I work 60 hours a week, easily. So time is where you can find it. If you&#8217;re watching TV, you just wasted time. You can always find wasted time to devote to this. As far as money, all my expenses have been paid for by my affiliate marketing. I don&#8217;t use any money from my pocket and roll profits back into promoting more sites or purchasing more domains. Read &#8220;<a href="http://www.money-code.com/node/65">takes money to make money</a>&#8221; post where I address this as well.</p>
<p>The hard part is staying determined. The easiest remedy of staying focused is getting excited about success. Once you start seeing potential or a few dollars come in, it gets much easier. For the rookies out there.. it is IMPORTANT to get some early success. Money coming in either by AdSense or CJ or whatever is important. Try to develop a consistent &#8220;base&#8221; of income. Once you&#8217;re at a point where you can say, &#8220;I make $5/day no matter what&#8221; you&#8217;ll be at a good place to start expanding. From there, you start to figure out how to make $10 then $100, etc. Lately I&#8217;ve been talking to a good blend of internet marketing rookies as well as seasoned veterans. These discussions let me see trends, habits and thinking from various sides of affiliate marketers. One thing that I&#8217;m learning, either by talking to the vets or noticing it in my own personal experience, is to end the &#8220;stop and go&#8221; effect. This is the idea of building and or promoting, then stopping to see what comes from it&#8230; or taking a break. Then after you see improvement, you start up again. As a few of you might notice, is that I preach the &#8220;be productive&#8221; motto, and this can be easily applied to this. The stop and go can really slow down your rate of success, during the period of not doing anything.. or waiting, you could have pushed out more sites, or worked on traffic generation. I always see the posts on forums referring to not making money on x number of sites, and now I want to try again. When I see posts like this, I&#8217;m always saying, if you continued to work on the site or created more sites, you&#8217;d be doing much better, and now you&#8217;re basically starting over again.</p>
<p>To avoid the stop and go, you need to have a plan, goal and determination. This is extremely simple. Start with a goal. As I stated earlier my goal was to create four stores a month, so this forces me to make stores at a fairly rapid rate. I want to find new niches and new techniques to get a few more commission dollars, and I don&#8217;t want to do the old &#8220;paralysis through analysis&#8221; game, so I like to create some testers and see what&#8217;s out there. Between store launches I focus on traffic generation along with PPC, again constantly staying in motion. As you look back you&#8217;ll notice a strong growth of sites and or traffic. By pushing hard, you&#8217;ll see profits increase, and your tester sites should be giving you good data on niches worth pursuing. Now, I&#8217;m including Squidoo lense creation and some new PPC campaigns either with landing pages/offers or additional tweaking of existing campaigns.</p>
<p>I know a few of you are saying, who has the time? Who has the money to create sites? Frankly, that&#8217;s BS. If you&#8217;re saying this&#8230;you are in the wrong business, and should stop immediately. I currently have my own web development business where I work 60 hours a week, easily. So time is where you can find it. If you&#8217;re watching TV, you just wasted time. You can always find wasted time to devote to this. As far as money, all my expenses have been paid for by my affiliate marketing. I don&#8217;t use any money from my pocket and roll profits back into promoting more sites or purchasing more domains. Read &#8220;<a href="http://www.money-code.com/node/65">takes money to make money</a>&#8221; post where I address this as well.</p>
<p>The hard part is staying determined. The easiest remedy of staying focused is getting excited about success. Once you start seeing potential or a few dollars come in, it gets much easier. For the rookies out there.. it is IMPORTANT to get some early success. Money coming in either by AdSense or CJ or whatever is important. Try to develop a consistent &#8220;base&#8221; of income. Once you&#8217;re at a point where you can say, &#8220;I make $5/day no matter what&#8221; you&#8217;ll be at a good place to start expanding. From there, you start to figure out how to make $10 then $100, etc.</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/12/setting-realistic-internet-marketing-goals/' rel='bookmark' title='Permanent Link: Setting realistic internet marketing goals.'>Setting realistic internet marketing goals.</a></li>
<li><a href='http://www.money-code.com/2007/12/develop-different-types-of-sites-for-greater-affiliate-returns/' rel='bookmark' title='Permanent Link: Develop different &#8220;types&#8221; of sites for greater affiliate returns'>Develop different &#8220;types&#8221; of sites for greater affiliate returns</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2008/02/end-the-stop-and-go-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop different &#8220;types&#8221; of sites for greater affiliate returns</title>
		<link>http://www.money-code.com/2007/12/develop-different-types-of-sites-for-greater-affiliate-returns/</link>
		<comments>http://www.money-code.com/2007/12/develop-different-types-of-sites-for-greater-affiliate-returns/#comments</comments>
		<pubDate>Wed, 05 Dec 2007 17:06:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[throries]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I've been thinking about this lately. In affiliate marketing, I believe it's important to not think one dimensionally on how to generate income with your affiliate empire. Notice.. I said empire vs. site. I'm still working on this theory, but I've started to identify points of success in my empire or network.

First off, is a 1000 sites better than 1? It all depends how crappy your thousand sites are or how great your single site is. What I believe, it's important to create multiple test sites to see what has potential. I'm NOT talking about niches people! What I'm talking about is creating different types of sites. Currently, I've been developing community sites, store front sites, landing pages, blogs and forums. Each type of site has different income potential. Each type of site work in various niches, etc.




Related posts:<ol><li><a href='http://www.money-code.com/2009/05/expanding-revenue-sites-with-review-sites/' rel='bookmark' title='Permanent Link: Expanding revenue sites with review sites'>Expanding revenue sites with review sites</a></li>
<li><a href='http://www.money-code.com/2009/05/more-sites-or-more-quality/' rel='bookmark' title='Permanent Link: More sites or more quality?'>More sites or more quality?</a></li>
<li><a href='http://www.money-code.com/2007/10/the-affiliate-market-game/' rel='bookmark' title='Permanent Link: The affiliate market game'>The affiliate market game</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F12%2Fdevelop-different-types-of-sites-for-greater-affiliate-returns%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F12%2Fdevelop-different-types-of-sites-for-greater-affiliate-returns%2F" height="61" width="51" /></a></div><p>I&#8217;ve been thinking about this lately. In affiliate marketing, I believe it&#8217;s important to not think one dimensionally on how to generate income with your affiliate empire. Notice.. I said empire vs. site. I&#8217;m still working on this theory, but I&#8217;ve started to identify points of success in my empire or network.</p>
<p>First off, is a 1000 sites better than 1? It all depends how crappy your thousand sites are or how great your single site is. What I believe, it&#8217;s important to create multiple test sites to see what has potential. I&#8217;m NOT talking about niches people! What I&#8217;m talking about is creating different types of sites. Currently, I&#8217;ve been developing community sites, store front sites, landing pages, blogs and forums. Each type of site has different income potential. Each type of site work in various niches, etc.</p>
<p>This is another play on the &#8220;don&#8217;t put all of your eggs into one basket&#8221;. Instead of having 100 BANS type sites, learn to diversify the structure and the goal of certain sites. Some sites work really well with AdSense, others have great potential for paid banners, so on and so on. Each type of site has issues to understand though, since they are not all created equal. </p>
<p>Community sites have massive potential, but take the most work. I like community based sites because the content is often created by the public. Community sites can become viral easier than the other sites, since it&#8217;s all about the interaction of the community. Community sites have interesting revenue potential, specifically with AdSense and paid banners. I LOVE paid banners. Getting a few businesses or sites to pay $30+ dollars a month sure helps out with the bottom line with very little work on your end.</p>
<p>Community sites are harder to develop since there are not a lot of good &#8216;free-out-of-the-box&#8217; software to do this properly. I generally create my own sites and moderate them. Community sites are combination of blogs, forums and resources, and are well liked by Google, etc. and usually can get good traffic fairly quickly depending on your niche. Community sites are also a great way to link your other money-making sites if they apply to the topic. Generally, I like to start a community site, get it going, then start developing eBay store fronts, etc around that topic, then link from my community site.</p>
<p>Forums are the next step. They&#8217;re much easier to get going. I always recommend vBulletin for a forum software since it&#8217;s well designed and maintained well. It costs money though, but if you have a good niche, you should be able to monetize that quickly and return your investment. When dealing with forums, it&#8217;s important to get good moderators right away, or you&#8217;ll be busy maintaining it on a regular basis.. we don&#8217;t want that. So find some active posters, and allow them to feel some personal ownership of the board, and have them moderate it.</p>
<p>Using software like OpenAds, you can easily integrate paid banners or affiliate network banners. I feel that forums are not the best place to make PPC/CPA cash since ads in forums are common place and users are generally blind. With paid banners, this is a non-issue since click through is not that important (only to the advertiser), they&#8217;re basically paying for exposure. Another great option with forums is the ability to have paid subscription boards. If you&#8217;re topic is great and is a hot topic, you can actually charge people to access the boards. I&#8217;ve not been able to implement this yet, but have been thinking of how to get into this game.</p>
<p>Blogs and Store Fronts are something that most people are doing, and are generally hit and miss. Normally you need to use PPC traffic to get people there. I like to create blogs just for SEO love and link to store fronts.</p>
<p>As you can see, creating different types of sites, can greatly increase the revenue streams coming in. I feel it&#8217;s important to create a variety of sites, see what works and expand on that. If you have a store front that is successful, find out why, and possible expand that by creating a forum site or community based site.</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2009/05/expanding-revenue-sites-with-review-sites/' rel='bookmark' title='Permanent Link: Expanding revenue sites with review sites'>Expanding revenue sites with review sites</a></li>
<li><a href='http://www.money-code.com/2009/05/more-sites-or-more-quality/' rel='bookmark' title='Permanent Link: More sites or more quality?'>More sites or more quality?</a></li>
<li><a href='http://www.money-code.com/2007/10/the-affiliate-market-game/' rel='bookmark' title='Permanent Link: The affiliate market game'>The affiliate market game</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/12/develop-different-types-of-sites-for-greater-affiliate-returns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Halloween Failure</title>
		<link>http://www.money-code.com/2007/11/my-halloween-failure/</link>
		<comments>http://www.money-code.com/2007/11/my-halloween-failure/#comments</comments>
		<pubDate>Wed, 14 Nov 2007 18:30:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[PPC]]></category>
		<category><![CDATA[holiday]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>So we're about half way through November, and I'm slightly disappointed about the initial numbers. I think we'll finish strong at the end of the month, but the beginning, and a big part of it is the Halloween hangover syndrome. This is where buyers need to take a break after the busy Halloween push.

<p>But what I wanted to talk about was my personal experience with Halloween marketing. I've been getting further and further in the PPC arena, and thought Halloween would be a fun one to do some testing. Over the last couple of months, my PPC capaigns have been showing good profits, so I thought I'd take this opportunity to spend and learn.




Related posts:<ol><li><a href='http://www.money-code.com/2007/12/2008-internet-marketing-goals-and-a-look-back-at-2007/' rel='bookmark' title='Permanent Link: 2008 Internet Marketing Goals and a look back at 2007'>2008 Internet Marketing Goals and a look back at 2007</a></li>
<li><a href='http://www.money-code.com/2007/12/how-to-use-ppc-with-your-ebay-affiliate-store-fronts/' rel='bookmark' title='Permanent Link: How to use PPC with your eBay Affiliate store fronts'>How to use PPC with your eBay Affiliate store fronts</a></li>
<li><a href='http://www.money-code.com/2008/04/great-post-on-ppc-at-digitalpoint/' rel='bookmark' title='Permanent Link: Great post on PPC at DigitalPoint'>Great post on PPC at DigitalPoint</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F11%2Fmy-halloween-failure%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F11%2Fmy-halloween-failure%2F" height="61" width="51" /></a></div><p>So we&#8217;re about half way through November, and I&#8217;m slightly disappointed about the initial numbers. I think we&#8217;ll finish strong at the end of the month, but the beginning, and a big part of it is the Halloween hangover syndrome. This is where buyers need to take a break after the busy Halloween push.</p>
<p>But what I wanted to talk about was my personal experience with Halloween marketing. I&#8217;ve been getting further and further in the PPC arena, and thought Halloween would be a fun one to do some testing. Over the last couple of months, my PPC campaigns have been showing good profits, so I thought I&#8217;d take this opportunity to spend and learn.</p>
<p>In September, I put together a Halloween themed web store were I was going to pull in auctions from eBay and promote various costume affiliates (ie: BuyCostume.com). October 1st it went live, and immediately created Yahoo ads. Initially, we had some problems with our ads, but got them up eventually. The clicks started to rain in. One thing that immediately noticed is the percentage of clicks were about 50/50 between eBay and the other affiliates, which I thought was slightly odd, since the other affiliates were only promoted with banners on the site. I also started to notice costs going up, but if you&#8217;re in the PPC game.. you know it&#8217;s a numbers game. I was fine with this, and I wanted to see it through to understand how Halloween works.</p>
<p>As it got closer and closer to Halloween, I couldn&#8217;t help but notice the lack of sales. This usually says one thing to me, my ads are not targetted enough. So we started to create a couple of ad campaigns for split testing. Oddly, all the ads were pretty even in clicks, yet I was receiving very few sales. The other thought was site design. But the bottom line is that I was getting clicks, but not conversions.</p>
<p>In the end I returned a total of $22.14 from AdSense and CJ on the site. Peeeee-thetic! And spent a total of $202.40 in PPC ads. That in turn led to a total loss of $180.26 for the month of October for the site.</p>
<p>So why am I bragging about my &#8216;bomb&#8217;? Simple, I learned a few things, well at least I think I learned a few things.</p>
<p>1. Do not rely 100% on PPC on seasonal promotions. I believe that you get a lot of &#8216;clickers&#8217; but not buyers. I think it&#8217;s fine to run PPC on seasonal promotions, but you should have a good base of organic searches to ease the pain.</p>
<p>2. I think that my BuyCostume.com banners split my clicks too much with eBay, and in the end did not convert well. In the future, I think I&#8217;ll try to integrate the costume products of BuyCostume in the store vs. a banner. I want people to click on products vs. going to a different site, and the banner promotes leaving the site. I was very surprised by this, but also thought it was interesting to see clicks going there. I think it&#8217;s a good affiliate and one to take seriously for next year.</p>
<p>3. Squidoo. I should have created Squidoo lenses for Halloween and cross linked back to my site. Again, this would be for getting more organic action to the site.</p>
<p>4. Start before October 1. What the hell was I thinking. On the other hand, I should be good to go for next year, and hopefully it will be well indexed by then. I&#8217;ll also be spending some time this year trying to optimize it further (integrate other affiliates, remove banners, add articles or descriptive content, etc).</p>
<p>5. This is something I knew, and didn&#8217;t get burnt on, but in case you didn&#8217;t know. Make sure you have a network of sites to ease the sting of &#8216;learning&#8217;. Sure I lost $180.26 on my Halloween project, but at the end of the month, I still made $300 in CJ profits. Constantly create new sites, spread to different niches, use different revenue streams for those sites. As I stated earlier, it&#8217;s a numbers game, so you&#8217;ll want to get a consistent profitable base. Then you will have opportunities to spend some money for testing. Just like the saying.. &#8220;The rich get richer, the poor get poorer&#8221;. I think if you have money, you can gamble. Gambling will help you learn and succeed by taking chances. I&#8217;m still in the poor category, but I see the light, and I&#8217;m slowly starting to understand.</p>
<p>Here are some CJ charts to illustrate what I&#8217;m talking about. This first chart is sales for the year. As you can see I was pretty stagnant from Oct2006 to about May2007. This is when I was building sites and testing affiliates. May2007 is when I started to dabble into PPC with MSN, YSM and AdWords. Aug2007 I started to understand profitable niches with PPC and pretty much ditched AdWords at this time, since it was just costing me money. Sep2007 was a good month where I was seeing excellent returns, and thought I&#8217;d make a push for October. </p>
<p>October was the highest month ever! Now, remember, I made $22 for my Halloween site, so the rest of the sales were from other sites. Also notice the second chart (showing clicks). It almost mirrored the Sales chart (specifically for October). The Halloween site had a ton of clicks, so it was not directly related to sales. Again, build your network!</p>
<p>Sales Chart<br />
<img src="http://www.money-code.com/files/111407sales.gif" border=0></p>
<p>Click Chart<br />
<img src="http://www.money-code.com/files/111407clicks.gif" border=0></p>
<p>So I spent $20 on the domain, $0 on hosting and $200 on PPC for my Halloween experiment, but I got some useful data in my opinion. Next year I need to apply what I learned, and see if I can turn this around. I know people make bank with Halloween, but you have to play the game right or you get burnt.</p>
<p>Hope this post was beneficial for you!</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/12/2008-internet-marketing-goals-and-a-look-back-at-2007/' rel='bookmark' title='Permanent Link: 2008 Internet Marketing Goals and a look back at 2007'>2008 Internet Marketing Goals and a look back at 2007</a></li>
<li><a href='http://www.money-code.com/2007/12/how-to-use-ppc-with-your-ebay-affiliate-store-fronts/' rel='bookmark' title='Permanent Link: How to use PPC with your eBay Affiliate store fronts'>How to use PPC with your eBay Affiliate store fronts</a></li>
<li><a href='http://www.money-code.com/2008/04/great-post-on-ppc-at-digitalpoint/' rel='bookmark' title='Permanent Link: Great post on PPC at DigitalPoint'>Great post on PPC at DigitalPoint</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/11/my-halloween-failure/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Google Alerts</title>
		<link>http://www.money-code.com/2007/10/using-google-alerts/</link>
		<comments>http://www.money-code.com/2007/10/using-google-alerts/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 17:01:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[alerts]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Today I want to talk about a tip that you don't see discussed too often. That is the use of <a href="http://www.google.com/alerts" target="_blank">Google Alerts</a>. If you're building a blog or store front and working for a niche, Google Alerts can be a handy tool to help give you content to write about!

As we know content is very important to get that needed organic search traffic, but coming up with content is not the easiest thing to do at times, especially if you're super busy. It's hard to feel the pulse of a certain niche you're working in, even if that niche is something that you're very interested in, etc.



Related posts:<ol><li><a href='http://www.money-code.com/2007/09/commission-junction-banners-or-google-adsense/' rel='bookmark' title='Permanent Link: Commission Junction, Banners or Google AdSense?'>Commission Junction, Banners or Google AdSense?</a></li>
<li><a href='http://www.money-code.com/2007/10/widgetbucks-and-google/' rel='bookmark' title='Permanent Link: WidgetBucks and Google'>WidgetBucks and Google</a></li>
<li><a href='http://www.money-code.com/2009/07/blog-comment-demon-review/' rel='bookmark' title='Permanent Link: Blog Comment Demon Review'>Blog Comment Demon Review</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Fusing-google-alerts%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Fusing-google-alerts%2F" height="61" width="51" /></a></div><p>Today I want to talk about a tip that you don&#8217;t see discussed too often. That is the use of <a href="http://www.google.com/alerts" target="_blank">Google Alerts</a>. If you&#8217;re building a blog or store front and working for a niche, Google Alerts can be a handy tool to help give you content to write about!</p>
<p>As we know content is very important to get that needed organic search traffic, but coming up with content is not the easiest thing to do at times, especially if you&#8217;re super busy. It&#8217;s hard to feel the pulse of a certain niche you&#8217;re working in, even if that niche is something that you&#8217;re very interested in, etc.</p>
<p>With Google Alerts, you can enter a keywords to be alerted on. Let&#8217;s still run with my &#8216;Star Wars&#8217; theme as my <a href="http://www.money-code.com/node/27">paging example</a> the other day. When you enter the phrase &#8216;Star Wars&#8217; in Google Alerts, you can be notified by daily digest or &#8216;as-it-happens&#8217; (I personally like to receive instant notification &#8212; so it can fuel my ADD througout the day). You can also select a type of web content to be alerted on. They are:</p>
<ul>
<li>News
<li>Blogs
<li>Web
<li>Comprehensive
<li>Video
<li>Groups
</ul>
<p>Now after you&#8217;ve selected your type you should be good to go (obviously you need Google Account set up). When Google runs across your term, you&#8217;ll be sent a email notification with a link or links to the site that has your alert term. This can be useful in a couple of ways. Number one, this can get you nice NEW info to blog about. And secondly, it can send you to blogs where you can comment on. Please don&#8217;t do stupid comment spam, but provide useful contribution to the topic and other comments, but you might be able to add a trackback or provide a URL back to your site for critical backlink development.</p>
<p>This tip is nothing new, but rarely see people talking about it for some reason. I&#8217;ve been using alerts for about 4 months, and seeing some good backlink development from it, but most importantly, it&#8217;s giving me ideas and directions for article writing on web stores and blogs.</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/09/commission-junction-banners-or-google-adsense/' rel='bookmark' title='Permanent Link: Commission Junction, Banners or Google AdSense?'>Commission Junction, Banners or Google AdSense?</a></li>
<li><a href='http://www.money-code.com/2007/10/widgetbucks-and-google/' rel='bookmark' title='Permanent Link: WidgetBucks and Google'>WidgetBucks and Google</a></li>
<li><a href='http://www.money-code.com/2009/07/blog-comment-demon-review/' rel='bookmark' title='Permanent Link: Blog Comment Demon Review'>Blog Comment Demon Review</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/10/using-google-alerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paging eBay RSS results</title>
		<link>http://www.money-code.com/2007/10/paging-ebay-rss-results/</link>
		<comments>http://www.money-code.com/2007/10/paging-ebay-rss-results/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 22:56:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EPN]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[paging]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>Here is a an extremely simple way of returning a RSS result from eBay and splitting it up into pages. Some people don't want to show 100 results, at a time, but also not be limited to show 10 results, etc. If this is the case, then paging is the key.

<p>I'll break my examples into pieces, and at the end offer the completed script so you can see it all in one piece.




Related posts:<ol><li><a href='http://www.money-code.com/2007/10/ebay-rss-querystringvariable-definitions/' rel='bookmark' title='Permanent Link: eBay RSS querystring/variable definitions'>eBay RSS querystring/variable definitions</a></li>
<li><a href='http://www.money-code.com/2008/10/dynamic-xmlrss-feed-using-popshops/' rel='bookmark' title='Permanent Link: Dynamic XML/RSS Feed using PopShops'>Dynamic XML/RSS Feed using PopShops</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='Permanent Link: EPN change to RSS'>EPN change to RSS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Fpaging-ebay-rss-results%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F10%2Fpaging-ebay-rss-results%2F" height="61" width="51" /></a></div><p>Here is a an extremely simple way of returning a RSS result from eBay and splitting it up into pages. Some people don&#8217;t want to show 100 results, at a time, but also not be limited to show 10 results, etc. If this is the case, then paging is the key.</p>
<p>I&#8217;ll break my examples into pieces, and at the end offer the completed script so you can see it all in one piece.</p>
<p>First we need to create some function that will need to be used to retrieve our RSS file and parse the elements from it. There are a ton of ways to do this, and this was hobbled together from various scripts throughout the year (so sorry I can&#8217;t give credit on the some of the functions). We&#8217;ll be using cURL to sent the request and return the CML and use various callback functions to parse the XML file. I primarily work in PHP4, and what I understand this process is further simplified in PHP5. I believe that these functions will still work in 5, but please let me know if they don&#8217;t.. I need an excuse to jump to PHP5 anyway.</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">&lt;?php</span><br />
<span class="kw2">function</span> startElement<span class="br0">&#40;</span><span class="re0">$parser</span>, <span class="re0">$name</span>, <span class="re0">$attrs</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$xml_level</span>, <span class="re0">$xml_curr_path</span>, <span class="re0">$tree</span>, <span class="re0">$tree_levels</span>, <span class="re0">$grouping</span>, <span class="re0">$tag_data</span>, <span class="re0">$tag</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_level</span>++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_curr_path</span> .= <span class="st0">&#8216;/&#8217;</span>.<span class="re0">$name</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$grouping</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$xml_curr_path</span> == <span class="re0">$tree</span> &amp;&amp; <span class="re0">$xml_level</span> == <span class="re0">$tree_levels</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$grouping</span> &nbsp; &nbsp; &nbsp; = <span class="kw2">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag_data</span> &nbsp; &nbsp; &nbsp; = <span class="st0">&quot;&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p><span class="kw2">function</span> endElement<span class="br0">&#40;</span><span class="re0">$parser</span>, <span class="re0">$name</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$xml_level</span>, <span class="re0">$xml_curr_path</span>, <span class="re0">$tree</span>, <span class="re0">$tree_levels</span>, <span class="re0">$grouping</span>, <span class="re0">$tag_data</span>, <span class="re0">$xml_array</span>, <span class="re0">$callback_func</span>, <span class="re0">$stop_parsing</span>, <span class="re0">$tag</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_level</span>&#8211;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_curr_path</span> &nbsp;= <a href="http://www.php.net/substr"><span class="kw3">substr</span></a><span class="br0">&#40;</span><span class="re0">$xml_curr_path</span>,<span class="nu0">0</span>,<a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span><span class="re0">$xml_curr_path</span><span class="br0">&#41;</span> &#8211; <a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span><span class="re0">$name</span><span class="br0">&#41;</span><span class="nu0">-1</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$xml_curr_path</span> == <span class="re0">$tree</span> &amp;&amp; <span class="re0">$xml_level</span> == <span class="re0">$tree_levels</span> &amp;&amp; <span class="re0">$grouping</span> == <span class="kw2">true</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_array</span><span class="br0">&#91;</span><span class="re0">$name</span><span class="br0">&#93;</span> = <span class="re0">$tag_data</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$xml_level</span> == <span class="re0">$tree_levels</span> &#8211; <span class="nu0">1</span> &amp;&amp; <span class="re0">$grouping</span> == <span class="kw2">true</span> &amp;&amp; !<span class="re0">$stop_parsing</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$stop_parsing</span> &nbsp; = <a href="http://www.php.net/call_user_func"><span class="kw3">call_user_func</span></a><span class="br0">&#40;</span><span class="re0">$callback_func</span>, <span class="re0">$xml_array</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$grouping</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_array</span> &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag_data</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&quot;&quot;</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="kw2">function</span> characterData<span class="br0">&#40;</span><span class="re0">$parser</span>, <span class="re0">$data</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$grouping</span>, <span class="re0">$tag_data</span>, <span class="re0">$tag</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re0">$grouping</span> == <span class="kw2">true</span> &amp;&amp; <span class="re0">$tag</span> == <span class="kw2">true</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag_data</span> .= <span class="re0">$data</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></p>
<p><span class="kw2">function</span> process_record<span class="br0">&#40;</span><span class="re0">$record</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$count</span>, <span class="re0">$resultArray</span>, <span class="re0">$cfg</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$count</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="nu0">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/is_array"><span class="kw3">is_array</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span> &amp;&amp; <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span> &gt; <span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$count</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$count</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;desc&#8217;</span><span class="br0">&#93;</span> &nbsp; &nbsp;= <span class="re0">$record</span><span class="br0">&#91;</span><span class="st0">&#8216;DESCRIPTION&#8217;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$count</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;link&#8217;</span><span class="br0">&#93;</span>&nbsp; &nbsp; = <span class="re0">$record</span><span class="br0">&#91;</span><span class="st0">&#8216;LINK&#8217;</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$count</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;title&#8217;</span><span class="br0">&#93;</span> &nbsp; = <span class="re0">$record</span><span class="br0">&#91;</span><span class="st0">&#8216;TITLE&#8217;</span><span class="br0">&#93;</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="kw2">function</span> convert_xml<span class="br0">&#40;</span><span class="re0">$rest</span>, <span class="re0">$callback</span>, <span class="re0">$format</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$xml_array</span>, <span class="re0">$tree</span>, <span class="re0">$tree_levels</span>, <span class="re0">$grouping</span>, <span class="re0">$tag_data</span>, <span class="re0">$callback_func</span>, <span class="re0">$stop_parsing</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_array</span> &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tree</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&#8216;/&#8217;</span>.<span class="re0">$format</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tree_levels</span> &nbsp; &nbsp;= <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span><span class="st0">&quot;/&quot;</span>,<span class="re0">$tree</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="nu0">-1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$grouping</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag</span> &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tag_data</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&quot;&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$callback_func</span> &nbsp;= <span class="re0">$callback</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$stop_parsing</span> &nbsp; = <span class="kw2">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xml_parser</span> &nbsp; &nbsp; = <a href="http://www.php.net/xml_parser_create"><span class="kw3">xml_parser_create</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/xml_set_element_handler"><span class="kw3">xml_set_element_handler</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span>, <span class="st0">&quot;startElement&quot;</span>, <span class="st0">&quot;endElement&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/xml_set_character_data_handler"><span class="kw3">xml_set_character_data_handler</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span>, <span class="st0">&quot;characterData&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$ch</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = curl_init<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$timeout</span> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <span class="nu0">5</span>; <span class="co1">// set to zero for no timeout</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; curl_setopt <span class="br0">&#40;</span><span class="re0">$ch</span>, CURLOPT_URL, <span class="re0">$rest</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; curl_setopt <span class="br0">&#40;</span><span class="re0">$ch</span>, CURLOPT_RETURNTRANSFER, <span class="nu0">1</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; curl_setopt <span class="br0">&#40;</span><span class="re0">$ch</span>, CURLOPT_CONNECTTIMEOUT, <span class="re0">$timeout</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$file_contents</span> &nbsp;= @curl_exec<span class="br0">&#40;</span><span class="re0">$ch</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; curl_close<span class="br0">&#40;</span><span class="re0">$ch</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/xml_parse"><span class="kw3">xml_parse</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span>, <span class="re0">$file_contents</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;or <a href="http://www.php.net/die"><span class="kw3">die</span></a><span class="br0">&#40;</span><a href="http://www.php.net/sprintf"><span class="kw3">sprintf</span></a><span class="br0">&#40;</span><span class="st0">&quot;XML error: %s at line %d&quot;</span>, <a href="http://www.php.net/xml_error_string"><span class="kw3">xml_error_string</span></a><span class="br0">&#40;</span><a href="http://www.php.net/xml_get_error_code"><span class="kw3">xml_get_error_code</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span><span class="br0">&#41;</span><span class="br0">&#41;</span>, <a href="http://www.php.net/xml_get_current_line_number"><span class="kw3">xml_get_current_line_number</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/xml_parser_free"><span class="kw3">xml_parser_free</span></a><span class="br0">&#40;</span><span class="re0">$xml_parser</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span></p>
<p><span class="re0">$rss</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&#8216;http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&amp;siteId=0&amp;language=en-US&amp;output=RSS20&amp;from=R34&amp;satitle=star+wars&amp;sacat=246&#8242;</span>;<br />
<span class="re0">$count</span> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="nu0">0</span>;<br />
<span class="re0">$itemsPerPage</span>&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="nu0">10</span>;<br />
<span class="re0">$format</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&quot;RSS/CHANNEL/ITEM&quot;</span>;<br />
convert_xml<span class="br0">&#40;</span><span class="re0">$rss</span>, <span class="st0">&quot;process_record&quot;</span>, <span class="re0">$format</span><span class="br0">&#41;</span>;<br />
<span class="kw2">?&gt;</span><br />
&nbsp;</div>
<p>Here we&#8217;re passing the URL to a Star Wars RSS search result, this will sent via cURL and a XML/RSS file will be returned. Once we get to the process_record(), we&#8217;re taking the parsed values and sticking them into an associative array. This is important since we&#8217;ll be paging through the array. RSS results will return a maximum of 100 results, so we&#8217;ll be looking at them in chunks.</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">&lt;?php</span><br />
<span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/is_array"><span class="kw3">is_array</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span> &amp;&amp; <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span> &gt; <span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$count</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$resultArray</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$pages</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/ceil"><span class="kw3">ceil</span></a><span class="br0">&#40;</span><span class="re0">$count</span> / <span class="re0">$itemsPerPage</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span>!<a href="http://www.php.net/isset"><span class="kw3">isset</span></a><span class="br0">&#40;</span><span class="re0">$_GET</span><span class="br0">&#91;</span><span class="st0">&#8216;page&#8217;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$CurrentPage</span> &nbsp; &nbsp;= <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$start</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="nu0">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$end</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="re0">$itemsPerPage</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$CurrentPage</span> &nbsp; &nbsp;= <span class="br0">&#40;</span><a href="http://www.php.net/is_numeric"><span class="kw3">is_numeric</span></a><span class="br0">&#40;</span><span class="re0">$_GET</span><span class="br0">&#91;</span><span class="st0">&#8216;page&#8217;</span><span class="br0">&#93;</span><span class="br0">&#41;</span> ? <span class="re0">$_GET</span><span class="br0">&#91;</span><span class="st0">&#8216;page&#8217;</span><span class="br0">&#93;</span> : <span class="nu0">1</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$CurrentPage</span> &gt; <span class="re0">$pages</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$CurrentPage</span> = <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$start</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="br0">&#40;</span><span class="re0">$CurrentPage</span> &#8211; <span class="nu0">1</span><span class="br0">&#41;</span> * <span class="br0">&#40;</span><span class="re0">$itemsPerPage</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$end</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="re0">$start</span> + <span class="re0">$itemsPerPage</span> + <span class="nu0">1</span> ;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$end</span> &gt; <span class="re0">$count</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$end</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="re0">$count</span> &#8211; <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span><span class="br0">&#40;</span><span class="re0">$i</span> = <span class="re0">$start</span>; <span class="re0">$i</span> &lt; <span class="re0">$end</span>; <span class="re0">$i</span>++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;&lt;strong&gt;&lt;a href=<span class="es0">\&quot;</span>&quot;</span>.<span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$i</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;link&#8217;</span><span class="br0">&#93;</span>.<span class="st0">&quot;<span class="es0">\&quot;</span>&gt;&quot;</span>.<span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$i</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;title&#8217;</span><span class="br0">&#93;</span>.<span class="st0">&quot;&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$resultArray</span><span class="br0">&#91;</span><span class="re0">$i</span><span class="br0">&#93;</span><span class="br0">&#91;</span><span class="st0">&#8216;desc&#8217;</span><span class="br0">&#93;</span>.<span class="st0">&quot;&lt;br&gt;&lt;br&gt;&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;Page: &quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="re0">$x</span> = <span class="nu0">1</span>; <span class="re0">$x</span> &lt;= <span class="re0">$pages</span>; <span class="re0">$x</span>++<span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$CurrentPage</span> == <span class="re0">$x</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;&lt;strong&gt;&quot;</span>.<span class="re0">$x</span>.<span class="st0">&quot;&lt;/strong&gt; &quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;&lt;a href=<span class="es0">\&quot;</span>index.php?page=&quot;</span>.<span class="re0">$x</span>.<span class="st0">&quot;<span class="es0">\&quot;</span>&gt;&quot;</span>.<span class="re0">$x</span>.<span class="st0">&quot;&lt;/a&gt; &quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><span class="kw1">else</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;no auctions found&quot;</span>;<br />
<span class="br0">&#125;</span><br />
<span class="kw2">?&gt;</span><br />
&nbsp;</div>
<p>Next we check to see if a array was returned and that it has elements in it. If it doesn&#8217;t we don&#8217;t have any results. If we do, we next calculate how many pages there are. We divide the auctions returned with the number per page we want to display. The next section is to see if we have any paging information being passed to use through the querystring. If there is a page passed, we need to verify that it&#8217;s inbound of our pages (does not exceed our maximum page). Once we have this we can calculate start and end points of the loop.</p>
<p>Finally we loop through the array using our start and end we set above. This will change as we move through the pages. And to finish it off, we need our page links at the bottom. Simply doing a for loop from 1 to the end of pages will do the trick. </p>
<p>As I said, this is fairly simple and can be adjusted to fit your needs. This example does not add your rover code, etc. Also you could do some fun stuff with preg_match instead of using the functions above to help parse even further. That&#8217;s another topic altogether. I like to pull images and item IDs out now for further customizations.</p>
<p>You can download the code <a href="../files/page.txt" rel="nofollow" target="_blank"><u>here</u></a>, just change the name to index.php to see the example work.</p>


<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/10/ebay-rss-querystringvariable-definitions/' rel='bookmark' title='Permanent Link: eBay RSS querystring/variable definitions'>eBay RSS querystring/variable definitions</a></li>
<li><a href='http://www.money-code.com/2008/10/dynamic-xmlrss-feed-using-popshops/' rel='bookmark' title='Permanent Link: Dynamic XML/RSS Feed using PopShops'>Dynamic XML/RSS Feed using PopShops</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='Permanent Link: EPN change to RSS'>EPN change to RSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/10/paging-ebay-rss-results/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->