Ammo For Sale - Find cheap ammo now!

Find Ammo  |  About AmmoSeek  |  Contact Us  |  Advertise  |  FAQ  |  Blog

XML Data feed for AmmoSeek.com

An XML feed is simply a text file that described each ammunition product's data. It should reside on a web server where we can access it at any time. For example: http://yourdomain.com/datafeed.xml or http://yourdomain.com/xmlfeed.php.

Here is a short example describing four products:

  1. a 25-round box of .38 Special
  2. a 400-round case of .308 Marlin Express
  3. 250 rounds of 12 Gauge 2 3/4" OO-Buck shotgun shells
  4. a 5-pack of 12 Gauge 2-3/4" Lead Rifled Slugs

<productlist retailer="yoursiteURL.com"> <product Type="ammunition"> <manufacturer><![CDATA[Hornady]]></manufacturer> <caliber><![CDATA[38 Special]]></caliber> <description><![CDATA[Hornady Critical Defense 38 Special 110 Grain]]></description> <url><![CDATA[http://yoursiteURL.com/products/item12345.html]]></url> <grains><![CDATA[110]]></grains> <type><![CDATA[Flex Tip Expanding]]></type> <price><![CDATA[21.99]]></price> <numrounds><![CDATA[25]]></numrounds> <gauge><![CDATA[]]></gauge> <shot_size><![CDATA[]]></shot_size> <shell_length><![CDATA[]]></shell_length> </product> <product Type="ammunition"> <manufacturer><![CDATA[Remington]]></manufacturer> <caliber><![CDATA[308 Marlin Express]]></caliber> <description><![CDATA[Remington 308 Marlin Express 150 Grain Case of 400]]></description> <url><![CDATA[http://yoursiteURL.com/products/item23456.html]]></url> <grains><![CDATA[150]]></grains> <type><![CDATA[Core-Lokt Pointed Soft Point]]></type> <price><![CDATA[429.99]]></price> <numrounds><![CDATA[400]]></numrounds> <gauge><![CDATA[]]></gauge> <shot_size><![CDATA[]]></shot_size> <shell_length><![CDATA[]]></shell_length> </product> <product Type="ammunition"> <manufacturer><![CDATA[Hornady]]></manufacturer> <caliber><![CDATA[]]></caliber> <description><![CDATA[Hornady TAP LightMagnum 12 Gauge 2 3/4" 00 Buckshot Case of 250]]></description> <url><![CDATA[http://yoursiteURL.com/products/item34567.html]]></url> <grains><![CDATA[]]></grains> <type><![CDATA[]]></type> <price><![CDATA[249.99]]></price> <numrounds><![CDATA[250]]></numrounds> <gauge><![CDATA[12]]></gauge> <shot_size><![CDATA[OO]]></shot_size> <shell_length><![CDATA[2 3/4"]]></shell_length> </product> <product Type="ammunition"> <manufacturer><![CDATA[Brenneke]]></manufacturer> <caliber><![CDATA[]]></caliber> <description><![CDATA[Brenneke USA Black Magic Short Magnum 12 Gauge 2-3/4" Lead Rifled Slug Box of 5]]></description> <url><![CDATA[http://yoursiteURL.com/products/item45678.html]]></url> <grains><![CDATA[]]></grains> <type><![CDATA[]]></type> <price><![CDATA[9.79]]></price> <numrounds><![CDATA[5]]></numrounds> <gauge><![CDATA[12]]></gauge> <shot_size><![CDATA[slug]]></shot_size> <shell_length><![CDATA[2 3/4"]]></shell_length> </product> </productlist>

NOTES:

  • The feed would preferably be "live", or updated hourly at the very least.

  • The feed should include only in-stock products.

  • The <description> field should be as detailed as possible, but not overly lengthy (probably less than 150 characters, and definitely less than 500 characters).

  • As for the <type> field, it only applies to handgun/rifle/rimfire ammo. We really [ultimately] need it to be "defense" (defense/hunting) or "target" (target/practice). If providing this info for each item is not reasonable or possible, then please simply provide the info from your "Bullet Type" field (e.g. "FMJ - Full Metal Jacket", "SP RN - Soft Point Round Nose", etc.).

  • If it's handgun or rifle ammo, then <gauge>, <shot_size>, and <shell_length> need not be populated.

  • If it's shotgun ammo, then <caliber>, <type>, and <grains> need not be populated.

  • For shotgun ammo, the <shot_size> should either be the shot size (e.g. #2, OO, etc) or "slug" if it's a slug.

  • For fields that have special characters such as "&", the whole field should be escaped with the CDATA method as in the example.

    e.g. 40 S&W would be:

    <![CDATA[40 S&W]]>
    It would be accepteble for all data fields to be escaped in this way.

Please contact us if you have any questions.

Home  |  Advertise  |  Certified Retailers  |  Donate  |  Store  |  Blog  |  FAQ  |  Contact  |  About  |  SiteMap  |  Privacy
© 2009-2012, AmmoSeek.com   |  Last updated on Tue May 1 20:25:07 2012