Example #1
0
    $facet = $facets[$count];
    $navigation = makeNavigation($thisCatalogue->heading, $tocs, $facet);
    $content = makeHead($thisCatalogue, $navigation, $facet);
    $content .= makeList($structure, $thisCatalogue);
    $content .= $foot;
    $fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-' . $facet . '.html';
    $datei = fopen($fileName, "w");
    fwrite($datei, $content, 3000000);
    fclose($datei);
    $count++;
}
unset($structures);
// Erzeugen der Seite mit den Word Clouds
$navigation = makeNavigation($thisCatalogue->heading, $tocs, 'jqcloud');
$content = makeHead($thisCatalogue, $navigation, 'jqcloud');
$content .= makeCloudPageContent($data, $facets, $folderName);
$content .= $foot;
$fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-wordCloud.html';
$datei = fopen($fileName, "w");
fwrite($datei, $content, 3000000);
fclose($datei);
// Erzeugen der Seite mit den Doughnut Charts
$navigation = makeNavigation($thisCatalogue->heading, $tocs, 'doughnut');
$content = makeHead($thisCatalogue, $navigation, 'doughnut');
$content .= makeDoughnutPageContent($data, $facets, $folderName);
$content .= $foot;
$fileName = fileNameTrans($folderName . '/' . $thisCatalogue->heading) . '-doughnut.html';
$datei = fopen($fileName, "w");
fwrite($datei, $content, 3000000);
fclose($datei);
// Lösche die von storeBeacon erzeugte temporäre Datei
Example #2
0
     $datei = fopen($fileName, "w");
     fwrite($datei, $content, 3000000);
     fclose($datei);
     $count++;
     if (file_exists($fileName)) {
         echo 'Datei ' . $fileName . ' wurde erstellt.<br/>';
     }
 }
 unset($structures);
 //Anlegen der Datei index.php mit Weiterleitung auf die Startseite
 makeStartPage($facets[0], $catalogue->fileName, $_SESSION['folderName']);
 // Erzeugen der Seite mit den Word Clouds
 if ($catalogue->cloudFacets != array()) {
     $navigation = makeNavigation($catalogue->fileName, $tocs, 'jqcloud');
     $content = makeHead($catalogue, $navigation, 'jqcloud');
     $content .= makeCloudPageContent($data, $catalogue->cloudFacets, $catalogue->fileName);
     $content .= $foot;
     $fileName = fileNameTrans($_SESSION['folderName'] . '/' . $catalogue->fileName) . '-wordCloud.html';
     $datei = fopen($fileName, "w");
     fwrite($datei, $content, 3000000);
     fclose($datei);
     if (file_exists($fileName)) {
         echo 'Datei ' . $fileName . ' wurde erstellt.<br/>';
     }
 }
 // Erzeugen der Seite mit den Doughnut Charts
 if ($catalogue->doughnutFacets != array()) {
     $navigation = makeNavigation($catalogue->fileName, $tocs, 'doughnut');
     $content = makeHead($catalogue, $navigation, 'doughnut');
     $content .= makeDoughnutPageContent($data, $catalogue->doughnutFacets, $_SESSION['folderName']);
     $content .= $foot;