aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/html_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-12-13 14:23:56 -0500
committerRalph Amissah <ralph@amissah.com>2008-12-13 14:24:05 -0500
commitfb1e1bf0cb8a2202eda1ab254b01b997df60a6db (patch)
tree9f28c55c6ebdcb6161f900e0ed9589f41baa9bf2 /lib/sisu/v0/html_segments.rb
parentmostly additional metadata fields (diff)
metadata, variable renaming (requires testing)
metadata, variable renaming (dropped use of dc_ to signify dublin core metadata as is subset of what is used and cumbersome to identify) - testing required manpage minor touch
Diffstat (limited to 'lib/sisu/v0/html_segments.rb')
-rw-r--r--lib/sisu/v0/html_segments.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v0/html_segments.rb b/lib/sisu/v0/html_segments.rb
index a3199903..da33194a 100644
--- a/lib/sisu/v0/html_segments.rb
+++ b/lib/sisu/v0/html_segments.rb
@@ -72,7 +72,7 @@ module SiSU_HTML_seg
if @type =~/endnote/
@seg[:headers]=[]
format_head_seg=SiSU_HTML_Format::Head_seg.new(@md)
- @seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@dc_creator)
+ @seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@author)
txt_obj={:txt =>'Endnotes',:ocn_display =>''}
format_seg=SiSU_HTML_Format::Format_seg.new(@md,txt_obj)
@seg[:headers] << format_seg.title_header1
@@ -80,7 +80,7 @@ module SiSU_HTML_seg
elsif @type =~/idx/
@seg[:headers]=[]
format_head_seg=SiSU_HTML_Format::Head_seg.new(@md)
- @seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@dc_creator)
+ @seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@author)
txt_obj={:txt =>'Index',:ocn_display =>''}
format_seg=SiSU_HTML_Format::Format_seg.new(@md,txt_obj)
@seg[:headers] << format_seg.title_header1
@@ -267,7 +267,7 @@ module SiSU_HTML_seg
end
@p_num ||= ''
if @@is1 == 1
- @dc_creator=%{<b>#{@md.dc_creator}</b>\n} if @md.dc_creator.to_s =~/\S/
+ @author=%{<b>#{@md.author}</b>\n} if @md.author.to_s =~/\S/
@@seg[:tocband_banner] << format_head_seg.navigation_band(@@segtocband,@@seg[:dot_nav])
conditional_div_close=if @@get_hash_fn =~/metadata/ #watch
'</div>'
@@ -275,7 +275,7 @@ module SiSU_HTML_seg
end
@@seg[:tocband_bannerless] << conditional_div_close << format_head_seg.navigation_band_bottom(@@segtocband,@@seg[:dot_nav])
@@seg[:headers] << format_head_seg.seg_head_escript if SiSU_HTML_Format::Head_seg.method_defined? :seg_head_escript #debug PHP move up in text #bug
- @@seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@dc_creator).gsub(clean,'')
+ @@seg[:headers] << format_head_seg.title_banner(@md.title,@md.subtitle,@author).gsub(clean,'')
ocn=if @@header1[/.+?#{Mx[:id_o]}~(\d+);(?:[oh]|[0-6]:)\d+;\w\d+#{Mx[:id_c]}#{Mx[:id_o]}#@dp:#@dp#{Mx[:id_c]}$/]; $1
else ''
end
@@ -317,7 +317,7 @@ module SiSU_HTML_seg
format_seg=SiSU_HTML_Format::Format_seg.new(@md,txt_obj)
@@seg[:headers] << format_seg.title_header4.gsub(clean,'')
end
- @@seg[:header_endnotes]=format_head_seg.title_endnote(@md.title,@md.subtitle,@dc_creator,@@seg[:dot_nav])
+ @@seg[:header_endnotes]=format_head_seg.title_endnote(@md.title,@md.subtitle,@author,@@seg[:dot_nav])
@@tracker=@@tracker+1
end
def markup(para)