Add a Tamper plugin for selecting the first element of an array

Created on 17 November 2020, over 4 years ago
Updated 1 May 2023, almost 2 years ago

Problem/Motivation

Currently GitLab atom feeds lack an updated (or published) element.

So I thought to try a mapping where the most appropriate date is mapped last, with atom:updated overwriting (AFAIU) the date the feed item is published and atom:published overwriting atom:updated, like this;

But that gives the validation error of "Release Date (field_releasedate): Release Date: this field cannot hold more than 1 values."

Is there some way I can work out some date mapping with a feed like this alongside existing mappings? Or should I be trying something else.

(N.b. I have yet to try the atom:published issue patch yet)

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom mxmilkiib

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024