You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0" encoding="utf-8"?>
<api>
  <query-continue>
    <allpages gapfrom="Rotating Ads" />
  </query-continue>
  <query>
    <pages>
      <page pageid="54" ns="0" title="Redemption Options">
        <revisions>
          <rev>==How to create a new redemption type==

Configuration page path: &lt;tt&gt;Main menu &gt; Accounting -&gt; Redemption Options&lt;/tt&gt;

===Sort Group===

With this setting you can order your redemption types. There are two drop down boxes with alphabets. Choose desired values to both.

Examples:

* AA=First
* AB=Second
* BA=After all redemption options where redemption order starts with A
* BB=After BA

===Qualifying Membership Type===

Specify if you want the redemption option to be available to all members, free and custom members (advertisers excluded) or to a specific user group

===Description===

Enter a short description for the redemption option

===Type===

Choose either Cash or Points.

===Amount===

How much cash or how many points is required to redeem.

===Change this account type to===

If you are creating an upgrade redemption use this option to set the script to upgrade the member automatically. Leave to default &quot;Do not change account type&quot; if you are not creating an upgrade redemption or do not wish the usertype to be change automatically.

===Upgrade expires in===

Specify how long the upgrade will last. (For example one week, month or year)
''Only specify this if the &quot;Change this account type to&quot; option is also set to non default value.''

===Automaticly deduct amount from users account when they redeem===

Set to yes or no. If you set this to no you will have to deduct the amount manually.

===Special HTML===

If you would like to add special HTML code right before the submit button like a textbox where they can put in their ad.

Example textbox code: &lt;code&gt;&lt;textarea name='userform[ad_info]' rows='10' cols='30'&gt;Type your ad here&lt;/textarea&gt;&lt;br&gt;&lt;/code&gt;

===PHP Code===

''For experts only!''

Do not use this unless you know PHP. You can enter here any PHP scripting you would like to take place when someone selects this redemption. If you use the option to auto deduct, the script you enter here will run before the transaction is entered into the accounting table.

==How to set up redemtion options to show up on your site==

To list the redemption types available to a member place the following code in your html:

&lt;code&gt;&lt;?php action('show_redemptions');?&gt;&lt;/code&gt;

[[Category:Configuration]]</rev>
        </revisions>
      </page>
      <page pageid="126" ns="0" title="Referral Renting">
        <revisions>
          <rev>CashCrusader has had rented referrals feature since version 2.27. Version 2.28 fixes bugs from this feature and everyone using the feature is recommended to update.

== Installation of the Feature ==


Full install of versions 2.27 and later already have the feature enabled. When updating to CashCrusader 2.27 or newer a couple of steps need to be done to install the feature. The steps are listed below. The steps assume you are using default directory structure.

1) Copy file '''/scripts/templates/refsrented.php''' into '''/pages/''' folder.&lt;br&gt;
2) If needed, edit '''/pages/refsrented.php''' to match your custom design.&lt;br&gt;
3) Copy file '''/scripts/templates/refsearch.php''' into '''/pages/''' folder.&lt;br&gt;
4) If needed, edit '''/pages/refsearch.php''' to match your custom design.&lt;br&gt;
5) Add link to your member's menu, '''/pages/account_menu.php'''.&lt;br&gt;
&lt;br&gt;

== Rented Referral Settings ==


Main Settings: ''Main Menu -&gt; Site Settings -&gt; Referral Rent Settings''

On the page you can get more information about each setting by hovering your mouse cursor over the '''(?)''' icon next to the setting field.

Membertype rental caps: ''Main Menu -&gt; User Management -&gt; Membership Types''

User specific rental caps: admin panel user editor. Enable custom cap for the member and insert your wanted limit for the account.

Email templates can be found from'' Main Menu -&gt; Site Settings -&gt; System Email Templates''.

[[Category:Usage]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>