Browse Source

- replaced 'userbased' with 'designated communities'

master
Andreas Romeyke 11 months ago
parent
commit
d86208bccf
  1. 16
      Preservation-SignificantProperties-Determine/bin/determine_sigprops.pl
  2. 4
      Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine.pm
  3. 6
      Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine/AbstractLanguage.pm
  4. 8
      Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine/German.pm

16
Preservation-SignificantProperties-Determine/bin/determine_sigprops.pl

@ -178,7 +178,6 @@ get '/sigprop/:number' => [number => qr/\d+/] => sub {
my $title = $ref->{title};
my $text = _paragraphs_to_html_p($ref->{text});
my $iter = $c->stash->{number};
$c->render(
template => 'sigprop',
st => $title,
@ -187,24 +186,27 @@ get '/sigprop/:number' => [number => qr/\d+/] => sub {
nextbt => nextbt(),
procedurenames => $det->procedurenames()
);
my $method = $c->req->param('PropertyProcedure');
if ((defined $method) && (defined $iter)) {
$method =~ s/ /_/g;
my $state = $det->results();
$state->{'significantProperties'}->[$iter] = $c->req->params->to_hash;
$det->results($state);
$c->redirect_to("/sigprop_$method/$iter");
}
}
);
};
get '/sigprop_userbased/:number' => [number => qr/\d+/] => sub {
get '/sigprop_designated_communities/:number' => [number => qr/\d+/] => sub {
my $c = shift;
__set_language($c);
# TODO: register results
$c->respond_to (
html => sub {
my $ref = $det->sigprop_method_userbased();
my $ref = $det->sigprop_method_designated_communities();
my $title = $ref->{title};
my $text = _paragraphs_to_html_p($ref->{text});
my $iter = $c->stash->{number};
@ -213,7 +215,7 @@ get '/sigprop_userbased/:number' => [number => qr/\d+/] => sub {
st => $title,
txt => $text,
sigpropiter => $iter,
sigprop_method => 'sigprop_userbased',
sigprop_method => 'sigprop_designated_communities',
nextbt => nextbt(),
categories => $det->categories(),
);
@ -334,7 +336,9 @@ __DATA__
</head>
<body>
<h1><%== $st; %></h1>
<p>
<%== $txt; %>
<p>
<p><%= button_to $nextbt => 'methods'%></p>
</body>
</html>
@ -420,8 +424,8 @@ __DATA__
<%== $txt; %>
%= form_for "/sigprop/$sigpropiter" => begin
<p>
%= label_for PropertyProcedureName => 'PropertyProcedure'
%= select_field PropertyProcedureName => $procedurenames
%= label_for PropertyProcedure => 'PropertyProcedure'
%= select_field PropertyProcedure => @{$procedurenames}
</p>
<p>
</p>

4
Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine.pm

@ -97,12 +97,12 @@ has 'sigprop_method_provenance' => (
}
);
has 'sigprop_method_userbased' => (
has 'sigprop_method_designated_communities' => (
is => 'ro',
lazy => 1,
builder => sub {
my $self = shift;
return $self->__get_sect('sigprop_method_userbased');
return $self->__get_sect('sigprop_method_designated_communities');
}
);

6
Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine/AbstractLanguage.pm

@ -117,12 +117,12 @@ SIGPROP_PROVENANCE_EN
}
);
has 'sigprop_method_userbased' => (
has 'sigprop_method_designated_communities' => (
is => 'ro',
builder => sub {
return {
title => 'Significant Property (user based)',
text => <<'SIGPROP_USERBASED_EN',
text => <<'SIGPROP_DESIGNATED_COMMUNITIES_EN',
Define the object types for each digital object (e.g. electronic publication, retro-digitized "flatware")
"WHAT?" What are the objects? What are they like? How were they created?
A collection or stock may well contain several object types. Example: Books can contain loosely inserted maps. The object type must be determined for each individual digital object in the entire collection.
@ -143,7 +143,7 @@ has 'sigprop_method_userbased' => (
Although it is not impossible that a certain category is not fulfilled by any of the found object properties, one should use such a finding to check whether properties have not been overlooked.
SIGPROP_USERBASED_EN
SIGPROP_DESIGNATED_COMMUNITIES_EN
}
}
);

8
Preservation-SignificantProperties-Determine/lib/Preservation/SignificantProperties/Determine/German.pm

@ -92,12 +92,12 @@ SIGPROP_PROVENANCE_DE
}
);
has '+sigprop_method_userbased' => (
has '+sigprop_method_designated_communities' => (
is => 'ro',
builder => sub {
return {
title => 'Signifikante Eigenschaften (Nutzer basiert)',
text => <<'SIGPROP_USERBASED_DE',
title => 'Signifikante Eigenschaften (Nutzerzielgruppen basiert)',
text => <<'SIGPROP_DESIGNATED_COMMUNITIES_DE',
Definiere die Objekttypen für jedes digitale Objekt (z.B. elektronische Publikation, Retrodigitalisat "Flachware").
"WAS?" Um was für Gegenstände/Objekte handelt es sich? Wie sind sie beschaffen? Wie wurden sie erzeugt?
In einer Sammlung oder einem Bestand kann es durchaus mehrere Objekttypen geben. Beispiel: Bücher können lose eingelegte Landkarten enthalten. Für jedes einzelne digitale Objekt im gesamten Bestand muss der Objekttypen bestimmt werden.
@ -118,7 +118,7 @@ Bestimme für jedes der gefundenen Szenarien pro Objektgruppe die relevanten Obj
Prüfe, ob es zu jeder Kategorie mindestens eine Objekteigenschaft gibt, und dedupliziere Mehrfachnennungen.
Obwohl es nicht ausgeschlossen ist, dass eine bestimmte Kategorie von keiner der gefundenen Objekteigenschaften erfüllt wird, sollte man eine derartige Erkenntnis nutzen, um zu überprüfen, ob nicht etwa Eigenschaften übersehen worden sind.
SIGPROP_USERBASED_DE
SIGPROP_DESIGNATED_COMMUNITIES_DE
}
}
);

Loading…
Cancel
Save