I'm having some problem on a site that uses multiple uBlogsy feeds (used more as a news feed).
We have one global news feed and multiple local news pages.
If entering a local feed we load that feed and the global feed. These two are then unisorted before printing it on the view.
My problem is that it seems that the local items get loaded randomly from different local pages.
I thought it was because of the uBlogsy cache, so I did a function to clear the cache items "NoLuceneFallBackGetPostsuBlogsyPosts" and "GetLanding_uBlogsyLanding", but the result is unchanged.
So, basicly what I'm doing is this:
...
ClearCache();
var posts = PostService.Instance.GetPosts(model.Content, tag, label, author, searchTerm, commenter, year, month, day, out count).ToIPublishedContent(true);
ClearCache();
var globalPosts = PostService.Instance.GetPosts(model.StartPage.GlobalNewsPage.Content, tag, label, author, searchTerm, commenter, year, month, day, out globalCount).ToIPublishedContent(true);
posts = posts
.Union(globalPosts)
.OrderByDescending(p => p.GetPropertyValue<DateTime>("uBlogsyPostDate"));
...
Problem with multiple uBlogsy blogs
I'm having some problem on a site that uses multiple uBlogsy feeds (used more as a news feed).
We have one global news feed and multiple local news pages. If entering a local feed we load that feed and the global feed. These two are then unisorted before printing it on the view.
My problem is that it seems that the local items get loaded randomly from different local pages. I thought it was because of the uBlogsy cache, so I did a function to clear the cache items "NoLuceneFallBackGetPostsuBlogsyPosts" and "GetLanding_uBlogsyLanding", but the result is unchanged.
So, basicly what I'm doing is this:
Can anyone, please, help me?
is working on a reply...