function XooNIps_Amazon_ECS40()
 {
     // get module config
     $mydirname = basename(dirname(dirname(__FILE__)));
     $mhandler =& xoops_gethandler('module');
     $module =& $mhandler->getByDirname($mydirname);
     $chandler =& xoops_gethandler('config');
     $mconfig = $chandler->getConfigsByCat(false, $module->mid());
     // call parent constructor
     parent::XooNIpsXMLParser();
     // set fetcher conditions
     $this->_fetch_url = 'http://ecs.amazonaws.com/onca/xml';
     $this->_fetch_arguments['Service'] = 'AWSECommerceService';
     $this->_fetch_arguments['Version'] = '2007-07-16';
     $this->_fetch_arguments['Operation'] = 'ItemLookup';
     $this->_fetch_arguments['IdType'] = 'ISBN';
     $this->_fetch_arguments['SearchIndex'] = 'Books';
     $this->_fetch_arguments['ResponseGroup'] = 'Medium';
     $this->_fetch_arguments['AWSAccessKeyId'] = $mconfig['AccessKey'];
     $this->_fetch_arguments['Timestamp'] = gmdate('Y-m-d\\TH:i:s\\Z');
     $this->_fetch_arguments['AssociateTag'] = $mconfig['AssociateTag'];
     // secret access key for amazon API
     $this->_secret_access_key = $mconfig['SecretAccessKey'];
     // set parser conditions
     $this->_parser_doctype = '';
     $this->_parser_public_id = '';
 }
 function XooNIps_PubMed_JournalEsummary()
 {
     // call parent constructor
     parent::XooNIpsXMLParser();
     // set fetcher conditions
     $this->_fetch_url = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi';
     $this->_fetch_arguments['db'] = 'journals';
     $this->_fetch_arguments['retmode'] = 'xml';
     // set parser conditions
     $this->_parser_doctype = 'eSummaryResult';
     $this->_parser_public_id = '-//NLM//DTD eSummaryResult, 29 October 2004//EN';
 }