|
|---|
|
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:
- a 25-round box of .38 Special
- a 400-round case of .308 Marlin Express
- 250 rounds of 12 Gauge 2 3/4" OO-Buck shotgun shells
- a 5-pack of 12 Gauge 2-3/4" Lead Rifled Slugs
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: It would be accepteble for all data fields to be escaped in this way.
Please contact us if you have any questions.
| |
|