XML RPC

The Airbana XMLRPC system allows you to publish information about your prices / products straight to Airbana.

When a user requests the price list from your site Airbana attempts to connect to the website listed in the Database and then requests a page called xmlrpc.php

This page can either be plain text (as along as it follows the XML structure listed later) or can be a dynamically generated page that pulls info from your own database! For those of you who would prefer to use a tool to make the XML rather than crafting it by hand simply click here.

XML Format
The Airbana XML format is as follows:

<airbana>
 <product id="1">
  <name>Product Name</name>
  <price>Product Price</price>
 </product>
 <product id="2">
  <name>Product Name</name>
  <price>Product Price</price>
 </product>
</airbana>

You can list as many Products as you like but Airbana is likely to choose the first 2 or 3 then randomise the selection for any subsequent entries.

Future Options
Version 3 of the XML RPC system is designed to accept additional options:

XML Option Purpose
URL Provides a direct link to the product in question
Image Allows an embeddable thumbnail of the product to be displayed
Description Allow a custom description to be displayed on the item or the image hover
Tags Tagging allows you to specify certain products as an ‘AEG’ for example then users could search the Airbana database for AEG and it will get all products ‘tagged’ as AEG (think money supermarket)

This How-To Applies to version 2