<?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>Megatao &#187; geobay+ebay+tool</title>
	<atom:link href="http://www.megatao.com/tag/geobayebaytool/feed" rel="self" type="application/rss+xml" />
	<link>http://www.megatao.com</link>
	<description>An Apple Geek Speaks Out</description>
	<lastBuildDate>Sat, 28 Jan 2012 18:31:55 +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>Ebay Tools</title>
		<link>http://www.megatao.com/ebay-tools</link>
		<comments>http://www.megatao.com/ebay-tools#comments</comments>
		<pubDate>Sat, 31 Jan 2009 08:19:19 +0000</pubDate>
		<dc:creator>taoski</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[affiliate]]></category>
		<category><![CDATA[eBay]]></category>
		<category><![CDATA[geobay+ebay+tool]]></category>

		<guid isPermaLink="false">http://www.megatao.com/?p=695</guid>
		<description><![CDATA[eBay Geotargetted link script As an eBay affiliate, one thing that always annoyed me with making links to eBay on my blog or website was the fact that they were links to items or search results for only 1 country. Making links to eBay UK and eBay US on the same page is timc consuming [...]]]></description>
			<content:encoded><![CDATA[<p></p><h2><span style="text-decoration: underline;">eBay Geotargetted link script</span></h2>
<p>As an eBay affiliate, one thing that always annoyed me with making links to eBay on my blog or website was the fact that they were links to items or search results for only 1 country.  Making links to eBay UK and eBay US on the same page is timc consuming and just a hassle.</p>
<p>So thats why I made the eBay Geotargetted link script!</p>
<h2>What with the eBay script do for me?</h2>
<p>The script allows you to link direct to the eBay search results for a product using a common URL standard - but it will also detect the location of your visitor based on their IP address and then send them to their nearest eBay store!</p>
<p>This means that US visitors get to view products on eBay US (www.ebay.com) and UK visitors get to see items from eBay UK (www.ebay.co.uk).  The same goes for other visitors from different countries.</p>
<p>You get to post 1 link to eBay which contains your eBay Partner Network campaign ID and the script does the rest!</p>
<p>Your eBay cookie gets dropped for the right country and will send your eBay Partner Network profits soaring!</p>
<p><strong>Examples:</strong></p>
<p>When you buy the script, it comes as a file called go.php so to activate the links, you FTP the file to the relevant place on your domain and then from your blog or website, link using the following URLs:</p>
<pre>http://www.yourdomain.com/go.php?xbox+360+GTA4</pre>
<p>The xbox+360+GTA4 part is the product you are searching for.  Just change it to what you want to search for, separated by + and the script will do the rest.</p>
<p>The link will send the user to their nearest eBay store and show them a search result for "xbox 360 GTA4".</p>
<h2>Custom CustomID field</h2>
<p>The eBay partner network has a method of allowing you to track where your customers come from by using a field called CustomID.  By default, the eBay Geotargetted Link Script takes the URL of the page that the link was clicked on, takes out the messy HTML code and tags and inserts that as the CustomID - up to a maximum of 256 characters.</p>
<p>If you want to use your own CustomID field instead of the referring URL, you can manually enter that information into the go.php file too.</p>
<h2>Extending the script further</h2>
<p>If you are comfortable with editing your .htaccess file on your hosting provider, you can add this line to further extend the capability of this script:</p>
<pre>RewriteRule ^go/([^/]+)?$         go.php?$1 [QSA,L]</pre>
<p>This means that any requests to http://www.yourdomain.com/go will be sent to the go.php file, along with the search parameters too.  Heres the same Xbox 360 example we used earlier, but with the .htaccess method turned on:</p>
<pre>http://www.mydomain.com/go/xbox+360+GTA4</pre>
<p>My script even recognizes the need for SEO friendly URLs, so the following link will work too:</p>
<pre>http://www.mydomain.com/go/xbox-360-GTA4</pre>
<p>You can also rename the go.php to what ever you want!  Make the relevant name changes to the line in the .htaccess too (if you want to use that method) and the go.php script becomes something more powerful and unique to your site:</p>
<pre>http://www.mydomain.com/shop/xbox-360-GTA4</pre>
<p>(file renamed to shop.php and .htaccess method with friendly URLs)</p>
<pre>http://www.mydomain.com/recommends.php?xbox+360+GTA4</pre>
<p>(file renamed to recommends.php and not using the .htaccess method)</p>
<pre>http://www.mydomain.com/link/xbox+360+GTA4</pre>
<p>(file renamed to link.php and using the .htaccess method)</p>
<p>For these examples, we would need to change the .htaccess as follows:</p>
<pre>RewriteRule ^shop/([^/]+)?$         shop.php?$1 [QSA,L]
RewriteRule ^link/([^/]+)?$         link.php?$1 [QSA,L]</pre>
<h2>Installation</h2>
<p>1.  You will need a host that supports PHP and you will also need FTP access to your domain to upload the file.</p>
<p>2.  Purchase the eBay Geotargetted Link Script</p>
<p>3.  Unzip and upload the 3 files via FTP to the root of your domain or blog:</p>
<p>go.php<br />
geoip.inc<br />
GeoIP.dat</p>
<p>4.  Open the go.php file in a text editor and enter your 10 digit eBay Partner Network campaign ID into the line as follows:</p>
<pre>$campid = "1234567890";</pre>
<p>5.  If you want to add your own customID, enter it between the quotes in the line as follows:</p>
<pre>$customid = "";</pre>
<p>See above for more information on the CustomID field and its usage.</p>
<p>6.  Save the file - and start linking!</p>
<p>This script works great with the WordPress aLinks plugin by the way! (The aLinks plugin developers site is down at the moment, but you can grab the plugin <a title="alinks" href="http://www.beste-telefoon.nl/wp-content/plugins/Zip/alinks2.0.2.zip" target="_blank">here</a>).</p>
<h2>Testing</h2>
<p>The eBay Geotargetted link script also allows you to perform testing and debugging too so you can make sure that it is going to do what you want.</p>
<p>To enable this, edit the go.php file and change the line as follows from a 0 to a 1:</p>
<pre>$debug = 0;</pre>
<p>Save the file and test a link and you will be shown a page similar to the following, showing debug information:</p>
<pre><strong>eBay Linking Script</strong>

You are from GB - Therefore I am sending to you eBay GB

And am using this link: http://rover.ebay.com/rover/1/710-53481-19255-0/1?type=3&amp;campid=1234567890
&amp;toolid=10001&amp;customid=xbox-360-page&amp;ext=xbox+360+gtaIV&amp;satitle=xbox+360+gtaIV</pre>
<h2>Multiple Scripts</h2>
<p>You can also run multiple scripts on your site if you need to use more than one eBay Partner Network campaign ID.</p>
<p>Just save the file as something else and change the script accordingly.</p>
<p>This would be a good way to perform "split testing" or have a site where more than one author could link to eBay using their own Campaign ID.</p>
<h2>BUY!</h2>
<p>This script is available to buy for the amazing price of only <span style="color: #ff0000;">$9.99</span>!</p>
<p><a href="https://www.e-junkie.com/ecom/gb.php?i=201943&amp;c=single&amp;cl=35711" target="ejejcsingle"><img src="http://www.e-junkie.com/ej/x-click-butcc.gif" border="0" alt="Buy Now" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.megatao.com/ebay-tools/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

