Example #1
0
        private void ImportBlog()
        {
            string        fileLocation       = @"C:\Users\Kloss\Documents\Projects\XBlog\test.xml";
            List <WPPost> listWordpressPosts = ImportManager.Import(fileLocation, false, false, false);

            BlogHome bh = new BlogHome();

            bh.InnerItem.Editing.BeginEdit();
            bh.BlogName = "meh";
            bh.Name     = "meh";
            bh.InnerItem.Editing.EndEdit();



            ImportManager.ImportPosts(bh, listWordpressPosts);
        }