diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-20 22:30:24 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-20 22:30:24 -0500 |
commit | 1c33d8106063e96da4750098efce9b8d9f87cc02 (patch) | |
tree | 76f2006cb0385bef8a796e64b25cfaac3e2d6425 /lib/sisu/v4/manifest.rb | |
parent | debian/changelog (4.0.7-1) (diff) | |
parent | v4 (v3): version & changelog, dates touched (diff) |
Merge tag 'sisu_4.0.8' into debian/sid
SiSU 4.0.8
Diffstat (limited to 'lib/sisu/v4/manifest.rb')
-rw-r--r-- | lib/sisu/v4/manifest.rb | 14 |
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 |