Is anyone aware of an implementation of ebay in a drupal site, or of plans to create an ebay module in the same vein as the amazon module?

On a side note, I tried searching for "ebay xml" but the results were ebay OR xml which is absolutely useless! :)
Is there a way to do a boolean AND search on these forums?

Comments

sami_k’s picture

go to google and type in the following:

site:drupal.org (ebay AND xml)
--
Please read the handbook, search the forums, then ask...
http://drupal.etopian.net (Drupal Support)

sime’s picture

Thanks Sami, I wouldn't do that by default but you seem confident that google has indexed this site completely. So, I just checked google with no luck.

So original q. still applies. Any knowledge or interest in an ebay module akin to Amazon module?

Cheers, s.

sime’s picture

Gosh, what noob was I?

travischristopher’s picture

i'm wondering if there was an ebay module what type of functionality you would be looking for.

sime’s picture

The idea being that there is some sort of wrapper to get search results from ebay. Ebay provides an api for developers, probably to stop people parsing their html(!):
http://developer.ebay.com/xml/

An example of a wrapper class is available for PEAR:
http://pear.php.net/package/Services_Ebay

Indeed, it is what I will need to develop separately if it is not already an add-in module for Drupal or Typo3.

cre8d’s picture

This is what I'm looking for too - if you would like to work together on getting something working for Drupal, please let me know.

chx’s picture

it puts an ebay_item into an ecommerce cart, lets ecommerce handle the payment from the landing page it sets paid and leaves feedback. It's a hodgepodge of legacy and new XML calls, 'cos I used ebay accelerator toolkit which does not support the new, but I needed CompleteSale which is new only, so I have coded a hairy (no error handling) ebay API call in new XML.

Writing the XML parser helpers for the new would be beneficial. If someone volunteers to do the latter, then I'll make the effort to make the code releasable and do it.
--
Read my developer blog on Drupal4hu.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

hadishon’s picture

I think the goal here is to provide eBay auctions through a drupal site in order to earn affiliate earnings. I think eBay pays about .10 per referal that places a bid etc...

I'm interested in this. Does anyone know if anything was done to implament this for drupal? Anyone willing to work on it?

2 of my Drupal sites:
Small Farm Resource Center
Israel Travel Center

edrupalec’s picture

there's an auctions module
-----
Drupal ecommerce, at www.drupalecommerce.com is a new site written using language that Drupal beginners and intermediate users can understand. Quick links to "Modules."

sime’s picture

Since I started this thread, I will just pipe up and say I'm not pursuing this - my client decided he didn't like ebay after all.

Anyone pursuing this should check out what chx has done.

greygoo’s picture

You can use the eBay Editor Kit, which will produce some Javascript you can insert into your template or post.
http://affiliates.ebay.com/tools/editor-kit/

Here’s the description of the Editor Kit from eBay:

The eBay Editor Kit (EK) is one of the most innovative and effective affiliate tools available. With the EK, affiliates can add relevant, real-time eBay listings to their Web sites in just seconds. Best of all, the EK produces click-through rates two times greater than traditional banners!

Whatever your Web site’s content or user demographic, eBay’s Editor Kit will dynamically list pertinent eBay auctions and listing details, including product information, gallery images, bidding prices, and ending times. Each specification is completely customizable.

The Editor Kit is designed to show context-based ads (like Adsense). However, there are ways to add just your own listings. The Editor Kit allows you to enter search terms that dictate which ads to show on your site, so just enter some unique word (or your website url) in your eBay lisitings, and use that word as your search term when you set up the Editor Kit. I think you can even choose to see items from a certain ebay seller.

TallDavid’s picture

I used the eBay editor kit to generate the following code:

<script language="JavaScript" src="http://lapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=tkffnk%7Ccn%27bkfl&bdrcolor=f8f7f1&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=EFEFEF&fntcolor=000000&fs=1&gallery=y&hdrcolor=eedf03&hdrimage=7&hdrsrch=y&img=y&lnkcolor=917803&logo=9&num=20&numbid=n&paypal=n&popup=y&prvd=1&query=gerbil&r0=3&shipcost=n&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=n&tbgcolor=FFFFFF&title=Everything+Gerbil+for+Every+Gerbil+Loving+Kid%21&tlecolor=eedf03&tlefs=1&tlfcolor=FFFFFF&track=2293651&width=455"></script>

This code was then inserted into a test page: http://www.gerbil-girl.com/shopping.html

The result includes extra blank lines which I have been unsuccessful in removing. I've tried both Full HTML and PHP input formats as well as removing white space from the Drupal 5 page input field. No cigar.

Suggestions?

scruffd0g’s picture

I was thinking of integrating ebay auctions into a site I'm working on when I saw this post. Anything I should look out for when I try to put the code in? Are you still getting the error message/funky page?

scruffd0g’s picture

I'm having the same thing happen to some test listings i've recently posted from the eBay Editor Kit into a Drupal 5 template. (see http://www.pokerchipauction.com/poker_hand_rankings.html)

I'm getting the same extra line breaks, extended table boarders, and overall ugliness that gerbil-girl has.

Anyone know of a way to tweak this, or are we pretty much stuck with this ugly-looking thing?

scruffd0g’s picture

never got the editor kit to work properly.

However, this is what i did to show auctions in my site: http://drupal.org/node/190389

niklp’s picture

If anyone's still going to end up on this page, then I might as well post a useful link... :)

If you want to embed affiliate ebay links in a page to earn money, then you want the Auction Ads module, here: http://drupal.org/project/auctionads

Kineta Systems - Web Development in Nottingham

carsonblack’s picture

Go to http://togo.ebay.com/

From here you can generate code for a little widget(flash object embed) that you can put in the body of a block. Just copy the embed code, paste it in the body of a block (select Full HTML for the input format), save the block and then put it where you want it.

The widget generator allows you to do multiple or singular products, singular or multiple sellers and a choice of layouts, etc.

This has worked pretty good for me in the past although it does turn out a little wide for use in a sidebar.

I still think some sort of Drupal module that would work with the latest API would be a better solution. It doesn't even have to be an affiliate thing. Just something that could generate something similar (although doesn't have to be Flash) to what is described above. I have clients that want to show a short list of their products for sale in their eBay store on their web sites.

I'll let you know if I get a chance to create something.