I'm experimenting with uBlogsy 2.1, but it seems like the import function doesn't work properly (at least on my machine). I'm importing the same RSS feed used in this video. But after the import, posts have been created with titles, but they are all empty. No body text, no tags, no nothing.
When browsing the forums it looks like import should work. Do I need to do something special to make it work?
I'm having problems as well. and get the following error:
System.NullReferenceException: Object reference not set to an instance of an object. at uBlogsy.Common.Helpers.RssReader.ParseElement(XmlNode parent, String xPath, String& property) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.Common\Helpers\RssReader.cs:line 197 at uBlogsy.Common.Helpers.RssReader.Execute() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.Common\Helpers\RssReader.cs:line 151
I had a look at the sourcecode to investigate the problem. And something seemd weird to me.
In the CreatePost method in RssImpart.ascx.cs it does not populate uBlogsyContentBody and uBlogsyContentTitle. Also the postDic dictionary is not passed along to the CreateContentNode method,instead it gets a new empty dictionary?!?. So by updateing the code to this:
private Document CreatePost(RssItem item, int parentId)
{
// create post item
Dictionary postDic = new Dictionary();
postDic["uBlogsyPostDate"] = item.Date;
postDic["uBlogsyPostAuthor"] = txtAuthor.Text;
postDic["uBlogsyContentBody"] =item.Description;
postDic["uBlogsyContentTitle"] = item.Title;
Document post = UmbracoAPIHelper.CreateContentNode(item.Title, "uBlogsyPost", postDic, parentId, false);
return post;
}
Just wondering have you fixed that issue in the latest version of uBlogsy (2.1.1.0)? Because import failing even with the feed suggested by you http://feeds.feedburner.com/midcodecrisis and there are other reports here.
Empty blog posts on import
I'm experimenting with uBlogsy 2.1, but it seems like the import function doesn't work properly (at least on my machine). I'm importing the same RSS feed used in this video. But after the import, posts have been created with titles, but they are all empty. No body text, no tags, no nothing.
When browsing the forums it looks like import should work. Do I need to do something special to make it work?
/Regards,
Joakim.
It should work. What is the rss feed you're trying to import?
Are there any errors in the Umbraco log table?
I'm having problems as well. and get the following error:
And I'm trying to import this feed: http://caxtonfxcurrencyblogs.blogspot.com/feeds/posts/default?alt=rss
any sugestions?
I had a look at the sourcecode to investigate the problem. And something seemd weird to me.
In the CreatePost method in RssImpart.ascx.cs it does not populate uBlogsyContentBody and uBlogsyContentTitle. Also the postDic dictionary is not passed along to the CreateContentNode method,instead it gets a new empty dictionary?!?. So by updateing the code to this:
It now works
Sorry.
I cant beleive I let this one slip through.
It's been fixed in the latest version.
Cheers guys.
Hi Anthony,
Just wondering have you fixed that issue in the latest version of uBlogsy (2.1.1.0)? Because import failing even with the feed suggested by you http://feeds.feedburner.com/midcodecrisis and there are other reports here.
Regards
Den
is working on a reply...