示例#1
0
 public void Generate()
 {
     BlogContextManager.Init(_settings.JsonConfigDirectory);
     GenerateSitemaps();
     GenerateRSSFeed();
     GenerateStaticHtml();
     AnnounceEvent("Process completed successfully....");
 }
        public void Generate()
        {
            AnnounceEvent("Process has started....");

            AnnounceEvent("BlogContextManager init has started....");
            BlogContextManager.Init(_settings.ConfigDir.Value);
            AnnounceEvent("BlogContextManager init has completed....");

            GenerateSitemaps();
            GenerateRSSFeed();
            GenerateStaticHtml();
            AnnounceEvent("Process completed successfully....");
        }
 public static void Configure(string path)
 {
     BlogContextManager.Init(path);
     BlogMonitorManager.Start();
 }
 public static void Configure(string path)
 {
     BlogContextManager.Init(path);
 }