Unpublished Leech Items
Nigeria - October 28, 2007 - 11:17
| Project: | Leech |
| Version: | 5.x-1.9 |
| Component: | leech |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
We are noticig that a large number of leech news items have the status unpublished.
Why is this and how do we get rid of them automatically i.e. withouthaving to manually delete them
-- Ade Atobatele

#1
Hi Ade,
Are those items coming from leech nodes that are configured to produce unpublished node items by any chance?
Alex
#2
I'm not quite sure what you mean but...
1. The feed is working...items get published ok
2. The feed is set too never delete item (this is because they may have comments)
3. The feed is set to overwrite newer instances of the same story.
-- Ade Atobatele
#3
.. and the feed produces unpublished items?
If you set the feed to update existing items and you set an existing item to unpublished, the item will be published again when it is updated.
#4
1. We are not setting the feed items to unpublished. We are finding them like that.
2. When leeching I was of the belief that if a duplicated feed item was found it was deleted. It seems to say this in the watchdog logs
3. How is a duplicate item and and an item to be updated classified. Are they the same thing?
4. I'm suspecting that if Leech finds an item to be updated it unpublishes the older one and creates the newer. This wouldn't matter unless the feed items were set to never expire (like ours are) as eventually expired published and unpublished feed items would get deleted. Of course if the feed items are set to never expire the unpublished ones would also never get deleted.
5. Any ideas?
-- Ade Atobatele
#5
1. We are not setting the feed items to unpublished. We are finding them like that.
If the feed node is configured to produce published feed items and the feed items are unpublished nevertheless, I have no explanation for this. Could there be any weird interaction of other modules on the installation?
2. When leeching I was of the belief that if a duplicated feed item was found it was deleted. It seems to say this in the watchdog logs
When a duplicate item is found it is just not being created.
3. How is a duplicate item and and an item to be updated classified. Are they the same thing?
A duplicate item is an item that already exists in the same Drupal installation. There can be more than one duplicate.
4. I'm suspecting that if Leech finds an item to be updated it unpublishes the older one and creates the newer.
This is not the case. If it finds an item to be updated, it opens it, updates it, and saves it.
I hope my answers help.