/*
 * Services
 */

var health = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fhealth%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var africa = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Fafrica%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var asia = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Fasia%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var tech = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Ftechnology%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var Business = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fbusiness%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var businessWorld = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fbusiness%2Frss.xml%3Fedition%3Dint&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var healthWorld = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fhealth%2Frss.xml%3Fedition%3Dint&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var worldnews = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var UK = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fuk%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var special = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fmagazine%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084384',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var weekInPictures = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://tkapp.zz.vc/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fin_pictures%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084385',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var latin = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Flatin_america%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084385',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var north = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Fus_and_canada%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084385',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var europe = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Feurope%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084385',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});

var middleeast = new Apperyio.RestService({
    'url': 'https://api.appery.io/rest/1/proxy/tunnel',
    'proxyHeaders': {
        'appery-proxy-url': 'http://newsreel.96.lt/full-text-rss-3.6/makefulltextfeed.php?url=feeds.bbci.co.uk%2Fnews%2Fworld%2Fmiddle_east%2Frss.xml&max=8&links=remove&exc=&submit=Create+Feed',
        'appery-transformation': 'checkTunnel',
        'appery-key': '1457898084385',
        'appery-rest': 'e8c33865-4f31-4f67-9014-1962ce9a74f6'
    },
    'dataType': 'xml',
    'type': 'get',
});