dylang / dylang/node-rss

Support for multiple XML tags with the same name

Open
#92 0 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

In `custom_elements`, it would be nice to have support for multiple instances of the same tag. EG: [`dc:creator` allows for multiple instances of it in the XML (as does various items)](http://www.rssboard.org/rss-profile#namespace-elements-dublin-creator):

```
Person 1
Person 2
```

But upon using an array to do so:

```
custom_elements: [
{"dc:creator": authors.map(author => author.name) },
]
```

It only lists a single `dc:creator` XML element

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.