summaryrefslogtreecommitdiff
path: root/bin/rdf2hours
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rdf2hours')
-rwxr-xr-xbin/rdf2hours6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/rdf2hours b/bin/rdf2hours
index f37ac1c..b99b14c 100755
--- a/bin/rdf2hours
+++ b/bin/rdf2hours
@@ -34,7 +34,8 @@ use HTML::HTML5::Writer;
# TODO: add override options --theme and (multivalued) --category
my @category = <<LIST =~ m/(\S.*\S)/g;
- <http://schema.org/FoodEstablishment>
+ full-meal food
+ non-meal food
<http://schema.org/GroceryStore>
non-grocery store
attraction
@@ -283,7 +284,8 @@ sub daterangedescribe {
sub categorydescribe {
my $cat = shift;
- $cat =~ s!<http://schema.org/FoodEstablishment>!spisesteder!;
+ $cat =~ s!full-meal food!spisesteder!;
+ $cat =~ s!non-meal food!caféer, slikbutikker o.l.!;
$cat =~ s!<http://schema.org/GroceryStore>!dagligvarebutikker!;
$cat =~ s!non-grocery store!øvrige butikker!;
$cat =~ s!attraction!attraktioner og museer!;