It would be good if you added an item to the context menu so that if you right click a Blog it then has an "Import" option. That way the user does not need to type in the Node ID for the blog.
Just a small improvement that I think will make your package even more impressive :)
It's something I thought about building a long time ago and never got around to doing it, I am sure you have just helped a lot of people migrate their blogs to Umbraco, well done!
Alternatively, just make it a dropdown that contains the blog nodes from the content tree. Can be problematic when too many packages add stuff to the context menu. It's already quite big.
This looks like a great package! I can't wait to test it out on importing all 1,500+ posts. I was just about to build something like this but it looks like you beat me to it!
Unable to import BlogML - crashing after clicking "Import Blogs" button. Our import file does get successfully uploaded to the APP_DATA directory. We're using Umbraco 4.0.x, ASP.NET 3.5 (2.0 framework) on IIS 6, Windows 2003 Server.
Here's the stack trace and I can provide the BlogML file if you would like to test with it (it's under 1MB):
[NullReferenceException: Object reference not set to an instance of an object.] BlogML2Blog4Umbraco.usercontrols.blogml.ReturnPostsInList(String fullfilepath) in C:\Users\Lee\documents\visual studio 2010\Projects\BlogML2Blog4Umbraco\usercontrols\blogml.ascx.cs:260 BlogML2Blog4Umbraco.usercontrols.blogml.btnProcessFile_Click(Object sender, EventArgs e) in C:\Users\Lee\documents\visual studio 2010\Projects\BlogML2Blog4Umbraco\usercontrols\blogml.ascx.cs:82 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
NOTE: Version 1.2.1 seemed to fix this crash. All blog posts were imported, albeit, into a single folder. But that's a very good start!
Hmmm ok, I have only tested this on 4.5 but I'll install 4.0.X and test it next week, can you email me your XML to test it with? lee(the at sign)designagency(dot)co(dot)(uk)
I am still not having much luck. I tried to replace the export.php file and I tried using the RSS2BlogML app. It looked like the export.php didn't make a difference and the app only converted 1 post. When I tried uploading that file that the app generated, I receive an error "System.NullReferenceException:
Object reference not set to an instance of an object."
I am running Umbraco 4.5 with Blog4Umbraco_2.0.26_for_4.5
Please try the updated version (1.2) I have found some BlogML exporters didn't support some attributes - you should not get the 'object not set' anymore.
It looks like version 1.2 is working well! Thanks all for the help!
My only issue now is getting my current Wordpress blog to export properly. I am having to tweak the WordPress BlogML Export
1.0a file. It is producing some strange things when it exports.
Great package, a quick suggestion :)
Hi Lee,
Great package!
It would be good if you added an item to the context menu so that if you right click a Blog it then has an "Import" option. That way the user does not need to type in the Node ID for the blog.
Just a small improvement that I think will make your package even more impressive :)
It's something I thought about building a long time ago and never got around to doing it, I am sure you have just helped a lot of people migrate their blogs to Umbraco, well done!
Chris
Great idea Chris! I'll look at adding that in the next couple of weeks :)
Hi Lee,
You can find information about how to do this on the Wiki:
Tree API to create custom tree applications
Cheers,
Chris
Alternatively, just make it a dropdown that contains the blog nodes from the content tree. Can be problematic when too many packages add stuff to the context menu. It's already quite big.
This looks like a great package! I can't wait to test it out on importing all 1,500+ posts. I was just about to build something like this but it looks like you beat me to it!
Fantastic package. I've been waiting to port my archived posts from GeeksWithBlogs.net to my Umbraco build, now I can. Legen- wait for it... dary! :-D
Thanks :) Please let me know how you get on using it.
Nice package.
I agree with Morten Bock, add nodepicker to choose root node instead of modify context menu.
Unable to import BlogML - crashing after clicking "Import Blogs" button. Our import file does get successfully uploaded to the APP_DATA directory. We're using Umbraco 4.0.x, ASP.NET 3.5 (2.0 framework) on IIS 6, Windows 2003 Server.
Here's the stack trace and I can provide the BlogML file if you would like to test with it (it's under 1MB):
[NullReferenceException: Object reference not set to an instance of an object.]
BlogML2Blog4Umbraco.usercontrols.blogml.ReturnPostsInList(String fullfilepath) in C:\Users\Lee\documents\visual studio 2010\Projects\BlogML2Blog4Umbraco\usercontrols\blogml.ascx.cs:260
BlogML2Blog4Umbraco.usercontrols.blogml.btnProcessFile_Click(Object sender, EventArgs e) in C:\Users\Lee\documents\visual studio 2010\Projects\BlogML2Blog4Umbraco\usercontrols\blogml.ascx.cs:82
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
NOTE: Version 1.2.1 seemed to fix this crash. All blog posts were imported, albeit, into a single folder. But that's a very good start!
Hmmm ok, I have only tested this on 4.5 but I'll install 4.0.X and test it next week, can you email me your XML to test it with? lee(the at sign)designagency(dot)co(dot)(uk)
I am running into issues. How were you able to export your Wordpress blog in the BlogML format and then get it into Blog4Umbraco?
Hey Donald,
I used RSS2BlogML to move mine to Umbraco 4.5.
Hope this helps.
Benjamin
I am still not having much luck. I tried to replace the export.php file and I tried using the RSS2BlogML app. It looked like the export.php didn't make a difference and the app only converted 1 post. When I tried uploading that file that the app generated, I receive an error "System.NullReferenceException: Object reference not set to an instance of an object."
I am running Umbraco 4.5 with Blog4Umbraco_2.0.26_for_4.5
Hi Donald
Please try the updated version (1.2) I have found some BlogML exporters didn't support some attributes - you should not get the 'object not set' anymore.
Let me know if you still have problems
Thanks
Lee
Lee,
It looks like version 1.2 is working well! Thanks all for the help!
My only issue now is getting my current Wordpress blog to export properly. I am having to tweak the WordPress BlogML Export 1.0a file. It is producing some strange things when it exports.
--
Donald
Great stuff :)
is working on a reply...