//$setTermAutoRun = "month + day"; // export als Json om, om te zetten naar html preview, excel export of samenvoegen met GA data? // ! Stats to compare by date of year, weekday of month, weekday of month per year, per hour per month, per hour per weekday , ... //scrape top 10 google op keyword // ! check keywords per keywords per site // ! check land per land > ook taal per taal? $depth = $arrData[$selectedClient]['depth']; echo 'depth uit arrData: ' . $depth . "\n"; $endDepth = $arrDepth[$depth]; echo 'depth uit arrDepth: ' . $endDepth . "\n"; if ($endDepth == '0') { $runDepth = $endDepth; } else { for ($i = 0; $i < $endDepth + 1; $i += 10) { $runDepth = $i; loopThroughKeywords($runDepth); } } function loopThroughKeywords($runDepth) { global $runDepth, $arrKeywords; foreach ($arrKeywords as $keyword) { //echo 'status keyword: '.$statusKeyword; //echo $runDepth; loopThroughPages($runDepth, $keyword); } } function loopThroughPages($runDepth, $keyword) { global $arrKeywords, $CCTLD, $lng, $url, $statusKeyword; echo $runDepth;
//controle voor seconden vertraging //$newNow = getdate(); //echo $newNow['hours'].':'.$newNow['minutes'].':'.$newNow['seconds']; } // auto run on specific days of month etc. > week, per 2 weeks, per month on day x, ... > hour needed? //$setTermAutoRun = "month + day"; // export als Json om, om te zetten naar html preview, excel export of samenvoegen met GA data? // ! Stats to compare by date of year, weekday of month, weekday of month per year, per hour per month, per hour per weekday , ... //scrape top 10 google op keyword // ! check keywords per keywords per site // ! check land per land > ook taal per taal? $depth = $arrData[$selectedClient]['depth']; echo 'depth uit arrData: ' . $depth . "\n"; $endDepth = $arrDepth[$depth]; echo 'depth uit arrDepth: ' . $endDepth . "\n"; loopThroughKeywords(); function loopThroughKeywords() { global $arrKeywords; foreach ($arrKeywords as $key => $keyword) { //print "$key = $keyword\n"; loop($keyword); } } function loop($keyword) { global $endDepth, $CCTLD, $lng, $url, $i; if ($endDepth == '0') { $runDepth = $endDepth; } else { for ($i = 0; $i < $endDepth + 1; $i += 10) {