How to use BeListings free ebay software, ASP code modifications
To list eBay products in your website you must follow this two steps:
-
Step 1 beListings source code modifications
-
Step 2 beListings source code implementation
Step 1: beListings source code modifications
Open the file called ebay.asp included in the package and replace the following lines:
First replace DevID, AppID, and Cert
DevID = "---ENTER YOUR DevID HERE---" AppID = "---ENTER YOUR AppID HERE---" Cert = "---ENTER YOUR Cert HERE---" Create an authentication token at http://developer.ebay.com/tokentool/ AuthToken = "---ENTER YOUR TOKEN HERE---"
After you replace the past data with your own information, then scroll down the code until the line number 64 find and replace:
if TradeDoublerProgramId="" then TradeDoublerProgramId="1697" Enter your TradeDoubler Program ID here if TradeDoublerSiteId="" then TradeDoublerSiteId="1119091" Enter your TradeDoubler Site ID here cj.com PID is not the account number, one PID is given per website at cj.com, see PID on getLinks if CommissionJunctionPID="" then CommissionJunctionPID="" Enter CommissionJunctionPID here if CommissionJunctionAID="" then CommissionJunctionAID="5463217" if CommissionJunctionPrefix="" then CommissionJunctionPrefix="http://www.anrdoezrs.net/click-" eBayIntermediary can be TradeDoubler or CommissionJunction if eBayIntermediary="" then eBayIntermediary="CommissionJunction"
Save the script. Now the script ebay.asp is ready to be used with your own data
In order to get your own CommissionJunctionPID Sign up here at cj.com
Step 2: Implementation source code
The following implementation will search inte the category number: 20924 using the search string: ebay software
Remember first to include the file named ebay.asp in order to be able to call eBayDisplayItems function
<!--#include file="ebay.asp"-->
<% eBaySiteID="0" eBaySearchType="Gallery" eBaySearchFlags="" eBayOrder="SortByEndDate" eBayPageNumber="1" eBayEntriesPerPage="100" eBayItemTypeFilter="AllItems" eBayCategoryID="20924" eBayQuery="ebay software" eBayItemBorderColor="#000000" eBayItemBgColor="#FFFFFF" eBayColumns="2" eBayMaxItems="50"
this is the function call to display eBay items eBayDisplayItems %>
Code implementation description for all variables
enter the ebay site ID here ie: 0=US 3=UK 186=Spain Sites Ids http://developer.ebay.com/DevZone/XML/docs/WebHelp/FieldDifferences-Site_IDs.html eBaySiteID="0"
All Return Gallery and non-Gallery item listings. Gallery Return Gallery items only. eBaySearchType="Gallery"
http://developer.ebay.com/DevZone/XML/docs/WSDL/xsd/1/simpletype/SearchFlagsCodeType.htm Leave blank will search in titles only Charity Return only charity item listings. SearchInDescription Include the description field of item listings in keyword search. Item listings returned are those where specified search keywords appear in the description, as well as the title and sub-title. PayPalBuyerPaymentOption Return only item listings where PayPal is a payment method offered by the seller. NowAndNew Return only items that have been listed with Now and New. Applicable for certain sites only. See the Developers Guide. eBaySearchFlags=""
http://developer.ebay.com/DevZone/XML/docs/WSDL/xsd/1/simpletype/SearchSortOrderCodeType.htm SortByEndDate Sort by item end date. SortByStartDate Sort by item start date. SortByCurrentBid Sort by current bid price. SortByListingDate Sort by listing date, descending order. SortByCurrentBidAsc Sort by current bid price, ascending order. SortByCurrentBidDesc Sort by current bid price, descending order. eBayOrder="SortByEndDate"
eBayPageNumber="1" first page to bring with results eBayEntriesPerPage="100" amount of items to be brought from the search
http://developer.ebay.com/DevZone/XML/docs/WSDL/xsd/1/simpletype/ItemTypeFilterCodeType.htm AuctionItemsOnly Return auction items only. FixedPricedItem Return fixed price items (both Fixed Price and Buy It Now) only. AllItems Return all items (auction and fixed-price). eBayItemTypeFilter="AllItems"
eBayCategoryID="20924" http://listings.ebay.com
eBayQuery="ebay software" search string to be used for query
eBayItemBorderColor="#000000" item listings border color eBayItemBgColor="#FFFFFF" item listings background color eBayColumns="2" Amount of columns eBayMaxItems="50" Amount of results to be displayed after removing duplicates
eBayDisplayItems this is the function call, when calling this function all previous variables will be used to execute the search and display items as listing
Bellow is an eBay listing that responds to the past code
|