For my application, I'm aggregating RSS feeds' news items. A person then 'cleans up' the news item and releases them into the web site. RSS items generally require some cleanup due to inconsistent formatting, some feeds have no teasers, etc.

However, when the import module sees the item a second time (i.e. every hour) it overwrites the copy of the item that I've got in Drupal with the external one, causing me to lose all of my edits.

I'm having a little trouble understanding this module's parsing code -- can someone give me a pointer to what I'd change to _not_ overwrite news items that are already in the system? Perhaps this could be a module setting, though I'd be happy just to edit the source directly.

Comments

Bèr Kessels’s picture

Category: bug » feature

There is no setting for this yet. I change this into a feature request, because it surtely looks like a valid feature.

If someone wants to change this, he or she should use a nodepai() hook to set a checkbox saying "edited".
another option would be to set a flag in the serialised node-data field. Each item could then get a flag saying" edited:0 or edited:1.
if its edited:1, the updater should not overwrite the original.

GRegards, Ber

Bèr Kessels’s picture

Priority: Critical » Normal
Bèr Kessels’s picture

Status: Active » Closed (won't fix)

This module is deprecated in favour of http://drupal.org/project/feedparser