<?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; rover</title>
	<atom:link href="http://www.money-code.com/tag/rover/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.money-code.com</link>
	<description>Coding For Online Success</description>
	<lastBuildDate>Tue, 15 Nov 2011 18:25:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>EPN change to RSS</title>
		<link>http://www.money-code.com/2010/01/epn-change-to-rss/</link>
		<comments>http://www.money-code.com/2010/01/epn-change-to-rss/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 16:58:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EPN]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rover]]></category>

		<guid isPermaLink="false">http://www.money-code.com/?p=613</guid>
		<description><![CDATA[So I mentioned earlier that BANS users were experiencing problems at the same time of my issues with dynamic RSS search results. It also appears that some phpBayPro users as well as a few other EPN scripts are experiencing issues. On the EPN board &#8216;casey&#8217; replied with the following statement in a thread where individuals [...]


Related posts:<ol><li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/10/paging-ebay-rss-results/' rel='bookmark' title='Paging eBay RSS results'>Paging eBay RSS results</a></li>
<li><a href='http://www.money-code.com/2007/10/ebay-rss-querystringvariable-definitions/' rel='bookmark' title='eBay RSS querystring/variable definitions'>eBay RSS querystring/variable definitions</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%2F2010%2F01%2Fepn-change-to-rss%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2010%2F01%2Fepn-change-to-rss%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So I mentioned earlier that BANS users were experiencing problems at the same time of my issues with dynamic RSS search results. It also appears that some phpBayPro users as well as a few other EPN scripts are experiencing issues. On the EPN board &#8216;casey&#8217; replied with the following statement in a thread where individuals were trying to debug the issue:</p>
<blockquote><p>Hi everyone,</p>
<p>We’d like to thank you for your patience through the recent change made to the RSS Feed links that has impacted some of you, and apologize for the delayed response on the boards as well as the lack of a proactive message to announce this change. There was some miscommunication here on when this change was planned to roll out. Essentially we updated the links in the RSS Feeds to reflect the new link generator structure which we implemented a while back. This new link structure includes added parameters that we plan to use for some optimization initiatives to further enhance our tools and most importantly help generate higher earnings for our partners.</p>
<p>We believe the third party tools being used to publish content from the ePN RSS Feeds will update as necessary, if not already, to account for this new link structure and direct users to the correct pages on eBay. Also, as recommended by others in this thread it’s a good idea to consult the resources available through these third parties for further assistance. Please note that there are no issues with the RSS Feed URLs and links when taken directly from the publisher interface.</p>
<p>Thanks again for your patience,</p>
<p>Casey</p></blockquote>
<p><a href="http://forums.ebay.com/db2/topic/Ebay-Partner-Network/Rss-Feed-Bug/520181276&amp;start=60" target="_blank">You can read the full thread here</a>. So it definitely looks like there are some serious backend changes in the works. I&#8217;ll be slowly (or quickly depending on when they enforce the change) converting my rover links to follow these new variables.  The BANS issue may have been related to urlencoding, not sure.</p>
<h4>Incoming search terms:</h4><ul><li>php money codes</li><li>php money code</li></ul><div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2010/01/pay-attention-to-your-roll-your-own-epn-sites/' rel='bookmark' title='Pay Attention to your Roll-Your-Own EPN sites'>Pay Attention to your Roll-Your-Own EPN sites</a></li>
<li><a href='http://www.money-code.com/2007/10/paging-ebay-rss-results/' rel='bookmark' title='Paging eBay RSS results'>Paging eBay RSS results</a></li>
<li><a href='http://www.money-code.com/2007/10/ebay-rss-querystringvariable-definitions/' rel='bookmark' title='eBay RSS querystring/variable definitions'>eBay RSS querystring/variable definitions</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2010/01/epn-change-to-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So you messed up, now what?</title>
		<link>http://www.money-code.com/2009/10/so-you-messed-up-now-what/</link>
		<comments>http://www.money-code.com/2009/10/so-you-messed-up-now-what/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 14:12:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[EPN]]></category>
		<category><![CDATA[Network Quality Team]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[violation]]></category>

		<guid isPermaLink="false">http://www.money-code.com/?p=594</guid>
		<description><![CDATA[I pretty much try to avoid the official EPN forum these days. The amount of negative, paranoid and panicky posts there can sometimes freak you out. But, those posts are real and should be looked at on occasion to understand how series EPN is about violations. I&#8217;m still trying to diversify my affiliate marketing pie [...]


Related posts:<ol><li><a href='http://www.money-code.com/2007/11/dynamically-create-ebay-widgets-from-existing-rover-code/' rel='bookmark' title='Dynamically create eBay widgets from existing rover code'>Dynamically create eBay widgets from existing rover code</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='EPN change to RSS'>EPN change to RSS</a></li>
<li><a href='http://www.money-code.com/2008/11/cj-sorry-your-application-was-not-approved/' rel='bookmark' title='CJ &#8211; Sorry, your application was not approved'>CJ &#8211; Sorry, your application was not approved</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%2F10%2Fso-you-messed-up-now-what%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2009%2F10%2Fso-you-messed-up-now-what%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignleft size-full wp-image-301" title="ebay-partner-network" src="http://www.money-code.com/wp-content/uploads/2009/06/ebay-partner-network.jpg" alt="ebay-partner-network" width="150" height="150" />I pretty much try to avoid the official <a href="http://forums.ebay.com/db2/forum/Ebay-Partner-Network/1000000047&amp;start=15" target="_blank">EPN forum</a> these days. The amount of negative, paranoid and panicky posts there can sometimes freak you out. But, those posts are real and should be looked at on occasion to understand how series EPN is about violations.</p>
<p>I&#8217;m still trying to diversify my affiliate marketing pie and get EPN more in the balance by promoting heavily with Amazon and CJ products over the last few months. In fact, I just recently did some new EPN development for the first time last week. During this development phase I clicked on a rover link to test that the proper CampID was being sent and I was landing at the appropriate listing. The next day, I purchased something on eBay and realized that I just purchased an item after dropping my rover cookie on my machine. Normally, I do eBay purchases on another box that has none of my affiliate cookies (or clear my cookies). Not doing any EPN development for a while, I forgot about the rover. Total rookie mistake on my part.</p>
<p>I&#8217;m sure a lot of people do this, intentionally or not intentionally, but I didn&#8217;t want to be one of those users at the EPN forum complaining that I can&#8217;t log in, or that I&#8217;ve been booted from the program without any reasons, etc. I decided to take a proactive approach and contact EPN and let them know what I&#8217;ve done, and request that transaction be removed from my earnings.</p>
<p>After submitting my email (via their Contact/Help form in the &#8216;Can I test my own links?&#8217; section) I received the classic &#8216;canned&#8217; message stating that they&#8217;ve forwarded my email to the Network Quality team at EPN. I didn&#8217;t get a response for about a week, but then finally received a great email from the Quality Team, thanking me for being proactive and notifying them of the accidental click. The letter stated that this would not be a problem (this time) and request that I be sure to clear cookies before making any future purchases at eBay. No problem!</p>
<p>Nothing probably would have happened if I didn&#8217;t send them a email. This was the first and only time I&#8217;ve purchased someting on my rover cookie, but you never know. I&#8217;d hate to lose my EPN account over simple purchase at eBay.</p>
<div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/11/dynamically-create-ebay-widgets-from-existing-rover-code/' rel='bookmark' title='Dynamically create eBay widgets from existing rover code'>Dynamically create eBay widgets from existing rover code</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='EPN change to RSS'>EPN change to RSS</a></li>
<li><a href='http://www.money-code.com/2008/11/cj-sorry-your-application-was-not-approved/' rel='bookmark' title='CJ &#8211; Sorry, your application was not approved'>CJ &#8211; Sorry, your application was not approved</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2009/10/so-you-messed-up-now-what/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Live HTTP Headers to verify your EPN links are working</title>
		<link>http://www.money-code.com/2008/04/use-live-http-headers-to-verify-your-epn-links-are-working/</link>
		<comments>http://www.money-code.com/2008/04/use-live-http-headers-to-verify-your-epn-links-are-working/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 01:52:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[EPN]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p><img src="http://www.money-code.com/files/no-preview.png" border="0'" align="left" />I've been seeing a lot of complaining, specifically on the EPN forum about impressions and clicks not tracking. Lots of whining and basically ill feelings directed towards eBay's programmers. Being a programmer, I feel for them. I do however agree with some of the issues, specifically the lack of validation of input fields. This lack of validation is allowing users to input incorrect data for their widgets. Though, I feel for the people that are missing clicks and impressions because of this... I have to say, "Why don't you inspect your links after you've built them?????" It's really easy to double check your work and verify that it looks correct.</p>


Related posts:<ol><li><a href='http://www.money-code.com/2008/05/epn-status/' rel='bookmark' title='ePN status'>ePN status</a></li>
<li><a href='http://www.money-code.com/2009/07/working-the-backlinks/' rel='bookmark' title='Working the backlinks'>Working the backlinks</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='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%2F2008%2F04%2Fuse-live-http-headers-to-verify-your-epn-links-are-working%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2008%2F04%2Fuse-live-http-headers-to-verify-your-epn-links-are-working%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.money-code.com/files/no-preview.png" border="0" alt="" align="left" />I&#8217;ve been seeing a lot of complaining, specifically on the EPN forum about impressions and clicks not tracking. Lots of whining and basically ill feelings directed towards eBay&#8217;s programmers. Being a programmer, I feel for them. I do however agree with some of the issues, specifically the lack of validation of input fields. This lack of validation is allowing users to input incorrect data for their widgets. Though, I feel for the people that are missing clicks and impressions because of this&#8230; I have to say, &#8220;Why don&#8217;t you inspect your links after you&#8217;ve built them?????&#8221; It&#8217;s really easy to double check your work and verify that it looks correct.</p>
<p>One tool that&#8217;s been essential for me is <a href="https://addons.mozilla.org/en-US/firefox/addon/3829" target="_blank">Live HTTP Headers plugin for FireFox</a>. Basically, it&#8217;s a packet sniffer for your browser. It will display the requests and responses between the browser and the server. This is really useful if you mask your links and want to ensure that they&#8217;re going to the right place AND passing the correct data.</p>
<p>Just turn this plugin on and start clicking your Editor Kits and direct links. Look for GET /rover/ requests, make sure your campid is NOT a word, and is a 10 digit numeric value, compare that value with your campaign list at EPN. Make sure you see customid and toolid variables WITH values next to them. Simple tests with this should ensure that the link is built correct. Next make a note of when you clicked this link, and watch for it in your reports or dashboard.</p>
<p>Paying attention and being thorough with your link work will go a long long way. I&#8217;ve been seeing lots of invalid campids out there (ie: campid=JOHN SMITH). If you&#8217;re campid is bad, you won&#8217;t track and you won&#8217;t make any commissions on them.</p>
<p>Also, pay attention to your CJ account, and watch clicks in there. If you see clicks for eBay on sites you converted, that means you&#8217;ve missed a link somewhere.</p>
<p>Hope this helps!<br />
hanji</p>
<div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2008/05/epn-status/' rel='bookmark' title='ePN status'>ePN status</a></li>
<li><a href='http://www.money-code.com/2009/07/working-the-backlinks/' rel='bookmark' title='Working the backlinks'>Working the backlinks</a></li>
<li><a href='http://www.money-code.com/2010/01/epn-change-to-rss/' rel='bookmark' title='EPN change to RSS'>EPN change to RSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2008/04/use-live-http-headers-to-verify-your-epn-links-are-working/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically create eBay widgets from existing rover code</title>
		<link>http://www.money-code.com/2007/11/dynamically-create-ebay-widgets-from-existing-rover-code/</link>
		<comments>http://www.money-code.com/2007/11/dynamically-create-ebay-widgets-from-existing-rover-code/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 22:40:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Affiliate Marketing]]></category>
		<category><![CDATA[EPN]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rover]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>Today, I read about the <a href="http://www.money-code.com/target/ebaywidget.php" target="_blank" rel="nofollow">eBay widget</a>. At first I was super stoked on the concept, and they look great. Here is a working example of the widget:</p>

<p><script type="text/javascript" src="http://www.money-code.com/files/swfobject.js"></script>
<p id="widget" align="center">No Flash? What's wrong with you?</p>
<script type="text/javascript">
var s0 = new SWFObject("http://togo.ebay.com/togo/togo.swf?2007111900","single","355","300","7");
s0.addVariable("base","http://togo.ebay.com/togo/&#038;lang=en-us&#038;mode=search&#038;query=star+wars&#038;pid=2631219");
s0.addVariable("width","355");
s0.addVariable("height","300");
s0.write("widget");
</script></p>

<p>Now my issue is this, it seems like you might be missing out on cookies since visitors might be viewing all the auction info directly from the widget vs going to eBay, and you would missing out on the cookie and affliate tracking. My initial tests with FireFox and Live HTTP headers seem to stress that cookie generation only occurs when you click 'View &#038; Bid' in the widget. The jury is still out on this, and hopefully people will share some of their success and failures to help others make good decisions when it comes to the widget. I'm going to try to post any useful results as they occur.</p>



Related posts:<ol><li><a href='http://www.money-code.com/2007/11/using-ffmpeg-to-create-youtube-clone-script/' rel='bookmark' title='Using FFMpeg to create YouTube clone script'>Using FFMpeg to create YouTube clone script</a></li>
<li><a href='http://www.money-code.com/2009/05/roverize-ebay-links-on-the-fly/' rel='bookmark' title='Roverize eBay links on the fly'>Roverize eBay links on the fly</a></li>
<li><a href='http://www.money-code.com/2007/09/using-ebays-api-to-search-auctions-and-return-results/' rel='bookmark' title='Using eBay&#8217;s API to search auctions and return results'>Using eBay&#8217;s API to search auctions and return results</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%2Fdynamically-create-ebay-widgets-from-existing-rover-code%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.money-code.com%2F2007%2F11%2Fdynamically-create-ebay-widgets-from-existing-rover-code%2F&amp;source=hanjicode&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Today, I read about the <a href="http://www.money-code.com/target/ebaywidget.php" target="_blank" rel="nofollow">eBay widget</a>. At first I was super stoked on the concept, and they look great. Here is a working example of the widget:</p>
<p><script type="text/javascript" src="http://www.money-code.com/files/swfobject.js"></script></p>
<p id="widget" align="center">No Flash? What&#8217;s wrong with you?</p>
<p><script type="text/javascript">
var s0 = new SWFObject("http://togo.ebay.com/togo/togo.swf?2007111900","single","355","300","7");
s0.addVariable("base","http://togo.ebay.com/togo/&#038;lang=en-us&#038;mode=search&#038;query=star+wars&#038;pid=2631219");
s0.addVariable("width","355");
s0.addVariable("height","300");
s0.write("widget");
</script></p>
<p>Now my issue is this, it seems like you might be missing out on cookies since visitors might be viewing all the auction info directly from the widget vs going to eBay, and you would missing out on the cookie and affliate tracking. My initial tests with FireFox and Live HTTP headers seem to stress that cookie generation only occurs when you click &#8216;View &#038; Bid&#8217; in the widget. The jury is still out on this, and hopefully people will share some of their success and failures to help others make good decisions when it comes to the widget. I&#8217;m going to try to post any useful results as they occur.</p>
<p><!--break--></p>
<p>In the meantime, I thought I&#8217;d give up this simple little function that will convert inputted rover code into the widget. This could be useful if you have content stored in the database with rover code embedded. You&#8217;ll need to download the <a href="http://www.money-code.com/files/swfobject.js" target="_blank">swfobject.js</a> file to help with IE browsers display object/embed tags.</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">&lt;?php</span><br />
<a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&quot;PID&quot;</span>, <span class="st0">&quot;123456790&quot;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">function</span> convertEbayNew<span class="br0">&#40;</span><span class="re0">$inLink</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$showWidget</span>&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="kw2">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$out</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="re0">$inLink</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/eregi"><span class="kw3">eregi</span></a><span class="br0">&#40;</span><span class="st0">&quot;(.*cgi.ebay.com.*)&quot;</span>,<span class="re0">$inLink</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">$itemID</span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&#8221;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$arr</span>&nbsp; &nbsp; = <a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span><span class="st0">&#8216;QQ&#8217;</span>,<span class="re0">$inLink</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><a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$arr</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; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">for</span><span class="br0">&#40;</span><span class="re0">$x</span> = <span class="nu0">0</span>; <span class="re0">$x</span> &lt; <a href="http://www.php.net/sizeof"><span class="kw3">sizeof</span></a><span class="br0">&#40;</span><span class="re0">$arr</span><span class="br0">&#41;</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; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/ereg"><span class="kw3">ereg</span></a><span class="br0">&#40;</span><span class="st0">&#8216;(^itemZ)&#8217;</span>,<span class="re0">$arr</span><span class="br0">&#91;</span><span class="re0">$x</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$item</span>&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span><span class="st0">&#8216;itemZ&#8217;</span>,<span class="re0">$arr</span><span class="br0">&#91;</span><span class="re0">$x</span><span class="br0">&#93;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><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">$item</span><span class="br0">&#91;</span><span class="nu0">1</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$itemID</span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; = <span class="re0">$item</span><span class="br0">&#91;</span><span class="nu0">1</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span class="kw3">unset</span></a><span class="br0">&#40;</span><span class="re0">$item</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/unset"><span class="kw3">unset</span></a><span class="br0">&#40;</span><span class="re0">$arr</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$showWidget</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="kw1">if</span><span class="br0">&#40;</span><a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span><a href="http://www.php.net/trim"><span class="kw3">trim</span></a><span class="br0">&#40;</span><span class="re0">$itemID</span><span class="br0">&#41;</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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$xid</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <a href="http://www.php.net/substr"><span class="kw3">substr</span></a><span class="br0">&#40;</span><a href="http://www.php.net/md5"><span class="kw3">md5</span></a><span class="br0">&#40;</span><a href="http://www.php.net/uniqid"><span class="kw3">uniqid</span></a><span class="br0">&#40;</span><a href="http://www.php.net/rand"><span class="kw3">rand</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>,<span class="nu0">1</span><span class="br0">&#41;</span><span class="br0">&#41;</span>,<span class="nu0">0</span>,<span class="nu0">8</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$out</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = <span class="st0">&#8216;&lt;p id=&quot;widget&#8217;</span>.<span class="re0">$xid</span>.<span class="st0">&#8216;&quot; align=&quot;center&quot;&gt;&#8217;</span>.<span class="re0">$out</span>.<span class="st0">&#8216;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script type=&quot;text/javascript&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var s0 = new SWFObject(&quot;http://togo.ebay.com/togo/togo.swf?2007111512&quot;,&quot;single&quot;,&quot;355&quot;,&quot;300&quot;,&quot;7&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s0.addVariable(&quot;base&quot;,&quot;http://togo.ebay.com/togo/&amp;lang=en-us&amp;mode=normal&amp;itemid=&#8217;</span>.<span class="re0">$itemID</span>.<span class="st0">&#8216;&amp;query=your+query&amp;pid=&#8217;</span>.PID.<span class="st0">&#8216;&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s0.addVariable(&quot;width&quot;,&quot;355&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s0.addVariable(&quot;height&quot;,&quot;300&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s0.write(&quot;widget&#8217;</span>.<span class="re0">$xid</span>.<span class="st0">&#8216;&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;&#8217;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</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="kw1">return</span> <span class="re0">$out</span>;<br />
<span class="br0">&#125;</span><br />
<span class="kw2">?&gt;</span><br />
&lt;script type=<span class="st0">&quot;text/javascript&quot;</span> src=<span class="st0">&quot;swfobject.js&quot;</span>&gt;&lt;/script&gt;<br />
<span class="kw2">&lt;?php</span> <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> convertEbayNew<span class="br0">&#40;</span><span class="re0">$link</span><span class="br0">&#41;</span>;?&gt;<br />
&nbsp;</div>
<p>It&#8217;s pretty simple, and you could easily expand this to auto generate widgets in a forum (hint, look at preg_replace_callback()). If you have any thoughts, please comment here. There is also a DigitalPoint thread here that has a <a href="http://forums.digitalpoint.com/showthread.php?t=564290" target="_blank">dicussion about this now</a>.</p>
<div style='clear:both'></div>

<p>Related posts:<ol><li><a href='http://www.money-code.com/2007/11/using-ffmpeg-to-create-youtube-clone-script/' rel='bookmark' title='Using FFMpeg to create YouTube clone script'>Using FFMpeg to create YouTube clone script</a></li>
<li><a href='http://www.money-code.com/2009/05/roverize-ebay-links-on-the-fly/' rel='bookmark' title='Roverize eBay links on the fly'>Roverize eBay links on the fly</a></li>
<li><a href='http://www.money-code.com/2007/09/using-ebays-api-to-search-auctions-and-return-results/' rel='bookmark' title='Using eBay&#8217;s API to search auctions and return results'>Using eBay&#8217;s API to search auctions and return results</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.money-code.com/2007/11/dynamically-create-ebay-widgets-from-existing-rover-code/feed/</wfw:commentRss>
		<slash:comments>0</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! -->
