UK Property to let


PHP Script - Add eBay Listings to Your Website Pages

Here's a PHP script to insert eBay listings (your own or other peoples) in to any PHP web page. This article shows a demonstration of the script in action together with details of all the features.

Among its many features, this simple to install and run script can be set to show eBay Partner Network affiliate links or, as in the example below, non-affiliate links.

As a picture tells a thousand words...this is a demo example of how the script appears when in action:


NICE WALNUT WESTMINSTER CHIME MANTEL CLOCK BY ANDREW ,VERY CLEAN CLOCK
NICE WALNUT  WESTMINSTER CHIME MANTEL CLOCK  BY ANDREW ,VERY CLEAN CLOCKGBP 100.00 (42 Bids)
End Date: Monday May-21-2012 12:07:57 PDT
Bid now | Add to watch list

VINTAGE ELLIOTT BURR WALNUT CADDY TOP BRACKET MANTLE CLOCK
VINTAGE ELLIOTT BURR WALNUT CADDY TOP BRACKET MANTLE CLOCK GBP 150.00 (0 Bid)
End Date: Monday May-21-2012 12:13:34 PDT
Bid now | Add to watch list

WALNUT CASE PENDULUM WALL CLOCK GUSTAV BECKER SINGLE CHIME BAR 8 DAY KEY HOLE
WALNUT CASE PENDULUM WALL CLOCK GUSTAV BECKER SINGLE CHIME BAR 8 DAY KEY HOLEGBP 125.00 (0 Bid)
End Date: Monday May-21-2012 16:04:10 PDT
Bid now | Add to watch list

C19TH BURR WALNUT CASED MANTEL CLOCK HRY MARC PARIS MOVEMENT EBONISED MOULDINGS
C19TH BURR WALNUT CASED MANTEL CLOCK HRY MARC PARIS MOVEMENT EBONISED MOULDINGS GBP 100.00 (0 Bid)
End Date: Wednesday May-23-2012 12:24:02 PDT
Bid now | Add to watch list

Get this script

This demo of the script is set up as follows:

Site Target: The demonstration pulls listings from eBay.co.uk but the script will work for eBay.com (US), eBay.ca (Canada) in addition to the UK site.

Links: The listings in the demonstration are NOT eBay affiliate links. The script only shows affiliate links once an ePN campaign ID has been entered.

Category: This demo script is set up to pull listings from the clocks category on eBay UK. The script can be set up to target any category just by entering the category number.

Keyword: The demo searches the clock category using the keyword "Walnut". As you can see only walnut clocks are returned in the demo listings. The script can be set up to search by any keyword.

Number of listings: The demo is set to show 4 listings although the script can show any number of listings up to 100.

Target Window: Clicking the links in the demo will result in the eBay listing being opened in a new window. The script can also be set to open eBay listings in the same window.

Min & Max Prices: The script is set to show clocks priced between £100 and £150 only in the above demo. Users can set the script to pull items according to any minimum or maximum price (must be a whole number).

Specific Seller: The demo above shows clocks from any seller but the script can be set to show only listings from one seller. This allows sellers who may not be interested in the ePN affiliate program to display their own listings using natural eBay links within their own websites.

Custom ID: For ePN affiliates this allows you to enter a custom ID within links to help track performance.

Hidden URLs: Because lengthy affiliate links can look offputting to many visitors, the script is set to hide the listing's URL from showing in some browsers during mouseover.


The script produces plain, unstyled HTML meaning your display will follow your own site format and CSS etc. As sellers on eBay vary in the use of capital letters in item titles, the script automatically makes all item titles appear uniform, as the demo shows, by converting them to uppercase.

This is a small single page script which also contains full commented instructions on set up and how to call the script to display in your website's pages.

Server Requirements: PHP5 (or later) is needed to run the script.

Want the script?


Donationware: If you would like to make a modest donation of between £1 and £10 max (you decide the amount) to help keep Jotty.co.uk online, the script will be emailed back to your Paypal email address (usually within 12 hours). Please use the Paypal button below - Thank you!

Sorry - This script works with eBay's old RSS feeds which are about to become non-functional. An updated script will be available soon.

Want a Professional eBay Display Solution?

If you're looking for a far more comprehensive solution for building quality websites monetized by eBay listings then look no further than phpBay. They offer very affordable and well supported scripts to display eBay listing on Wordpress powered or PHP based websites. Read about the full features of this excellent software at the phpBay website.






Php Scripts Resources Related Links From Around The Web

The PHP Resource IndexSite with complete script, code snippets, documentation and other PHP related resources. In affiliation with cgi-resources.com Around 700 entries
http://php.resourceindex.com/...
PHP Resources : PHP scripts, programs, applications, code, books ...A directory of PHP books, development software, jobs, magazine articles, online communities, programmers, scripts & programs, tutorials, and web sites
http://www.bigwebmaster.com/PHP/...
PHP Resources - Scripts, Codes, Applications & SoftwareCategorized collection of PHP resources including open source PHP scripts, codes, web sites and software.
http://www.hotscripts.com/category/...
PHP Encoder, protect PHP scripts with SourceGuardian including ...Welcome to the SourceGuardian PHP Encoder resource directory. Here you will find PHP scripts and programs for PHP to on a wide variety of topics.
http://www.sourceguardian.com/php_s...
PHP scripts - download free PHP scriptsPHP scripts, such as hit counter, guestbook, message board, link manager. Also links to PHP resources.
http://www.phpjunkyard.com/...

20.07.2010. 20:06