/// <summary> /// Generates the Jekyll output from the specified <see cref="Feed"/> using XSLT. /// </summary> /// <param name="feed">The feed.</param> /// <param name="outputRootPath">The ouput root path.</param> /// <param name="fileType">Type of the file.</param> public void GenerateOutput(Feed feed, string outputRootPath = DefaultOutputPath, string fileType = ".html") { feed.CheckNull("feed"); if (string.IsNullOrEmpty(outputRootPath)) { outputRootPath = DefaultOutputPath; } Log.Info("Processing posts from imported feed."); Log.InfoFormat("There are {0} posts total.", feed.Posts.Count); Log.InfoFormat("Output root path is {0}.", outputRootPath); Log.InfoFormat("Expected XSLT output format is {0}.", fileType); ProcessPosts(feed.Posts, outputRootPath, fileType); Log.Info("Processing posts from imported feed complete."); }