Feeds Widget Formatting

When creating a Feeds widget, there are buttons for common formatting fields like {title} and {description}, and I it looks like we can also include other arbitrary fields from the feed by just using the field name, like {category}. Is there any way to include an attribute from a field in the feed? We’re trying to use a feed that places the image URL in a field in the feed like this… <media:thumbnail url="https://path.to-image"/>. I would like to grab that URL to use in the widget format if possible, but I can’t figure out a syntax that works. Is it possible?

Great question! Looks like we currently don’t do anything natively with attributes, but this maybe a good spot to play with using onWidgetFormat to see if that media:thumbnail tag is getting anything useful sent through to it at the module level. If it’s not accessible via onWidgetFormat, it may be that something more involved is needed to translate the RSS feed into something more easily digestible by the feeds widget (we sometimes do this with LiveURL scripts, so a PHP script that processes your results into something more usable lives at /client/modules/foobar/live/foobar.php, and then your feed widget or linked calendar points to /live/foobar to get those results).

Thanks for the suggestions. I ended up going a different route. The feed also included the image as an <img> tag in the description. So I just used a simple JS to move the image out of the description in the widget to the location I want it when the page loads. It works well enough for this case.