Mailchimp RSS feed, get index

In the RSSITEMS loop, I would like to find a way to get the index variable (0,1,2,3,4 for 5 elements) so that I can display the elements in different places. I could not find a way to do this, so I passed the variable in the RSS tag, but I can’t access it with conditional tags, for example * | IF: RSSITEM: COMMENTS_URL = 1 | * (it just doesn’t work, but I can print the variable without problems (1).

+4
source share
1 answer

Mailchimp support told me this was not possible. Instead, I changed the feed to include 1 element, which is an HTML file with several of my feeds. Now I understand that I could use | FEED: ... | merge tag with a standard campaign.

+2
source

Source: https://habr.com/ru/post/1533014/


All Articles