aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/manifest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v4/manifest.rb')
-rw-r--r--lib/sisu/v4/manifest.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/sisu/v4/manifest.rb b/lib/sisu/v4/manifest.rb
index c5a841a1..d7c4d33a 100644
--- a/lib/sisu/v4/manifest.rb
+++ b/lib/sisu/v4/manifest.rb
@@ -511,14 +511,14 @@ WOK
end
end
def metadata_tests
- if defined? @md.title #%
+ if defined? @md.title #%
if defined? @md.title.full \
and @md.title.full=~/\S+/
id,info=@translate.full_title,@md.title.full
metadata(id,info)
end
end
- if defined? @md.creator #%
+ if defined? @md.creator #%
if defined? @md.creator.author \
and @md.creator.author=~/\S+/
id,info=@translate.author,@md.creator.author
@@ -562,7 +562,7 @@ WOK
metadata(id,info)
end
end
- if defined? @md.date #%
+ if defined? @md.date #%
if defined? @md.date.published \
and @md.date.published=~/\S+/ #dc
id,info=@translate.date,@md.date.published
@@ -599,7 +599,7 @@ WOK
id,info=@translate.publisher,@md.publisher
metadata(id,info)
end
- if defined? @md.notes #%
+ if defined? @md.notes #%
if defined? @md.notes.description \
and @md.notes.description=~/\S+/
id,info=@translate.description,@md.notes.description
@@ -626,7 +626,7 @@ WOK
metadata(id,info)
end
end
- if defined? @md.title #%
+ if defined? @md.title #%
if defined? @md.title.language \
and @md.title.language=~/\S+/
id,info=@translate.language,@md.title.language
@@ -638,7 +638,7 @@ WOK
metadata(id,info)
end
end
- if defined? @md.classify #%
+ if defined? @md.classify #%
if defined? @md.topic_register_array \
and @md.topic_register_array.length > 0
@manifest[:html] << %{<tr><th class="left"><p class="bold_left">#{@translate.topic_register}:</p></th><td>\n}
@@ -701,7 +701,7 @@ WOK
metadata(id,info)
end
end
- if defined? @md.identifier #%
+ if defined? @md.identifier #%
if defined? @md.identifier.oclc \
and @md.identifier.oclc=~/\S+/
id,info=@translate.cls_oclc,@md.identifier.oclc