When duplicate posts appear in the RSS feed, the first step is to check for W3C errors in your entries. You can validate your RSS feed at W3C.
If your feed passes W3C validation but duplicate posts still persist, this could be due to the change in the GUID of an existing feed item, which would cause the Applet to trigger again. We have created a workaround using Google Sheets to log feed items and filter duplicates. Just follow these steps:
1. Create a new Applet (refer to our guide for instructions). Head to ifttt.com/create
2. To create a trigger, click the button 'Add', search for the RSS feed service, then press 'Create trigger'.
3. Choose New Feed Item and tnter the URL of your RSS feed.
4. To create an action, press add to the right of Then That, search for and select the Google Sheets - Add row to spreadsheet action.
5. In the "Formatted row" field, enter {{EntryTitle}}. Complete the other fields as appropriate. Then, hit 'Create action' to save the action.
6. To add the , click a query. + sign in between the trigger and action. Add the "Google Sheets - History of rows added to spreadsheet" query. Ensure you specify the same spreadsheet from step 5.
7. Manually add one row of data to your Google spreadsheet. It doesn't matter what you enter; this step ensures the Google Sheets query will return data.
8. Finally, add the following filter code. click the + sign in between the trigger and action.
let title = Feed.newFeedItem.EntryTitle;
let lastTitle = GoogleSheets.recentRowsInSpreadsheet[0].ColumnA;
if ( title === lastTitle ) {
//your action here;
}
Remember to update the action for the skip filter code
This method should effectively identify and filter out duplicate posts in your RSS feed.