Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
I would like to allow users to add their own RSS feeds, I want to use Drupal 7.x Feeds for this. The thing that I cannot figure out is how I can check if an URL already exists and give a warning message to the user when it does. The problem I have is that users now can add their own URL to a RSS feed, and in some cases that URL already might exist.
I tried setting the URL to unique in the Feed Mapping but that doesn't do what I want.
Comments
Comment #1
MegaChriz CreditAttribution: MegaChriz commentedSame issue, but for the D6 version: #2199981: Unique Feed URL
Comment #2
blogook CreditAttribution: blogook commentedI created my own module to perform a check. The check must be done in presave bcs during validation the Source feed is not altered by Feeds yet. Now, if anyone knows a nice way to set an error and go back to the form, that would be fantastic :)