File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 62
62
'has_version ' => 'dcterms:hasVersion ' ,
63
63
'version_of ' => 'dcterms:isVersionOf ' ,
64
64
'has_part ' => 'dcterms:hasPart ' ,
65
+ 'is_part_of ' => 'dcterms:isPartOf ' ,
65
66
'references ' => 'dcterms:references ' ,
66
67
'has_reference ' => 'dcterms:isReferencedBy ' ,
67
68
'replaces ' => 'dcterms:replaces ' ,
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public function rdf($row, $base_uri='') {
70
70
71
71
if (!isset ($ row ->type ) || empty ($ row ->type )) $ row ->type = 'book ' ;
72
72
if (isset ($ row ->subtitle ) && !empty ($ row ->subtitle )) $ row ->title = $ row ->title .'<span class="subtitle">: ' .$ row ->subtitle .'</span> ' ;
73
+ if (!isset ($ row ->is_part_of )) $ row ->is_part_of = base_url ();
73
74
return parent ::rdf ($ row , $ base_uri );
74
75
75
76
}
You can’t perform that action at this time.
0 commit comments