Waxy.org
Waxy.org is the sandbox of Andy Baio, an independent journalist and programmer living in Portland, Oregon. I created Upcoming.org and some other stuff too.

Contact Me: log@waxy.org or waxpancake on AIM

eBay to RSS

Posted Mar 17, 2003

eBay offers the option of e-mailing new results of saved searches, but they're very sporadic and incomplete. Instead, I whipped up a PHP script that queries eBay for a set of keywords and converts it to an RSS feed for syndication, allowing you to subscribe to recent eBay search results ordered by date or high bids. The code is here. (Just rename it to ebayrss.php and drop it somewhere on your own webserver.)

You can test it out for a short time on my server, but this is a very temporary demonstration. Please don't abuse it.

By the way, I don't see why developers should have to pay the ridiculous fees for the eBay API, especially when augmenting eBay's own broken functionality and developing free software that makes them money.

July 8, 2003: eBay removed the Javascript array that I was parsing to gather the auction data... I don't have the time to modify the script, but please feel free to e-mail me a patch, and I'll post it here.

December 28, 2003: The script is fixed, but eBay may eventually break it again. It's broken again.

April 12, 2004: This script is no longer maintained. I recommend FreeBiddingTools.com, which hosts RSS feeds for eBay searches.

August 19, 2004: RSS Auction is a new site that does the same thing, in a much more flexible way. Go use it.

40 Comments (Add Yours)

Mar 17, 2003
10:17 PM  
CMonster wrote:

And thousands of ebay addicts were never heard from again.

I am so tempted to drop a link to this entry over on some of the excessive knitting boards, where people routinely start bitchslapping fights over bargain-priced mohair auctions.


Mar 19, 2003
7:04 AM  
roXet wrote:

Sweet! I'm tempted to modify it, store several differnt searches on my server and slam the rss feed in my handy-dandy rss aggregator so I can keep up on the latest "stuff I need" on ebay. I don't think my wife would appreciate that. =)


Mar 19, 2003
7:30 AM  
Andy wrote:

I'm not really a PHP guru, so any improvements are welcome. All the heavy lifting for the script is handled by one regex that pulls all the relevant auction information out of a Javascript array on eBay's auction listing page.


Mar 19, 2003
1:52 PM  
roXet wrote:

oooohhh, ok a javascript array. I just now looked at the code in detail, and I was like "hey! where is he getting this stuff???". Now that you say that and I look at the ebay soure it makes sense now. =)


Mar 20, 2003
1:05 AM  
BlueMonk wrote:

If the script does not work on your server, you may need to declare the variables in the new fashion:

if ($_GET['search']) {
$sort = $_GE['sort'] ? $sort : 'MetaNewSort';
$rss = parse_html($_GET['search'], $sort);

(Affects those who have global variables turned off)


Mar 27, 2003
6:14 PM  
Scott Gowell wrote:

You did a great job with this script. I hope to piss my host off by using it excessively.


Apr 1, 2003
6:36 AM  
bish wrote:

is it just me, or has anyone else noticed that the results returned are for auctions that have ended? even when i ask for 'newly listed' i get auctions that have ended 7 days ago.


Apr 1, 2003
6:47 AM  
bish wrote:

update: nevermind, it's just using the 'start date' as the ending date. my bad.


Jun 5, 2003
4:55 PM  
Terry wrote:

Is there any way to get this script to search completed auctions? I would like to see what I should be paying for stuff.


Jun 9, 2003
12:46 AM  
eric fader wrote:

how about adding the following:

ability to specify the number of results returned

ability to store the data in mysql


Jun 25, 2003
1:11 PM  
Keith wrote:

THANKS ALOT: I am enjoying the Ebay feed from someone else who is generous enough to share it. I cannot get it to work. Was wondering if you have any idiot proof instructions.
REQUEST: AN Ebay feed by User ID. THis way I can monitor my auctions so I know when they are bid on. PLEASE!


Jul 7, 2003
6:54 AM  
J. Slater wrote:

I tried your program it was working for few days but stop to genrating out-put today (07-06-03).

It fitch the correct content, but there is nothing in the out-put string.

I think the problem is in this line;
if (preg_match ("/eLn/", $line)) {

Please explain what are you seeking in the $line ?

Thanks
John Slater


Aug 6, 2003
11:04 AM  
Iain Cheyne wrote:

I hope someone fixes this excellent script soon.


Aug 27, 2003
7:16 PM  
torque wrote:

Has anyone run across the "dSI" function? Please comment http://www.stanford.edu/~torque/blog/archives/000142.html#more, any ideas are much appreciated. Let's get this thing working again.


Oct 26, 2003
6:34 AM  
J wrote:

Nice idea, but it doesn't work anymore :(


Nov 2, 2003
11:45 AM  
ebay business wrote:

very interesting...many people on ebay are using it to make a living


Dec 1, 2003
2:34 PM  
Jeff wrote:

I seem to be getting the dSI pages if I add the 2 following headers to the HTTP Request:

wc.Headers.Add("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)")

wc.Headers.Add("Cookie", "ebay=js/1; lucky9=241756; search=Set-Cookie:
search=st2; minMax=; keepmesignin=in; Listing=itemtime1; etfc=1; count=1")


Dec 9, 2003
4:51 AM  
Bernd wrote:

This Script doesn't work. Even on my server. Why?


Dec 18, 2003
7:08 AM  
administratoren.com wrote:


Dec 28, 2003
11:47 AM  
John F wrote:

Has anyone fix the script to make a working version?


Mar 17, 2004
9:55 AM  
keith wrote:

Any update on this? I need to link tickest to my site, thanks so much!


Jul 29, 2004
12:26 AM  
Max wrote:

Well, I think we should be a bit more patient till the script will be fixed... :)


Aug 12, 2004
6:12 AM  
Marina wrote:

I wonder how long we should be waiting for this script to be fixed?
We are all expecting for your soon results!


Sep 29, 2004
3:55 PM  
James Calvin wrote:

I wonder if there is an xml feed that will link to eBay and allow my visitors to see actual auctions that they can click on? Not sure if I worded it correctly, but any assistance would be great! Thanks JC


Nov 3, 2004
2:28 AM  
webugger wrote:

I'm using this dSI. It exists in the results page however you send the eBay cookies (for example, if you visit www.ebay.com and then the search results, dSI exists, if not, is all HTML, no JS).


Jan 23, 2005
7:32 PM  
2RSS.com wrote:

Check this ebayrss.php script from http://www.2rss.com/software.php?page=ebayrss . It's freeware and documented.


Jan 27, 2005
9:52 AM  
NewUsedBuyer RSS wrote:

We have created a simple eBay RSS feed for those who just want the RSS results. Simply enter any keyword search and an RSS feed will be generated.


Mar 2, 2005
1:02 PM  
Daniel Fleming wrote:

I've just developed a new site to create custom RSS scripts. Very reliable, updated every two hours. Create and save a custom search. Then, choose to receive your results via email or an rss feed. The site is http://www.powertothebuyer.com. We are an eBay Certified Application.


Apr 24, 2005
2:48 AM  
devendra wrote:

Hi I like powertothebuyer - we also have eBay RSS feeds on http://www.snapsearch.com. rgs devendra


Jun 4, 2005
11:34 AM  
John wrote:

Easy to use custom ebay search delivered in rss. http://ebayrss.getitdaddy.com


Jun 15, 2005
7:53 AM  
Structured Settlement wrote:

re. RSS Auction - does anyone know if it's good for lesser techies that want to have an eBay affil id - or does it only provide their id - for them to get commission?


Jul 19, 2005
11:06 AM  
John L wrote:

RSSAUCTION.COM is the best. However, they are down ALOT. They have been down for at least 5 days now. I am switching to ebayrss.getitdaddy.com, which is the second best out there.


Jul 23, 2005
10:13 AM  
Ron Emrick wrote:

We just launched our site, MarketGizmos (http://www.marketgizmos.com) that creates numerous types of eBay RSS feeds including search results, featured items and hot items. We have been certified by eBay as an eBay Certified Application as well.


Aug 23, 2005
8:49 PM  
Frederick Vallaeys wrote:

My site at www.quickfeeds.com has an RSS feed creator that shows items from your eBay account, including items you are bidding on and items in your watchlist.


Nov 6, 2005
2:31 AM  
richard badger wrote:

having problems running ebay keeps coming up with lucky 9 please set cookie i have no idea what this means been intouch with e bay help (long winded) thay said i have to mamy old cookies on my computer, deleted these and still have the problem.ebay cant help any more this has been going on for a month now can any one help me


Nov 29, 2005
9:37 PM  
Daniel Leffel wrote:

Saved Search Pro does the same thing, but it allows you to make much more in the way of refinements to your searches, drilling the category structure, using item specifics, and even multi-selected values. Check it out here.


Feb 21, 2006
6:49 PM  
ebay_melts_my_mind wrote:

Hello all.

Here is a good question for the group.

Is there a line of code, html, java, etc. that I can put in my eBay listing that will make
the listing come up on the first page of search results rather then the 30th page? LOL!


Feb 7, 2007
3:11 PM  
James Mackinlay wrote:

The script is working good but is only displaying 1 result is there a way to make it display lets say 20 results?

Jim


Sep 5, 2008
4:14 PM  
NOC Guy wrote:

I'll pay you to get this working. Ebay's RSS feed is hosed and I use it all day long for work. You interested in helping?


Jun 23, 2009
3:23 AM  
Marc wrote:

I'm interested in getting this to work too...! +1


 

Leave a comment





Waxy Links
Ads via The Deck
July 2, 2009
Paul Lamere's Coolness Index — are female singers uncool?
Kickstarter's Big Day — 13 projects ended on July 1, raising an average 188% of their goals
Anil Dash on Malcolm Gladwell's criticism of Chris Anderson's Free — I read through Gladwell's New Yorker piece twice, and the arguments seem petty and off base
72-year-old retired boxer beats up knife-wielding knucklehead — the inane Facebook photos make this story even more delicious
July 1, 2009
Pez sues Burlingame Museum of Pez for copyright infringement — so disappointing
RIAA wins lawsuit against Usenet.com — judge rules Betamax case doesn't apply; every other Usenet provider is next
June 30, 2009
EveryBlock releases source code — it was a requirement of their funding from the Knight Foundation
Hype Machine detects cheating on charts, names names — one of the bands responds in the comments and gets schooled by Anthony (via)
Ze Frank on black, white, and shades of green — I'm loving this series
China bans gold farming, real-world sale of virtual goods — Eurogamer estimates 1 million Chinese gold farmers with worldwide trade worth more than US$10 billion annually (via)
The Pirate Bay sold to publicly-traded Swedish gaming company — Brokep's statement is delusional; being acquired will almost certainly kill the site
Michael Rubin's "Droidmaker" book now available for free download! — authoritative 518-page history of Lucasfilm, the creation of Pixar, and much more (via)
June 29, 2009
Jason Rohrer interviewed about "selling out" to make iPhone and ad games — he recently switched from free, open-source games; also, EA claims Spielberg's LMNO isn't cancelled
Nedroid's Cosby Experiment — view all 190 Cosbys
How the NYT kept their reporter's Taliban kidnapping off Wikipedia for seven months — they collaborated with Jimmy Wales directly to freeze the entry; NPR asks if it was ethical (via)
David Fincher may direct Facebook film, adapted by Aaron Sorkin — possibly starring Michael Cera or Shia LaBeouf as Zuckerberg; this sounds familiar (via)
Quarrygirl's undercover investigation of non-vegan ingredients used at L.A.-area vegan restaurants — outstanding blog reporting, with industrial food testing from 17 different restaurants and research into suppliers
June 28, 2009
James Barnett's oil paintings of landscapes from video games — looking at the paintings, I felt like I'd actually visited those locations in real-life (via)
WSJ interviews Brenda Brathwaite about "Train," a board game about the Holocaust — not all games need to be fun (via)
June 27, 2009
How Rob Manuel accidentally started a Michael Jackson moonwalk flashmob — I'm in London right now, and I've seen several massive vigils and tributes on the streets (via)
Top teams join forces to win Netflix Prize — check the leaderboard for the first score to break the 10% improvement threshold (via)
Wired on the success of Nike+ — backstory on how it works and the Hawthorne effect; simply measuring something can change its behavior (via)
June 26, 2009
Imeem to delete all user-added photos and videos, with five days' notice — with no way to back up videos at all (via)
Shnabubula's chiptune tribute to Michael Jackson — also: Virt's incredible VRC6 cover of Thriller
June 25, 2009
Metafilter user highlights 20 years of Elvis Costello's "adenoidal" voice in the NYT — Stephen Holden and Neil Strauss have a limited musical vocabulary (via)
June 24, 2009
Flashterm, free telnet client for the web — I love his gallery page, full of BBSes
Peter Nitsch's Flash port of AA-Lib, image-to-ASCII art library — the demo is fun; also: his real-time video conversion to ASCII (via)
Simon Willison's four lessons from the Guardian's journalism crowdsourcing experiment — they deliberately made it game-like to encourage participation (via)
June 22, 2009
Ze Frank's That Makes Me Think Of... — first of a series on Time.com, reminiscent of The Show (via)
Paul Lamere on procedural video remixing with the Echo Nest API — this is way awesome, the mashup possibilities are endless

Andy Baio lives here. Some rights reserved, for your pleasure.