Skip to content

Commit

Permalink
Update structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Feb 3, 2016
1 parent 69ef83b commit c1f42ef
Show file tree
Hide file tree
Showing 16 changed files with 79 additions and 21 deletions.
6 changes: 5 additions & 1 deletion 08501.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '08501_Ag_EU_ATHENA_FotoMarburg'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/08501/08501-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 09404.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '09404_Ag_PL_ELocal.xml'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/09404/09404-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 2020702.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '2020702_Ag_EU_CARARE_SNHB'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/2020702/2020702-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 2022608.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '2022608_Ag_NO_ELocal_DiMu'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/2022608/2022608-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 2048011.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '2048011_Ag_EU_AthenaPlus_ICCu_CulturItalia'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/2048011/2048011-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 2048088.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '2048088_Ag_EU_AthenaPlus_InternetCulturale'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/2048088/2048088-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 9200359.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '9200359_Ag_EU_TEL_a0601_Newspapers_Netherlands'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/9200359/9200359-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 9200365.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '9200365_Ag_EU_TEL_a0142_Gallica'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/9200365/9200365-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 9200386.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '9200386_Ag_EU_TEL_a1194_BSB'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/9200386/9200386-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion 92027.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '92027_Ag_EU_TEL_a0429E.xml'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -251,6 +251,10 @@ <h3>Basic statistics</h3>
<h3>Graphs</h3>
<img src="img/92027/92027-multilinguality.png" />


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion dataset.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Investigation of dataset '<?= $collectionId ?>'</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -43,6 +43,10 @@
<img src="img/<?= $id ?>/<?= $id ?>-<?= $name ?>.png" />
<?php } ?>


<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
Expand Down
6 changes: 5 additions & 1 deletion europeana-qa.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ table#legend {

table#legend td {
max-height: 10px;
}
}

footer p {
text-align: right;
}
7 changes: 4 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,22 @@
$id = $row[0];
$collectionId = $row[1];

$jsonFileName = $configuration['QA_R_PATH'] . '/json/' . $id . '.json';
$jsonFileName = $configuration['QA_R_PATH'] . '/' . $id . '.json';
if (file_exists($jsonFileName)) {
$stats = json_decode(file_get_contents($jsonFileName));
$assocStat = array();
foreach ($stats as $obj) {
if ($obj->_row == $feature) {
$counter++;
unset($obj->recMin);
unset($obj->recMax);
unset($obj->_row);
$obj->id = $id;
$obj->collectionId = $collectionId;
$rows[$counter++] = $obj;
break;
}
}
}
}

include("index.tpl.php");
include("index.tpl.php");
11 changes: 7 additions & 4 deletions index.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<?php foreach ($rows as $counter => $obj) { ?>
<tr>
<td><?= $counter ?></td>
<td><a href="<?= $id ?>.html"><?= $collectionId ?></a></td>
<td><a href="<?= $obj->id ?>.html"><?= $obj->collectionId ?></a></td>
<td><?= $obj->min ?></td>
<td><?= $obj->max ?></td>
<td><?= $obj->range ?></td>
Expand All @@ -97,12 +97,15 @@
</tbody>
</table>

<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script type="text/javascript">
$(document).ready(function() {
$("#dataset").tablesorter();
});
$(document).ready(function() {
$("#dataset").tablesorter();
});
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion record.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$metadata = processRecord($record);
if (!empty($metadata)) {
$command = sprintf(
"java -jar %s/europeana-qa-1.0-SNAPSHOT-jar-with-dependencies.jar '%s' 2>/dev/null",
"java -cp %s/europeana-qa-1.0-SNAPSHOT-jar-with-dependencies.jar com.nsdr.europeana.qa.cli.Counter '%s' 2>/dev/null",
$configuration['JAR_PATH'],
str_replace("'", "'\''", json_encode($metadata))
);
Expand Down
8 changes: 7 additions & 1 deletion record.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div class="page-header">
<h1>Record investigation</h1>
<h3><a href="index.html">Metadata Quality Assurance Framework</a></h3>
<h3><a href="./">Metadata Quality Assurance Framework</a></h3>
</div>
</div>

Expand Down Expand Up @@ -128,6 +128,12 @@
<pre id="code"><code class="json"><?php print json_encode($metadata, JSON_PRETTY_PRINT); ?></code></pre>
</div>

<div class="col-md-12">
<footer>
<p><a href="http://pkiraly.github.io/">What is this?</a> &ndash; about the Metadata Quality Assurance Framework project.</p>
</footer>
</div>

<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.1.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
Expand Down

0 comments on commit c1f42ef

Please sign in to comment.