list-card
list-card copied to clipboard
Subfield. multidimensional
Is there a way to select the value? I want the image value as showen below
entries:
- title: 'GGD Utrecht: Derde van besmette Verknipt-bezoekers uit regio had virus al'
title_detail:
type: text/plain
language: null
base: https://www.nu.nl/rss/Algemeen
value: >-
GGD Utrecht: Derde van besmette Verknipt-bezoekers uit regio had virus
al
links:
- rel: alternate type: text/html href: >- https://www.nu.nl/muziek/6148408/ggd-utrecht-derde-van-besmette-verknipt-bezoekers-uit-regio-had-virus-al.html
- length: '0' type: image/jpeg href: >- https://media.nu.nl/m/herxmqdaehck_sqr256.jpg/ggd-utrecht-derde-van-besmette-verknipt-bezoekers-uit-regio-had-virus-al.jpg rel: enclosure
Looking for the exact same answer.
It does not sound possible according to the code but I'm not a js developer. For this it would require the use of something similar to jsonpath, xpath but for objects (??), this way we could select any field inside a nested array of object with the following syntax (for @joeydaal use-case): $.links[type="image/jpeg"].url
.
I also would love this!
See #43 for an solution (made by deam0n)
@Dynamix72 That solution seems to only work that very particular scenario, where the image link is under the href object instead of the hard-coded url object. It wouldn't work for any subfields.
I can see how the feature can be added, but it's significant work and I will look into that later.