Solved

How can I include individual items from a web data feed?

  • 21 January 2021
  • 2 replies
  • 204 views

Badge +1

I have created several custom feeds from posts in Wordpress to be included in Klaviyo emails. I can see that there is Python ish “slice” notation for including a range of items, but I can’t seem to figure out how I would add individual items from a feed. For example: post 1, 4, 19. Is that possible in Klaviyo?

Thanks for the help, happy to provide more background if it would help!

 

Josh

icon

Best answer by caroline 19 February 2021, 19:43

View original

2 replies

Userlevel 5
Badge +8

Hi there,

Apologies for the delayed response on this. One way to do this is by providing starting and ending indices to the “slice” notation. For example: slice:"0:0" should display the first item in the feed, while slice:”1:1” should display the second item in the feed, etc.

Hope this helps.

Best,

Caroline

Badge +1

Hi Caroline, that does help! Just what I needed, thanks!

Reply