public static void RSS_SERVİCES_GENEL() { DataTable dt = db.QP("exec GENEL_SİTE_ADRESS").Tables[0]; if (dt.Rows.Count > 0) { for (int i = 0; i <= dt.Rows.Count - 1; ++i) { Haberler.Haber_Web_Servis((string)dt.Rows[i]["Site_webservis"], (string)dt.Rows[i]["Domain"], (string)dt.Rows[i]["Kategory"], (string)dt.Rows[i]["Site_isim"], (string)dt.Rows[i]["Sub_Category"]); } } }
public static void RSS_SERVİCES_Site_Manuel_Upload(string Site_Name) { DataTable dt = db.QP("exec Site_Adres_WEB_Servis_List_Manuel @P0 ", Site_Name).Tables[0]; if (dt.Rows.Count > 0) { for (int i = 0; i <= dt.Rows.Count - 1; ++i) { Haberler.Haber_Web_Servis((string)dt.Rows[i]["Site_webservis"], (string)dt.Rows[i]["Domain"], (string)dt.Rows[i]["Kategory"], (string)dt.Rows[i]["Site_isim"], (string)dt.Rows[i]["Sub_Category"]); } } }
public static void RSS_SERVİCES_UPLOAD(string Site_webservis_ADR, string AA_PROC_ADRESS_MAİN, string SiteName_Servis_Pram) { DataTable dt = db.QP(String.Format("exec {0} @P0 ", Site_webservis_ADR), SiteName_Servis_Pram).Tables[0]; if (dt.Rows.Count > 0) { for (int i = 0; i <= dt.Rows.Count - 1; ++i) { Haberler.Haber_Web_Servis((string)dt.Rows[i]["Site_webservis"], (string)dt.Rows[i]["Domain"], (string)dt.Rows[i]["Kategory"], (string)dt.Rows[i]["Site_isim"], (string)dt.Rows[i]["Sub_Category"]); } Haberler.Haber_Upload_AA(AA_PROC_ADRESS_MAİN); // upload images to images directory anaduluajans } }
public static void RSS_SERVİCES_FULL() { try { DataTable dt = db.QP("exec RSS_Services_PROC").Tables[0]; if (dt.Rows.Count > 0) { for (int i = 0; i <= dt.Rows.Count - 1; ++i) { Haberler.Haber_Web_Servis((string)dt.Rows[i]["Site_webservis"], (string)dt.Rows[i]["Domain"], (string)dt.Rows[i]["Kategory"], (string)dt.Rows[i]["Site_isim"], (string)dt.Rows[i]["Sub_Category"]); } } } catch (Exception ex) { db.SP("exec Error_Log_ARCH @P0,@P1", ex.Message.ToString(), DateTime.Now.ToShortDateString()); } }