def del_id(id)
path_xml = p_get_xmlpath(id)
begin
doc = m_read_xml(path_xml)
d_y = doc.elements['entry/meta/metadate/d_y'].text
d_m = doc.elements['entry/meta/metadate/d_m'].text
t_i = doc.elements['entry/meta/metadate/t_i'].text
path_html = File.join(@xhtml_dir, d_y, d_m, [t_i,".html"].to_s)
path_trash_html = File.join(@path_trash, [id, ".html"].to_s)
File.rename(path_html, path_trash_html) if FileTest.exist?(path_html)
path_trash_xml = File.join(@path_trash, [id, ".xml"].to_s)
File.rename(path_xml, path_trash_xml) if FileTest.exist?(path_xml)
return "Delete_File#{id} Success"
rescue
return "Error ,Somethig"
end
end