Hi all,
I'd like to know if I understand this right: if I use the option "Delete news items older than" my items and relative nodes will be deleted after the amount of time I set has passed, on the next cron run.
What if I just leave the option on "Never delete"?
When the feed gets refreshed, if some items are not anymore in the new feed will they be deleted?
My general situation is as follows:
I have a content type (mapped CCK) that I update through the feed: cars.
The feed comes from an XML file generated automatically, using data from an external database. The XML is updated everyday.
If a car is sold, it is deleted from the car database, so I need to have the same car removed from the Drupal database.
I could use the "Update existing feed items" and set "Delete news items older than" to one day or something like that.
This way, every item would be deleted and I would just import the whole feed again and again.
The problem is that I can't, for the following reason: I have to manually add to each single node some pictures, and if I use the option "Update existing feed items" the pictures will be deleted, as the nodes will go back to the version created by the feed - I'd have to upload the pictures again everyday.
So the point is: it'd be just great if even with "Delete news items older than" set to "Never delete", the feed items not found in the newest feed get deleted.
Does it work this way?
If not, any suggestions on what I could try?
Thanks everyone!
You can see something of what I'm talking about here: http://dev.concessionariafiori.it/usato
Comments
Comment #1
aron novak"When the feed gets refreshed, if some items are not anymore in the new feed will they be deleted?"
No, they won't be deleted.
As i see your use case, you need feedapi garbace collector:
http://drupal.org/node/289100#comment-2273508
Comment #2
smoothk commentedHi Aron,
It looks like the perfect solution.
I'll see if it works and I'll report in the appropriate thread.
Thank you so much!