API();
Fit-Box is part of the Fit-Equip-Network of sites. We have built a large system from scratch to handle all our account, ordering and merchant integration.
Please note: This is the official API for A and D Sports Ltd owned network "Fit-Equip" and "Fit-Box". Our family sites all use this API and you will see many call backs, requests and includes in our the majority of the library code to Fit-Box. Most information and API links redirect here (Fit-Equip.com). We have chosen to host this on the Boxing site as this is our root server and at the the time was the first and main frame site (ATM) we used excluding Fit-Equip.com
SITEMAP AND XML FEEDS
Sitemaps coded in XML format, always updating
Fit-Box.com
-- XML Feed
www.Fit-Box.com - Sitemap XML
www.Fit-Equip.com - Sitemap XML
www.Fit-Equip.com/blog - Sitemap XML
www.Fit-Equip.com/index - Sitemap XML
PRODUCT AND MEDIA FEEDS
GetProduct - A public API file using a small JavaScript include on your server. This file will then enable you to list any of our products, product details and images and product information on your site. To match your own templates and site layout. This will be live soon.
A PHP example - our system will very simple for designers and developers.
<?php
/************
Start Fit-Equip-API
************/
require_once('fit-equip-php-api-pack.php5');
include('fit-equip.php5);
$api_key=''; // insert your key
$secure_key=''; // insert hash key
$site_url=''; // your site URL
$site_api_id=''; // your api id
$display_total=''; // how many items per page
$row_total=''; // how many items per row
... etc
?>
RSS Products XML - Updating RSS feed of all our products You can subscribe or sync to the feed free and use it on your own media.
Fit-Box.com - Google Base Products XML - Updating RSS/XML feed of all our products on Fit-Box.com.
Fit-Equip-Home.com - Google Base Products XML - Updating RSS/XML feed of all our products on Fit-Equip-Home.com.
Fit-Box Search API - Place our feed and search on your site and include your affiliate code.
SEARCH AND DISPLAY API
Search only Fit-Box.com
<form method="get" action="http://www.fit-equip.com/search/search.php?q=fit-box&submit=SEARCH&search=1" class="search_form">
<fieldset>
<input type="text" class="text" name="q" id="q" size="30" value="" columns="2" autocomplete="off" delay="1500" />
<input type="submit" name="submit" value="SEARCH" id="search_button_ie" />
<input type="hidden" name="search" value="1" />
</fieldset>
</form>
Note: The form is for Fit-Box site search only and uses a GET method in PHP. We are using Request Header Form HTTP Get in PHP because our search engine is programmed in PHP.
Search all Fit-Equip.com, Fit-Equip-Home.com, Fit-Equip-Commercial.com, Fit-Box.com and Fit-Equip.com/Blog - Super fast
<form method="get" action="http://www.fit-equip.com/search/search.php" class="search_form">
<fieldset>
<input type="text" class="text" name="q" id="q" size="30" value="" columns="2" autocomplete="off" delay="1500" />
<input type="submit" name="submit" value="SEARCH" id="search_button_ie" />
<input type="hidden" name="search" value="1" />
</fieldset>
</form>
Note: For styling we recommend you use xHTML and CSS. The tags we have used are:
search_form{}
fieldset{}
text{}
search_button_ie{}
We used the following CSS. Feel free to edit it.
.search_form {
float:right;
}
fieldset {
border:1px solid #BFBFBF;
margin-bottom:10px;
}
input.text {
background:#FFFFFF none repeat scroll 0 0;
border:medium none;
padding:1px 2px;
}
#search_button_ie {
background-color:#FFFFFF;
border:medium none;
color:#BC1D23;
font-weight:bold;
text-transform:uppercase;
}
IMAGE DISPLAY AND RESIZE SYSTEM
Imageresize.asp and hosting system for media content based images. JPEG format. PNG and others can be used as direct paths (http://dev.fit-equip.com/image/png/picture.png)
<a href="" title=""><img src="http://www.fit-equip.com/imageresizex.asp?size=200&url=path-to-image.jpg" alt="" title="" /></a>
The only difference with the alternative is that the size() variable is not be using for the ASP Image Component. ASPJpeg. As you can see from the code below - also Height() and Width() are used and the file is also called imageresize.asp - not the exclusion of the "x"
<a href="" title=""><img src="http://www.fit-equip.com/imageresize.asp?url=image-path.jpg&height=500&width=500" alt="" title="" /></a>
ASPJpeg and ASP component are very, very fast and are server loads them with a custom class based version - the original one was and is great, but are own are more suited for images of a hi quality as the product pictures we have are zoomed up to 500x500 to 700x700 and beyond. Some consider a hi resolution basis of it as 2000x2000