Skip to content

Can't access custom tokens, it only gives undefined #166

@chromaloma

Description

@chromaloma

Hi! As the title implies, I cannot access the custom tokens in any rss feed, as it only throws back undefined. Are there any known issues here? So if the rss has a field called idtag, wouldn't this be the way to go? (Edit: I simplified the entryTemplate, as this forum apparently shows code with html.)

entryTemplate:'- {idtag}',
limit: 10,
tokens: {
idtag: function(entry, tokens) {
return entry.idtag;
},
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions