I have a feed created with Google Alerts. Sometimes (not consistently) the items are duplicated when shown in the aggregator block. I have checked the XML source of the feed and that does not have multiple instances. All the instances have the same timestamp.
Comments
Comment #1
edvanleeuwenIn addition: I have checked the Google source in the feed overview list. It contained 598 items. I removed all items and updated the source. After this, the number of items is 20 and everything displays fine.
Comment #2
edvanleeuwenAfter a while the number of items increases. I think that when the number is larger than -say- 1000, the duplicate problem begins.
Any ideas?
Comment #3
edvanleeuwenBump to latest version.
Comment #4
edvanleeuwenI have noticed that the GUID field is empty for the Google feed. Is this normal?
Comment #5
edvanleeuwenThis is to celebrate the first annual without even getting a reply. I think I will change the status in 'won't fix'.
Comment #6
edvanleeuwenOk, I think I have come up with a solution. As I mentioned, the GUID is not available in a Google Alert feed. But there is an tag which is unique.
Thus I have changed the following line in aggregator.module:
$guid = isset($item['GUID']) ? $item['GUID'] : '';into
$guid = isset($item['GUID']) ? $item['GUID'] : (isset($item['ID']) ? $item['ID'] : '');I will now try this for a couple of weeks to check if it suffices.