ChrisRAoW / mautic-rss-to-email-bundle

Mautic plugin to send emails from RSS
103 stars 23 forks source link

Content Repeats if Items in feed are less than feedItems count #36

Closed ericcumbee closed 4 years ago

ericcumbee commented 4 years ago

I am trying to send out a daily digest of articles for the last 24 hours from my WordPress news site .

I'm generating RSS feeds for each segment using a node script that grabs the posts for the last 24 hours and then generates a RSS feed.

I've noticed that if the number of posts in the feed is less than the count parm in feeditems then a article is randomly repeated. To me the correct behavior would be just to display each item in the feed once.

Where in the plugin is the logic that controls that? I've been reading through the code, but being completely new to mautic, im still not entirely sure what is happening in different parts of the code.

ericcumbee commented 4 years ago

Sorry about that. my node script was the culprit.