} $index = $_REQUEST["index"]; $sort = $_REQUEST["sort"]; //sort parameter if (isset($_REQUEST['sort']) && $_REQUEST['sort'] != "") { $sort = getSortValue($colectionData, $_REQUEST["sort"]); //get sort field to apply } else { $sort = getDefaultSort($colectionData, $q); //get default sort } $output = isset($_REQUEST["output"]) && $_REQUEST["output"] != '' ? $_REQUEST["output"] : "json"; $format = $_REQUEST["format"]; $where = $_REQUEST["where"]; //select where search $whereFilter = getWhereFilter($colectionData, $where); $filter_chain = $_REQUEST["filter_chain"]; //user filter sequence (history) $VARS["count"] = $count; //DIA server connection object $dia = new Dia($site, $col, $count, $output, $lang); $page = new Page(); $initial_restricion = html_entity_decode($colectionData->restriction); // filtro de pesquisa = restricao inicial E filtro where E filtro externo E filtro(s) selecionados $filterSearch = array_merge((array) $initial_restricion, (array) $whereFilter, (array) $filter, (array) $filter_chain); // set additiona parameters $dia->setParam('fb', $fb); $dia->setParam('fl', $fl); $dia->setParam('sort', $sort); // create a loop for export all citation header("Content-type: application/x-Research-Info-Systems; charset=UTF-8");
$sort = getDefaultSort($colectionData, $q); //get default sort } $output = ( isset($_REQUEST["output"]) && $_REQUEST["output"] != '' ? $_REQUEST["output"] : "json" ); $callback = $_REQUEST['callback']; // append callback function to json output $media = $_REQUEST["media"]; // media template: screen (default) or mobile $filter = $_REQUEST["filter"]; //initial filter to apply $filterLabel = $_REQUEST["filterLabel"]; //initial filter label $filter_chain = $_REQUEST["filter_chain"]; //user filter sequence (history) $addFilter = $_REQUEST["addfilter"]; //new filter to apply $backFilter= $_REQUEST["backfilter"]; //back to filter position $where = $_REQUEST["where"]; //select where search $whereFilter = getWhereFilter($colectionData,$where); //select where search $count = ( isset($_REQUEST["count"]) ? $_REQUEST["count"] : $config->documents_per_page ); $fmt = $_REQUEST["fmt"]; //display format // create a array for CSA (custom search appearance) parameters $csa['bvs_logo'] = $_REQUEST["bvs_logo"]; $csa['bvs_link'] = $_REQUEST["bvs_link"]; $csa['banner_image'] = $_REQUEST["banner_image"]; $csa['banner_text'] = $_REQUEST["banner_text"]; $csa['home_text'] = $_REQUEST["home_text"]; $csa['home_url'] = $_REQUEST["home_url"]; $csa['css'] = $_REQUEST["css"]; $csa['display_banner'] = $_REQUEST["display_banner"]; //cluster parameters