    # File daybook/mycgi/daybook/newpost/d_new.rb, line 14
      def initialize( myhash )
        require "time"
        h = Hash.new; t = Time.now
        youbi = ["日曜","月曜", "火曜", "水曜", "木曜", "金曜", "土曜"][t.wday]
        h['full'] = t; h['t_i'] = t.to_i; h['d_y'] = t.year; h['d_m'] = t.strftime("%m"); h['d_d'] = t.strftime("%d")
        h['t_h']=t.strftime("%H"); h['t_mm'] = t.strftime("%M"); h['t_sec'] = t.sec; h['d_w']=youbi
        h['postdate'] = [t.year,"/", t.strftime("%m"),"/",t.strftime("%d"),"(",youbi,") ", t.strftime("%H"),":",t.strftime("%M")].to_s
        @metadata = h

        @path_trash = myhash["trash"]
        @xml_dir = myhash["dir_xml"]
        @xhtml_dir = myhash["dir_xhtml"]
        @uri_archives_path = myhash["url_archives_path"]

        @path_xsl = myhash["f_xsl_post"]
        @path_log_xml = myhash["f_log_xml"]
        @path_lwws_dir = myhash["lwws_xmldir"]
        # 2006-10-25
        @path_new_xml = File.join(@xml_dir, @metadata['d_y'].to_s, @metadata['d_m'].to_s, [@metadata["t_i"], ".xml"].to_s)
        @path_new_html = File.join(@xhtml_dir, @metadata['d_y'].to_s, @metadata['d_m'].to_s, [@metadata["t_i"], ".html"].to_s)
        @uri_new_html = File.join(@uri_archives_path, @metadata['d_y'].to_s, @metadata['d_m'].to_s, [@metadata["t_i"].to_s,".html"].to_s)

      end