an ebay module?
sime - October 9, 2005 - 22:49
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?

google it
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)
still no luck
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.
what are you looking to achieve?
i'm wondering if there was an ebay module what type of functionality you would be looking for.
wrapper for xml from ebay
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.
This is what I'm looking for
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.
i have some code
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.
I think the goal here is to
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
auctions
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."
where I'm at
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.
You can use the eBay Editor
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 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.
Screwy formatting with eBay Editor Kit in Drupal 5
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?
Re: eBay editor kit & Drupal 5
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?
Re: Screwy Formatting w/ eBay editor kit in Drupal 5
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?
followup:
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
If anyone's still going to
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