Auction Feeds
Linking auctions to your current website is not only allowed, it is encouraged. Your website can show legitimacy to potential clients and can help your business grow by including testimonials, announcements, fee structures and previous auctions. There are multiple ways that affiliates can link auctions to an external website:
- Copying and pasting each auction
- Using an iFrame pointed to the auction listings page and filtering to your affiliate ID. E.g. http://k-bid.com/auction/list?affiliate=2
Both of these options do have some noticeable drawbacks, namely some formatting issues and the amount of time it takes to manually link the auctions. We now have a better solution available.
Dynamic Auction Feed
Using JavaScript, very similar to how you would use a jQuery widget for say a calendar, you can easily render a feed of your currently live auctions on any web page. This feed is real-time and will not require you to maintain anything. We do cache things for about an hour so do not be surprised if there is some delay from the time you publish an auction to when it shows up on your feed. The feed will look like our existing auction listings:
Note the width of that feed is 703 pixels.
Usage is very simple.
1) Include jQuery if not already included.
2) Include the JS and CSS file hosted by k-bid.com
3) Place the script containing oasRender() call on the page and plug in the appropriate affiliate ID to filter auctions by. Use a value of zero if you want to display all current auctions, not those of a single affiliate.
4) Insert the div tag on the page where you want to display the feed.
Below is the HTML source of a basic page rendering the auction feed:
<html lang="en">
<head>
<meta charset="utf-8">
<title>OAS Auction Feed</title>
<!-- 1) jQuery is required, it might already be in use on your site, if not include the following -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- 2) Include the following stylesheet and script -->
<link rel="stylesheet" href="//k-bid.localhost/feeds/oas-feed.css">
<script type="text/javascript" src="//k-bid.localhost/feeds//oas-feed.js"></script>
<!--
3) Place this script snippet in the <head> section of the page
a) configure the src and affiliateId
-->
<script type="text/javascript">
$( document ).ready(function() {
$("#oas-auction-feed").oasRender({src: 'http://k-bid.com', affiliate: 2});
});
</script>
</head>
<body>
<!-- page content... -->
<!-- 4) Place this div in the page body where you want to display the feed -->
<div id="oas-auction-feed"></div>
<!-- page content... -->
</body>
</html>
A live example can be found here: http://onlineauctionsolutions.com/feed.htm
These instructions should be quite simple for a developer / designer to follow and should require little effort to implement. If you have any questions or feedback please do not hesitate to contact Tom Godar (Tom.godar@k-bidmail.com).
Syndication like this will hopefully get more clicks through to your auctions and save you time spent maintaining listings by hand.
Comments
0 comments
Please sign in to leave a comment.