Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mailchimp RSS loop, get index

Tags:

rss

mailchimp

In RSSITEMS loop, I would like to find a way to get an index variable (0,1,2,3,4 for 5 items) so I can display items at different places. I couldn't find a way to do that, so I passed a variable in RSS tag, but I can't access it with conditional tags like *|IF:RSSITEM:COMMENTS_URL = 1|* (it simply doesn't work but I can print the variable without problem (1).

like image 996
guylabbe.ca Avatar asked Nov 01 '22 03:11

guylabbe.ca


1 Answers

Mailchimp support told me it's not possible. Instead, I modified the feed to include 1 item which is HTML with my multiple feeds parsed. I now realize I could have used |FEED:...| merge tag with a standard campaign.

like image 200
guylabbe.ca Avatar answered Nov 17 '22 12:11

guylabbe.ca