[ HOME ] also see SiSU Metadata Harvest - Topics
#{@env.widget_static.search_form}
'
@alph.each do |x|
a << ((x =~/[0-9]/) ? '' : %{#{x}, })
end
@output[:html_mnt] << a.join if @output[:html_mnt].class==File
@output[:html] << a.join
end
def html_tail
a=[]
a <<<
#{string}
} do_html(html) end def do_string_name(attrib,string) f=/^(\S)/.match(string[0])[1] if @letter < f while @letter < f if @alph.length > 0 @letter=@alph.shift if @output[:html_mnt].class==File @output[:html_mnt] << %{\n#{@letter}} end @output[:html] << %{\n} else break end end end end def html_body the_idx=@the_idx the_idx.sort.each do |a| do_string_name('',a) name=a[0].sub(/(.+?)(?:,.+|$)/,'\1').gsub(/\s+/,'_') x = %{ } if @output[:html_mnt].class==File @output[:html_mnt] << x end @output[:html] << x works=[] a[1][:md].each do |x| if @env.output_dir_structure.by_language_code? manifest_pth="#{@env.path.output}/#{x[:file]}" manifest_at_local=@env.path.output + '/' + 'en' + '/' + 'manifest/' + x[:file] + '.manifest.html' manifest_at=x[:file] + '.manifest.html' elsif @env.output_dir_structure.by_filetype? #manifest_pth_2="#{@env.path.output}/#{x[:file]}" manifest_name=x[:file] manifest_at_local=manifest_name + 'manifest.html' manifest_at=x[:file] + '.manifest.html' elsif @env.output_dir_structure.by_filename? manifest_at_local="#{@env.path.output}/#{x[:file]}/#{x[:page]}" manifest_at="../#{x[:file]}/#{x[:page]}" end work=[ "#{x[:date]} #{x[:title]}", %{#{x[:date]} #{x[:title]}, #{x[:author][:authors_s]}
} ] works<<=(@output[:html_mnt].class==File) \ ? (work.concat([%{[src] #{x[:date]} #{x[:title]}, #{x[:author][:authors_s]} -- [#{x[:file]}.sst]
}])) \ : work end works.sort_by {|x| x[0]}.each do |x| @output[:html] << x[1] @output[:html_mnt] << x[2] if @output[:html_mnt].class==File end end end self end def screen_print def cycle the_idx=@the_idx the_idx.sort.each do |a| puts a[0] a[1][:md].each do |x| puts "\t" + x[:file] end end end self end end end __END__