Hi there,
I’m currently working on a zap to generate a new RSS feed. Working fine… the only action I can’t figure out is: how may I truncate a list of image url’s?
Currently the image line looks like
<enclosure length="0" type="image/jpeg" url="https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151,https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg?q=80&rect=151"/>
But the importer (which will display the image) can’t handle that list of url’s
So I’d like to always get THE ONLY image url without any parameters… e.g.
<enclosure length="0" type="image/jpeg" url="https://img.br.de/16a67c24-212e-4511-aecb-90ff2169a474.jpeg"/>
Any idea or hint how I could solve this?
Thanks so much in advance
Andreas