Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsQuestion about ISearchable integrationQuestion about ISearchable integration
Previous
 
Next
New Post
2/22/2011 12:37 PM
 
I had a repeated item. I deleted it and search items for the module; then I did a re-index and everything looks good now.
 
New Post
2/22/2011 12:40 PM
 
However, re-indexing a second time caused everything to go back to where it was.
 
New Post
2/22/2011 1:07 PM
 
It looks like this is a problem shared between the framework and the announcement module. I found this code in SearchDataStore.vb (part of the framework)

If searchItem.PubDate < objModule.LastModifiedOnDate Then
searchItem.PubDate = objModule.LastModifiedOnDate
End If
If searchItem.PubDate < objTab.LastModifiedOnDate Then
searchItem.PubDate = objTab.LastModifiedOnDate
End If

What this looks like to me ( although I am no vb coder and don't really know the code ), is that the search item's date is set to the later of the date that the module or the tab ( whatever that is ) was last modified. This will presumably be the date that you last entered added a news item.

I'm not sure why this is done; presumably for another component that needs it.

This looks like it makes the syndication for the announcement module unusable. Am I missing something? If so, can anyone suggest an alternative?
 
New Post
8/31/2011 2:52 AM
 
Did anyone get any further with this one? I am seeing the same issue...
 
New Post
9/9/2011 3:44 AM
 
Indeed the PubDate shown in the RSS feed is determined by the logic shown above in SearchDataStore.vb. This means the PubDate will be the maximum date of Announcement-Item-PubDate, Announcement-Module-LastChangedOnDate and Tab-Where-The-Announcement-Module-Resides-On-LastChangedOnDate.

So if you change either the module or the tab (page) after the PubDate of your Announcement-Items, all your Announcement-Items will get the same PubDate of the last change of the module or tab.

  My workaround for this was to manually set the LastChangedOnDate for my announcement modules to an older date then my Announcement-Items PubDates. Therefore I updated the column   LastChangedOnDate in the tables Modules, TabModules and Tabs  for all rows with my announcement module ID's. Then I restarted my portal (to get clean caches), after then I cleared the SearchItem* tables and started a reindex.

After applying this workaround the RSS PubDates where in fact the PubDates of the Announcement-Items and stayed stable on further indexer runs.

Hope is of help to anybody.

Best regards,
Theo
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsQuestion about ISearchable integrationQuestion about ISearchable integration


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out