    # File daybook/mycgi/daybook/newpost/d_new.rb, line 37
      def post_parent(para_data)
        require "fileutils"
        # XML
        new_xml = p_makexml_parent(para_data)
        check_xmldir = File.join(@xml_dir, @metadata['d_y'].to_s, @metadata['d_m'].to_s)
        FileUtils.mkdir_p(check_xmldir)
        m_write_file(@path_new_xml, new_xml)

        # LOG
        logdata = [ @metadata["full"].to_s, ",", @path_new_xml,"\n"]
        m_log_write_file(@path_log_xml, logdata)
        #Fri Oct 27 20:16:15 JST 2006,/xxx/xxx/daybook/daybook_xml/2006/10/1161947775.xml

        # XHTML
        new_xhtml = m_apply_xsl_path(new_xml, @path_xsl)
        check_htmldir = File.join(@xhtml_dir, @metadata['d_y'].to_s, @metadata['d_m'].to_s)

        FileUtils.mkdir_p(check_htmldir)
        m_write_file(@path_new_html, new_xhtml)
        #return new_xmlaa
        ok_mes = "<a href='#{@uri_new_html}'>NewPost Success</a>"
        return ok_mes

      end