You are here

function insight_get_xml_connect in Insight 7

Returns xml connection data for Wordtracker data TODO ??? move/rename this function

2 calls to insight_get_xml_connect()
insight_api_query_permissions in ./insight.module
insight_contentanalysis_analyzer in ./insight.module
Implementation of hook_analyzer() via custom define callback

File

./insight.module, line 521

Code

function insight_get_xml_connect() {
  $c = array();
  $c['apikey'] = variable_get('insight_apikey', '');
  if (!$c['apikey']) {
    return FALSE;
  }

  //$c['endpoint'] = 'http://api.localhost/xmlrpc.php';
  $c['endpoint'] = 'http://api.leveltendesign.com/xmlrpc.php';
  return $c;
}