Duplicate feeds should not be allowed

nmridul - November 28, 2008 - 16:57
Project:FeedAPI
Version:6.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:FeedAPI
Description

When you create a new feed, and if a feed with same url already exists, should not the module disallow creation of the feed ?

Say, I create a feed for http://drupal.org/rss.xml. If I create another feed again for http://drupal.org/rss.xml, the module should practically not allow creation of this feed. Currently I'm able to create 2 feeds and when I run cron, I get duplicate entries.

At the least, the creation of duplicate feeds should be disabled if url is same, content type is same etc.

#1

wmostrey - December 1, 2008 - 13:46

I agree that the same url should not be allowed within the same content type, or that at least it should be configurable to enable/disable this functionality.

#2

alex_b - December 4, 2008 - 21:07

It's easy to create this behavior with a custom validation.

#3

Aron Novak - December 4, 2008 - 21:12

This is enabled because you can create various content-types with different processors, you may want to consume the same info into several places.
Another reason could be that multiple users may would like to create the same URL, because the URL belongs to him.
There could be other use-cases, i just mentioned a few above :)

#4

alex_b - December 4, 2008 - 21:15

Another thought: you can enable cross duplicate feed checking on feedapi_node - this checks for duplicates on all feeds. We use this a lot when creating multi user environments where many users are allowed to add feeds. Everybody adds feeds as they see fit, they can be duplicate, but we won't aggregate duplicate items.

#5

nmridul - October 10, 2009 - 05:20

Maybe you can check the unique_field module for cck for reference. But it works only on node's title, author, language, and CCK fields and not on the feed url field. You may want to modify the module for it to work on feedapi.

--
http://mustwatchvideos.com

 
 

Drupal is a registered trademark of Dries Buytaert.