<?xml version="1.0" encoding="utf-8" ?>
<ignite version="1.0" source="alexa.com">
  <func name="data" endpoint="http://data.alexa.com/data?" method="GET" format="XML">
    <description>This function returns the Alexa site ranking data for a given URL or domain</description>
    <example>
      =Ignite("alexa.com","data","popularity","www.google.com")
    </example>
    <inputs>
      <input name="cli" type ="config" value="10"/>
      <input name="dat" type ="config" value="snbamz"/>
      <input name="url" type ="input1"/>
    </inputs>
    <outputs>
      <output name="popularity" path="//POPULARITY/@TEXT[1]"/>
      <output name="rank" path="//REACH/@RANK[1]"/>
      <output name="delta" path="//RANK/@DELTA[1]"/>
      <output name="linksin" path="//LINKSIN/@NUM[1]"/>
      <output name="dmoz" path="//DMOZ/SITE/@DESC[1]"/>
    </outputs>
  </func>


  <examples>
    <![CDATA[
<table border='1' class='ExcelTable2007'>
<tr><th class='heading'>&nbsp;</th><th>A</th><th>B (Formula)</th><th>C (Output)</th></tr>
<tr><td class='heading' >1</td>
<td>www.google.com</td>
<td>=Ignite("alexa.com","data","popularity",A1)</td>
<td>1</td>
</tr>
<tr><td class='heading' >2</td>
<td>www.google.com</td>
<td>=Ignite("alexa.com","data","rank",A2)</td>
<td>1</td>
</tr>
<tr><td class='heading' >3</td>
<td>www.google.com</td>
<td>=Ignite("alexa.com","data","delta",A3></td>
<td>+0</td>
</tr>
<tr><td class='heading' >4</td>
<td>www.google.com</td>
<td>=Ignite("alexa.com","data","linksin",A4)</td>
<td>3804847</td>
</tr>
<tr><td class='heading' >4</td>
<td>www.google.com</td>
<td>=Ignite("alexa.com","data","dmoz",A5)</td>
<td>Enables users to search the world's information, including webpages, images, and videos. Offers unique features and search technology.</td>
</tr>
</table>
      ]]>
  </examples>
</ignite>
