[ HOME ] also see SiSU Metadata Harvest - Topics
'
@alph.each do |x|
a << if x =~/[0-9]/; ''
else
%{#{x}, }
end
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} 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 a[1][:md].each do |x| if @output[:html_mnt].class == File @output[:html_mnt] << %{[src] #{x[:title]}, #{x[:author][:authors_s]} -- [#{x[:file]}.sst]
} end @output[:html] << %{#{x[:title]}, #{x[:author][:authors_s]}
} 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__