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"?>
<api>
  <query>
    <pages>
      <page pageid="127" ns="0" title="Relay">
        <revisions>
          <rev xml:space="preserve">Due to abuse on our network to send spam, since 25-02-2012 we do not allow the direct email sending through our servers. This means that to be able to send emails, you'll need to setup a relay server.

To use the relay server, you don't have to place a username or password. The server is protected by IP address.

Always use &quot;relay.lusovps.com&quot; because of redundancy.



'''Sendmail'''

To use a relay server on sendmail

vi /etc/mail/sendmail.cf

Find the word &quot;DS&quot;

/DS

replace with 

DSrelay.lusovps.com


'''PostFix'''

To use a relay server on postfix

vi /etc/postfix/main.cf

Find the word &quot;relay =&quot;

/relay\ =

replace with

relay = [relay.lusovps.com]


'''I'm using the service as a VPN. These rules cannot apply because I can't control my users'''

True. But you can control your data flow.

Add this to your firewall:

''iptables -A OUTPUT -p tcp --destination-port 25 -d relay.lusovps.com -j ACCEPT''

''iptables -A OUTPUT -p tcp -m state --state NEW -m recent --set''

''iptables -A OUTPUT -p tcp -m state --state NEW  --destination-port 25 -m recent --update --seconds 60 --hitcount 3 -j DROP''

This means that all the connections made from your VPS to the internet will be throttled to 3/minute, except when using our relay server. All the rest will be droped. This way, your VPS won't be flagged on our system.


'''SPF Record'''

To be able to deliver email correctly, please also set your SPF record to allow relay.lusovps.com to deliver email.

''example.com. IN  TXT    &quot;v=spf1 include:relay.lusovps.com -all&quot;''

''example.com. IN  SPF    &quot;v=spf1 include:relay.lusovps.com -all&quot;''</rev>
        </revisions>
      </page>
      <page pageid="21" ns="0" title="Remote desktop">
        <revisions>
          <rev xml:space="preserve">This is a how-to enable Remote Desktop on Windows

RDP or Remote Desktop Protocol is a protocol that Microsoft developed for users to better remote control their machines. This protocol is very lightweight (bandwidth wise) because it was developed when the internet was still a child, and therefore with slow connection speeds.

So, to activate this protocol, just follow this:

Click Start, point to Control Panel, System. If you're using Windows 7, Windows Server 2008 or Vista, you should click on Remote Settings.

You should be able to find a tab named Remote. Tick the ''Allow Connections to this Computer''. Select the users you want to give access and click ok to accept all your changes.


After that, you just have to use your Remote Desktop client to connect to your server. Login and enjoy!</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>